Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with Webelement's
#2
Not Solved
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,
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
Reply


Messages In This Thread
Need help with Webelement's - by Avis88 - 11-05-2010, 10:36 PM
RE: Need help with Webelement's - by KavitaPriyaCR - 11-08-2010, 11:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)