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 #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 #33 – How to handle Mouse Actions

In this Robot Framework Tutorial we will understand how to handle mouse actions in Robot Framework and the keywords available in Robot Selenium library to handle mouse actions like, mouse hover, mouse out, Drag And Drop, Right click etc.

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

* Mouse Down – Simulates pressing the left mouse button on the element locator

* Mouse Down On Image – Simulates a mouse down event on an image identified by locator

* Mouse Down On Link – Simulates a mouse down event on a link identified by locator

* Mouse Up – Simulates releasing the left mouse button on the element locator

* Mouse Over – Simulates hovering the mouse over the element locator

* Mouse Out – Simulates moving the mouse away from the element locator

* Open Context Menu – Right Click Operations – Opens the context menu on the element identified by locator

* Drag And Drop – Drags the element identified by locator into the target element

* Drag And Drop By Offset – Drags the element identified with locator by xoffset/yoffset.

Robot Framework Tutorial #34 – How to Set Selenium Timeout and Speed

In this Robot Framework Tutorial we will understand how to set Selenium Timeout and Speed in Robot Framework. We will understand keywords available in Robot Selenium library to Selenium execution speed and timeouts.

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

* Get Selenium Timeout – Gets the timeout that is used by various keywords

* Set Selenium Timeout – Sets the timeout that is used by various keywords

* Get Selenium Speed – Gets the delay that is waited after each Selenium command

* Set Selenium Speed – Sets the delay that is waited after each Selenium command

Robot Framework Tutorial #35 – Implicit Wait vs Explicit Wait

In this Robot Framework Tutorial we will understand the difference between Selenium Implicit wait and explicit wait.

We will also understand the advantages and disadvantages of using these waits in your Robot framework script.