.exists method
i've a form that has about 100 items and they appear based on some Class, and items could sometimes 50/60 depends on the class code, i want to select if item exists , if not move to next and do the same, i just don't want my script to fail if object not found. is it possible to do it through if then else statement, i'm just not sure what to put in else statement, ex:
if value1.exists then value1.click
if value2.exits then value2.click
and so on
else
End if
End if
if value 2 not found then my test is failing,,i'm new to this ,,, can somebody help me , i just don't want my test to fail.
thanks
In this case, I'd use "FindAllChildren" of the sTable object that match properties for the RadioButtons. This will return an array of objects that you can traverse with a for loop and just go to each object and click on it.