02-03-2009, 07:38 PM
Hi,
Add the object in OR...dont forget to add name property for it...
Add the object in OR...dont forget to add name property for it...
Code:
counter=0
While Browser("Book a Flight: Mercury").Page("Book a Flight: Mercury").WebEdit("passFirst0").Exist(2)
counter = counter + 1
Browser("Book a Flight: Mercury").Page("Book a Flight: Mercury").WebEdit("passFirst0").SetTOProperty "name","passFirst"&counter
Wend
MsgBox counter