Definition and Usage
The Set checkbox on web page command is used to instruct the workflow to tick or untick a checkbox on a web page.
Parameters Values
Set parameters
Parameter | Definition |
Web page | Select a target web page. There are 2 commands that can be used to generate a web page variable:
|
Element | Select the checkbox element to tick by capturing a new element or selecting from a previously saved element |
Set as | Choose the checkbox status
|
Advanced settings
Parameter | Definition |
Wait after execution | Wait for a certain period of time (seconds) after the command completes execution |
Wait for element | Wait for a certain period of time (seconds) until the element(textbox) appears |
Error handling
Parameter | Definition |
When error occurs | Select the action to be performed when an error occurs
|
Example
The workflow below will go to www.myntra.com/men-formal-shirts on the built-in browser, save the webpage as a variable named Myntra, and set the checkbox element named "TheSecondCheckbox" as checked on the webpage "Myntra".
Note: The Capture function is not able to capture the right XPath to locate the checkbox element on this website. Please double-click the target element on the Elements tab, enable Customize XPath, and input the valid XPath. To learn how to generate a proper XPath, please refer to the XPath tutorial.
Once you click run, it'll give you the result as shown below.