Skip to main content

Get Checkbox State

Description

Use this activity to retrieve the current state of a specified checkbox element during automation.

Properties

Input

  • Delay After – Specify the delay (in milliseconds) to wait after the activity executes. The default is 300 milliseconds.

  • Delay Before – Specify the delay (in milliseconds) to wait before the activity starts execution. The default is 200 milliseconds.

  • 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 – The variables and argument values will no longer be logged at the Verbose level if selected.

Optional

  • Timeout – Specifies the maximum time the activity waits for a response to complete the operation. It throws a timeout error if it doesn't receive a response within this period. By default, it waits for 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

Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

Output

  • Check state - State of the specified Checkbox.
TypeDescription
CheckedSpecifies that the checkbox is in a checked state.
UncheckedSpecifies checkbox is in unchecked state.
PartiallyCheckedSpecifies checkbox is in a partially checked state.
NoneSpecifies unable to get the state of the checkbox.

Example

Download Example

Get Checkbox State