Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GWT table property changing.....Need Help..
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hii all....

i have a GWT application where there is a grid and some text fields on which i can provide value and filter the grid on basis of that value..

Here i need to check the row number coming in grid after a specific search. I have identified the grid-table property by adding it into Object Repository..
Drag-dropped that from OR and affix "RowCount" method provided by QTP on a table...

But i have seen that the table property(index) is getting changed on every run session that's why i am unable to get that rowcount in each case....it is not giving any run time error as that property is also present in my page, but it generating a fail statement that row not matched....This is because the table is not identified properly...The properties which is taking in object repository is "html Tag = TABLE" and the "index = 104"....this index is getting changed in each time....


My code is as follows....


Code:
If (DataTable.Value("Action", dtGlobalSheet )="GridRowCheck" ) Then


    
ExpRow = DataTable.Value("Expected_Rows", dtGlobalSheet )
ExpRow = Cint (ExpRow)
Wait(5)

Rowcame = [b]Browser("B").Page("P").WebTable("2064750").RowCount[/b]
Rowcame = Cint (Rowcame)

  If  Rowcame = ExpRow Then    
    Reporter.ReportEvent micPass, "Row Number Matched - bottom grid", "Proper row number came after selecting row from upper grid"

Else

   Reporter.ReportEvent micFail, "Row number not matched - bottom grid", "Expected row number is::"&ExpRow&" And Row Number Came after selecting from upper grid::"&Rowcame
End If

End If




This code is working properly for the particular run session on which the object of table has been added....But if i close browser and run again, then its not working.....Can any body tell me how to fix this problem??


I need any suggestion on URGENT basis......any suggestion or help will be appreciated...just do me a mail on souvikghosh.diatm@gmail.com

Thanks...
Reply


Messages In This Thread
GWT table property changing.....Need Help.. - by souvikghosh_diatm - 07-07-2011, 06:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing Data in the application newbieny 0 856 07-17-2019, 07:19 PM
Last Post: newbieny
  QTP is not identifying table with column names property but its identifing with index Anuradha B 1 2,849 02-12-2015, 04:00 PM
Last Post: Kirill
Exclamation Need help on Urgent Basis--GWT related problem.. souvikghosh_diatm 7 5,468 02-19-2012, 10:38 PM
Last Post: mwaikar
  GWT Weblist Not Getting Detected in QTP 10 aravind07 0 2,470 11-25-2011, 09:48 AM
Last Post: aravind07
  QTP 10.0 not able to identify object in GWT application. savan 0 2,951 11-09-2011, 11:00 PM
Last Post: savan

Forum Jump:


Users browsing this thread: 1 Guest(s)