Page.GetRadioValue

string Page.GetRadioValue ( 

string GroupID = "",

number Type = RADIOGROUP_VALUE )

Description

Gets the radiobutton value, object name, or text of the selected radio button on the page.

Tip: You can select a radio button on a page by text, value or object name using the Page.SetRadioValue action.

Parameters

GroupID

(string) The ID of the group whose selected radiobutton you want. When an empty string is passed, this is the default radiobutton group of the page.

Type

(number) The type of value you want from the selected radiobutton:

CONSTANT

VALUE

DESCRIPTION

RADIOGROUP_VALUE

0

Get the radiobutton value. (Default)

RADIOGROUP_OBJECTNAME

1

Get the radiobutton object's name.

RADIOGROUP_TEXT

2

Get the radiobutton's text.

Returns

(string) The chosen Type data of the currently selected radiobutton object on the page. If no object is selected, or an error occurs, an empty string is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions