AppianCheckbox
AppianCheckbox represents a true Appian checkbox. Create it with page.checkbox(...).
Check a checkbox
check() first reads the native checked state. If the checkbox is already checked, nothing happens.
Uncheck a checkbox
uncheck() first reads the native checked state. If the checkbox is already unchecked, nothing happens.
Read the state
You can also set the desired state directly:
Use AppianRadioSelect for radio-button groups.
API
AppianCheckbox
Bases: AppianInputComponent
Represent an Appian native checkbox identified by visible label text.
The component supports the two semantic checkbox structures used by Appian:
- a visible
label[for]linked directly toinput[type='checkbox']; - a boolean field label whose
idis referenced byrole='group'viaaria-labelledby.
Generated Appian CSS classes are intentionally not used for identification.
is_checked
Return the checkbox's current checked state.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
timeout
|
float | None
|
Optional timeout in seconds used only to wait for the checkbox to be attached. Once present, return its current checked state immediately; an unchecked checkbox must not make this method wait for a state transition that was never requested. |
None
|
set_checked
Set the checkbox to checked using idempotent state handling.
Exact matching and visibility
By default, robo-appian uses a visible component whose displayed name or label exactly matches what you provide. Keep exact=True and visible=True for normal business automation. Use exact=False only when you intentionally want a partial name or label match. Change visible only when your scenario specifically requires a component that is not currently visible.
Timeout
timeout is expressed in seconds. Leave timeout=None to use the normal configured wait time, or provide a positive value when this particular action needs a different wait time.
Identify a checkbox group by header
Use header when the displayed heading is the clearest way to identify the checkbox group:
header is the displayed heading used to identify the checkbox or checkbox group.