Get Selected Radio Button
Description
Get the names of a selected radio button inside a radio button group or get the status of a particular radio button specified.
Properties
Input
-
Delay After – Delay time, in milliseconds, after executing the activity. By default, it is set to 300 milliseconds.
-
Delay Before – Delay time, in milliseconds, before the activity begins execution. By default, it is set to 200 milliseconds.
-
Type – Specify the Operation to perform on the identified Radio-Button element
Type | Description |
---|---|
Group | Gets the name of the selected radio button in the specified group of buttons Note: You can group the radio buttons by adding one or more radio-button elements during the element selection process |
Single | Get the status of the specified radio button |
-
Window Title – Holds the title of the window identified through Window Selector. You can also type in the title to identify the window for automation.
-
Window Instance - Holds the window instance identified through Window Selector. You can also type in the window instance for automation.
-
Search Parameters – Holds the information of the UI element identified through Element Selector or Group Selector.
Misc
-
DisplayName – The display name of the activity.
-
Private – If selected, the variables and argument values will no longer be logged at the Verbose level.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
Note: If this activity is present inside the Try-Catch block, and the value of this property is True, no error would be caught.
Output
-
Is Checked - status of the particular radio button. True if checked, otherwise False.
-
Selected Radio Button - the name of the selected radio button in the group
Example
Download Example (VB)