check_box
It is one of the Ui element type which is used to make a decision on web page. selecting or unselecting can make differences in saving the form
A checkbox is a small, usually square or rectangular box with a clear area in the middle.
The checkbox is used to indicate that an item is selected. It can be used to select one or more items from a list, and they can be either checked or unchecked.
Checkboxes are often used in online forms to allow people to choose which items they want included in the form submission.
Automation
When automating a checkbox. we need to think and decide what should be the final status of our checkbox. Because, some checkboxes might come selected at the time of loading the web page. To address this QATTS has a logical mechanism to give the desired result.
Let's understand the inputs for a check box
Pre-Requisite : Saving a UI element and Using in the design !!!
A true / false value should always be provided in the test data.
TRUE : If we want the checkbox to be in selected state. Ignores if already in selected state
FALSE : If we want the checkbox to be in de-selected state. Ignores if already in de-selected state
Note : If there was no value provided in the test data. No action will be performed
Let's see some questions from automation communities. Trouble Shoot
How to configure the advanced options. Properties Library
Last updated