There is a WEB Table which is displaying different results at different search queries.
I want to pick the 1st object (Means 1st row) & want its property for result comparison.
Please tell me how can do that...
It is in FOR Loop, so i am taking value of recorded object through Output Checkpoint. In Next iteration of Loop, system is failing to recognize the object, Becasue now different search result is displaying in the WEB Table.
Is there any way that i can have the current properties of the search result in each iteration.
Set oDesc = Description.Create()
Set obj = Browser("List Manager").Page("List Manager").Frame("Frame_2").WebTable(oDesc)
I have used this code: now it is giving an error that there are so many Webtables, unable to creat Unique.....
And this is the Table whose values will be changing after every search result. So i want to pick value of the 1st row & 1st column at runtime....
1. First try adding the object to the object repository and try if the GetCellData is functioning correctly.
To solve the issue of multiple tables coming when we use DB,add few more properties.
oDesc("name").Value="<normally the name would be fixed for the table>"
1. Add the property for innertext
oDesc("innertext").Value="<any unique column name in the table>"
2. If this also gives more than one table...check for a particular Column header by iterating through the tables which you got as a result of using the above step.