purushindeed01
10 years agoOccasional Contributor
Identifying objects with class name
If one panel in a browser is containg 2 different class object and i want to count one one particular object class and make use of it. Iam attaching an example: here i want to waork on the select ra...
- 10 years agorBtnRadioPropName = Array("ObjectType","Enabled","Visible" )
rBtnRadioPropValue = Array("RadioButton","True",True")
AllRadio =
Sys.Browser("iexplore").Page("google.com,"*")). FindAllChildrenrBtnRadioPropName,rBtnRadioPropValue,10)
for each radio in AllRadio
Name = radio.wndCaption
If Name = "Your Radio button Caption" Then
radio.click
Delay(1000)
Else
log.message ("Radio button not found")
Next