Get Selected Checkboxes
Description
Get the names of a selected checkbox in a checkbox group or the status of a specified checkbox.
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 Checkbox element
Type | Description |
---|---|
Group | Get the names of the selected checkboxes in the specified group of checkboxes Note: You can group the checkboxes by adding one or more checkbox elements during the element selection process |
Single | Get the status of the specified checkbox |
-
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 specified checkbox. If checked: True otherwise False.
-
Selected Checkboxes - List of all the checkboxes in the group with checked state
Example
Download Example (VB)