Skip to main content

Set checkbox state in window

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

This command allows you to check, uncheck, or toggle the state of a checkbox in a window. It provides a way to interact with checkbox elements in application interfaces by changing their selection state according to your automation requirements.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Element

Select or capture an element to operate on

UI element

Yes

Use the Capture button to select the checkbox element

Set as

Specify the state to apply to the checkbox

Checked, Unchecked, Toggled

Yes

Select the desired state for the checkbox

Advanced settings

Parameter

Description

Possible Values

Required

Options / Notes

Wait after execution (s)

Wait for a specified number of seconds after the action is executed

Numeric value

No

Default: 1 second

Element timeout (s)

Wait time for element to appear (seconds)

Numeric value

No

Default: 20 seconds

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

Fields marked with {x} icon can accept variables from previous steps. You can insert variables when specifying wait times or element properties. This allows you to make your automation more dynamic by using values calculated or retrieved earlier in the workflow.


Notes

  • Make sure the checkbox element is visible and accessible in the UI when this command is executed.

  • If the element is not found within the specified timeout period, an error will be triggered.

  • The "Toggled" option will reverse the current state of the checkbox (checked β†’ unchecked, unchecked β†’ checked).

  • This command works with standard checkbox UI controls across various applications and web interfaces.

Did this answer your question?