11-08-2010, 11:12 AM
Hi Avis,
I had also faced similar scenario sometime before.I am working on version 10 Try this, i am not sure about version 9.5.
please excuse if it won't work for version 9.5,
I had also faced similar scenario sometime before.I am working on version 10 Try this, i am not sure about version 9.5.
please excuse if it won't work for version 9.5,
Code:
For i= 1 To 237
oCount=Browser().Page().WebTable().ChildItemCount(i,2,"WebElement")
For j= 1 To oCount
childObj=Browser().Page().WebTable().ChildItem(i,2,"WebElement",j)
'You can use the table child object as you want here
If (InStr(childObj.getROProperty("html id"),"VA")<>0)
MsgBox childObj.getROProperty("html id")
End If
Next
Next