Skip to main content

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.

note

This activity requires an active display and an unlocked user session to simulate interactions with UI components successfully. For more detailed information, please refer to the relevant section in the Desktop Automation Notes.

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

TypeDescription
GroupGets 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
SingleGet 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

  • Timeout – Specifies the maximum duration the activity will wait for a response to perform the requested operation. A timeout error occurs if no response is received within the specified time. The default timeout is 30 seconds.
  • 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 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)