Forum Discussion
jose_pita
12 years agoSuper Contributor
Try this:
var obj = Sys.Browser("YOURBROWSER").Page("YOURPAGE").Find(new Array("PROPERTY1NAME", "PROPERTY2NAME"), new Array("PROPERTY1VALUE", "PROPERTY2VALUE"), 30, true)
Use the object spy to check the properties you need in order to find the object correctly.
You can use how many properties you want.
I usually use "ObjectIdentifier" , "Name" and "VisibleOnScreen".
var obj = Sys.Browser("YOURBROWSER").Page("YOURPAGE").Find(new Array("PROPERTY1NAME", "PROPERTY2NAME"), new Array("PROPERTY1VALUE", "PROPERTY2VALUE"), 30, true)
Use the object spy to check the properties you need in order to find the object correctly.
You can use how many properties you want.
I usually use "ObjectIdentifier" , "Name" and "VisibleOnScreen".