Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How to Automate Mouse Actions with Selenium WebDriver
Rating: 4.4 out of 5(55 ratings)
4,715 students

How to Automate Mouse Actions with Selenium WebDriver

All you need to know about automating UI/UX element interactions on webpages using Selenium WebDriver and Java
Last updated 4/2024
English
English [Auto],

What you'll learn

  • Working with Actions Class in Selenium WebDriver
  • How to automate mouse actions using Selenium WebDriver
  • Performing Mouse Hover operation using automation
  • Actions class in Selenium WebDriver
  • Performing Drag and Drop operation using Selenium WebDriver
  • Right-Click, Double Click Operations

Course content

4 sections11 lectures41m total length
  • Mouse Hover6:04

    Learn to automate mouse hover using the actions class in Selenium WebDriver, moving to a menu item to reveal a submenu and click the desired option.

  • Right Click (Context Click)5:21

    Learn to automate right-click on a web element with Selenium WebDriver using the actions class, then navigate the menu with arrows and enter to copy.

  • Drag and Drop5:52

    Learn to automate drag and drop in Selenium using the actions class, switching to the iframe, locating source and target elements by ID, and performing the operation.

Requirements

  • Basic understanding of Java and Selenium WebDriver is required to perform hands on exercises mentioned in this course.

Description

What is Actions Class in Selenium WebDriver?

  • An API that simulates complex Keyboard events and mouse operations.

  • We can build a series of actions using the Action Interface and Actions Class. This process is widely known as Action Chaining.

  • Actions class is also useful in working with complex web elements like - working with pseudo elements - which is very hard to work with usual WebDriver operations.

This course covers:

  • Implementation of Actions class for mouse operations using Selenium WebDriver

  • Automating mouse hover operations

  • Automating drag and drop objects on webpages

  • Automation of resizable elements on webpages

  • Automating context click (right-click) and double click

  • Working with Sliders (slider bars) on webpages

  • Automating multiple key operations (Ex. TAB + F1)

Bonus Sessions:

  • Working with JavaScript Alerts

  • Working with Prompt Box

  • Working with Confirmation Box

To get the maximum benefit from the course, please take a look at following steps explaining 'How to take this course?'

Step 1:  Schedule 30-45 minutes of your time daily for 5 days a week. 'Continuity' is the key.

Step 2:  All sessions are divided in small videos of less than 20 minutes. Watch 2-3 videos daily.

Step 3:  Hands-on exercise is very important. So, immediately try out the programs discussed in the session. Try them on your own. You can download these programs from lecture resources.

Step 4: Assignments with answer keys are provided where-ever necessary. Complete the assignments before jumping on to the next sessions.

Step 5:  If you come across any questions or issues, please feel free to contact me and I will make sure that your queries are resolved.

Wish you all a very happy learning.

Note: All the course videos are in Full HD. For the best video streaming quality, please adjust the resolution from 'settings' at bottom right-hand corner of video player. Choose 1080p or 720p as per your network speed.

Who this course is for:

  • Anyone who wants to learn How to automate mouse actions using Selenium WebDriver.
  • QE Testing Professionals
  • Selenium Testers
  • Automation Test Engineers
  • QE Automation Engineers
  • Automation Aspirants
  • Manual Testing Professionals
  • Software Testing Professionals