Robot Framework Tutorial #29 – Working with Checkboxes

In this Robot Framework Tutorial we will understand how to work with checkboxes in Robot Framework and the keywords available in 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 locator

* Unselect Checkbox – Removes the selection of checkbox identified by 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

Robot Framework Tutorial #28 – How to handle Radio Buttons

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

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

* Page Should Contain Radio Button – Verifies radio button locator is found from current page

* Page Should Not Contain Radio Button – Verifies radio button locator is not found from current page

* Select Radio Button – Sets the radio button group group_name to value

* Radio Button Should Not Be Selected – Verifies radio button group group_name has no selection

* Radio Button Should Be Set To – Sets the radio button group group_name to value

Robot Framework Tutorial #27 – Working with Webelements

In this Robot Framework Tutorial we will understand how to use Selenium library keywords for working with Webelements in Robot framework automation.

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

* Get Element Attribute – Returns the value of attribute from the element locator

* Get Element Count – Returns the number of elements matching locator

* Get Element Size – Returns width and height of the element identified by locator

* Get WebElement – Returns the first WebElement matching the given locator

* Get WebElements – Returns a list of WebElement objects matching the locator

* Capture Element Screenshot – Captures a screenshot from the element and embeds in log file

* Assign Id To Element – Assigns a temporary id to the element specified by locator

* Clear Element Text – Clears the value of the text-input-element identified by locator

* Double Click Element – Double clicks the element identified by locator

* Cover Element – Will cover elements identified by locator with a blue div

* Click Element At Coordinates – Click the element locator at xoffset/yoffset

* Element Attribute Value Should Be – Verifies element identified by locator contains expected attribute value

* Element Should Be Disabled – Verifies that element identified by locator is disabled

* Element Should Be Visible – Verifies that the element identified by locator is visible

* Element Should Not Be Visible – Verifies that the element identified by locator is NOT visible

* Element Should Contain – Verifies that element locator contains text expected

* Element Should Not Contain – Verifies that element locator does not contain text expected

* Element Text Should Be – Verifies that element locator contains exact the text expected

* Element Text Should Not Be – Verifies that element locator does not contain exact the text not_expected

* Element Should Be Enabled – Verifies that element identified by locator is enabled

* Element Should Be Focused – Verifies that element identified by locator is focused

Robot Framework Tutorial #26 – How to handle Tabbed Browser Windows

In this Robot Framework Tutorial we will understand how to handle tabbed browser windows and the keywords available in Robot Selenium library to interact and handle browser tab windows.

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

Get Window Handles

Get Window Identifiers

Get Window Names

Get Window Titles

Set Window Position

Get Window Position

Set Window Size

Get Window Size

Switch Window

Close Window

Robot Framework Tutorial #21 – Refactor Selenium Webelement Locators

In this Robot Framework Tutorial we will understand how to refactor selenium webelement locators and organise your robot framework project so that it is more maintainable and manageable.

Watch the full robot framework tutorial series to master robot framework automation.