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.