Robot Framework Tutorial #32 – How to handle Alerts in Robot Framework

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

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

* Handle Alert – Handles the current alert and returns its message.

* Input Text Into Alert – Types the given text into an input field in an alert.

* Alert Should Be Present – Verifies that an alert is present and by default, accepts it

* Alert Should Not Be Present – Verifies that no alert is present.

Robot Framework Tutorial #31 – How to handle List in Robot Framework

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

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

Get List Items – Returns all labels or values of selection list locator

Get Selected List Label – Returns the label of selected option from selection list locator

Get Selected List Value – Returns the value of selected option from selection list locator

Select From List By Index – Selects options from selection list locator by indexes

Select From List By Label – Selects options from selection list locator by labels

Select From List By Value – Selects options from selection list locator by values

Select All From List – Selects all options from multi-selection list locator

Get Selected List Labels – Returns labels of selected options from selection list locator

Get Selected List Values – Returns values of selected options from selection list locator

Unselect From List By Index – Unselects options from selection list locator by indexes

Unselect From List By Label – Unselects options from selection list locator by labels

Unselect From List By Value – Unselects options from selection list locator by values

Unselect All From List – Unselects all options from multi-selection list locator

List Selection Should Be – Verifies selection list locator has expected options selected

List Should Have No Selections – Verifies selection list locator has no options selected

Page Should Contain List – Verifies selection list locator is found from current page

Page Should Not Contain List – Verifies selection list locator is not found from current page

Robot Framework Tutorial #30 – How to handle Frames in Robot Framework

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

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

* Select Frame – Sets frame identified by locator as the current frame

* Unselect Frame – Sets the main frame as the current frame.

* Frame Should Contain – Verifies that frame identified by locator contains text

* Current Frame Should Contain – Verifies that the current frame contains text

* Current Frame Should Not Contain – Verifies that the current frame does not contain text

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