Toggle web element checked
Description
Check or uncheck a checkbox or radio button web element
Input Ports
| Name | dataType | sourceType | required | description |
|---|---|---|---|---|
| Toggle | text | manual-only | true | Toggling options are to check or uncheck a checkbox element. |
| Element selector | text | link-manual | true | The checkbox selector you want to check or uncheck. |
| iFrame selector | text | link-manual | false | If the element is inside of an Iframe, it is mandatory to specify the iframe selector, otherwise the element won’t be found. |
| iFrame type | text | manual-only | false | Option to add more iframes if the targeted element exists in a nested iframe |
Scenarios
- The user wants to check a checkbox web element.
- The user wants to uncheck a checkbox web element.
- The user wants to check a radio button web element.
- The user wants to uncheck a radio button web element.
- The user wants to check a checkbox web element inside of an iframe.
- The user wants to uncheck a checkbox web element inside of an iframe.
- The user wants to check a radio button web element inside of an iframe.
- The user wants to uncheck a radio button web element inside of an iframe.
Use case
It is required to make use of the Launch web browser command.
Inputs
- Toggle:
check - Element selector:
#vehicle1 - iFrame selector:
#iframeResult - iFrame type:
single
Experienced tips
- When no
Element selectorare specified, the command will timeout - When the
Element selectordoes not exist, the command will timeout - When the
iFrame selectordoes not exist, the command will timeout - When no
Element selectoris provided, it will stop the process and throw the following error.Toggle element requires a element selector
Search Tags
wait until website loaded await the process element visible element loaded element hidden