Tuesday, July 20, 2010

How to select radio buttons

For a Windows radio button which is not in a group the following is the syntax:
"Set" method : sets the radio button as the selected radio button.

Window("Flight Reservation").WinRadioButton("Business").Set


For a Windows radio button which is in a group the following is the syntax:
Select Selects the specified radio button from the radio group, replacing the previous selection.

e.g.Browser("Google").Page("Google").WebRadioGroup("meta").Select "cr=countryIN"

No comments:

Post a Comment