Thursday, July 24, 2008

How to select radio button from a radio group

Set Desc1 = Description.Create()

Desc1("micclass").Value = "WebRadioGroup"

Desc1("html tag").value = "INPUT"

Set Radiobuttons = Browser("Index:=0").Page("title:=Create.*").ChildObjects(Desc1)

NumberOfRadioButtons = Radiobuttons.Count()

If NumberOfRadioButtons <> 0 then

Radiobuttons.Item(1).Select "#" & 0

end if


Regards,

Pavan Kumar Nandagiri........................




Google Search

Google