Robot Framework Tutorial #29 – Working with Checkboxes

In this Robot Framework Tutorial, we will understand how to work with checkboxes in the Robot Framework and the keywords available in the Robot Selenium library to interact with checkboxes on any webpage.

Some of the keywords that I will explain in this tutorial are:

* Select Checkbox – Selects the checkbox identified by the locator

* Unselect Checkbox – Removes the selection of checkbox identified by the locator

* Checkbox Should Be Selected – Verifies checkbox locator is selected/checked

* Checkbox Should Not Be Selected – Verifies checkbox locator is not selected/checked

* Page Should Contain Checkbox – Verifies checkbox locator is found from the current page

* Page Should Not Contain Checkbox – Verifies checkbox locator is not found from the current page