Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to perfom actions on a object if it doesnt have unique property value
#2
Get the childobjects of type button and click accordingly based on the index

for ex
Code:
set allButtons=browser().Page().childobjects(<button type>)
for i=0 to allButtons.length-1
allButtons(i).click
next
If you want to click one button then get the i value and click accordingly.
Hope this helps
Reply


Messages In This Thread
RE: how to perfom actions on a object if it doesnt have unique property value - by ravi.gajul - 12-04-2011, 08:40 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)