HomeSelenium

New Selenium IDE – Using ‘mouse over’ and ‘mouse out’ commands

New Selenium IDE – Using ‘mouse over’ and ‘mouse out’ commands

Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.

mouse over and mouse out are the commands in Selenium IDE.

The purpose of the mouse over command is to perform mouse the hover action on the given UI element. And the purpose of the mouse out command is to move the mouse outside of the hovered UI element.

In this article, I am going to practically demonstrate mouse over and mouse out commands in Selenium IDE for performing the mouse hover and mouse move out actions on the given element as shown below:

mouse over and out - demo

Let’s get started.

New Selenium IDE – mouse over and mouse out commands

Follow the below steps for practicing mouse over and mouse out commands in Selenium IDE along with me:

1) Let’s write the below code in Selenium IDE to perform the mouse hover and moving out the mouse using the mouse over and mouse out commands:

[su_table alternate=”no”]

Command Target Value
open http://omayo.blogspot.com/
mouse over id=home
mouse out id=home

[/su_table]

After incorporating the commands in the above table, Our Selenium IDE should look like below:

mouse over and out - typing

3) Click on ‘Run current test’ option as shown below:

mouse over and out - run

4) Observe that the test will be passed and the mouse hover and moving out mouse operations will be performed by the mouse over and mouse out commands in Selenium IDE as shown below:

mouse over and out - executed

Here concludes the practical demonstration of mouse over and mouse out commands in Selenium IDE for performing drag and drop operation.

In the next article, I will practically demonstrate another Selenium IDE command.

Next Steps:

  • > Check complete Selenium Tutorial Contents here (Click here)

Please leave your questions/comments/feedback below.

Happy Learning ?

About Me > Arun Motoori

On a mission to contribute to the Software Testing Community in all possible ways.

Refer the article New Selenium IDE – Commands (Selenese), for the complete list of Selenium IDE commands and their practical demonstrations.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

For FREE Testing Tutorials & Videos

X
Open chat
Contact Us on Whatsapp