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 #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 #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 #24 – Click Web Element by Link Text or Partial Link Text

In this Robot framework tutorial we will learn how to find selenium WebElement by its LinkText or PartialLinkText and use it to perform actions using Robot framework automation.