Forum Discussion

purushindeed01's avatar
purushindeed01
Occasional Contributor
11 years ago

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...
  • Ravik's avatar
    11 years ago
    rBtnRadioPropName = 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