Advanced User Interactions | Automating Keyboard press events

Quick Reference for key-press automation In the Previous Tutorial, we learned to automate drag-drop operations. In this tutorial, we’ll learn ways to automate different keyboard press events. Automating a use case for keypress Go to Automation Practice (Beginner) page Press ‘SHIFT’ and then enter values in the input box to simulate typing in upper-case. Press Ctrl-a to …

Read moreAdvanced User Interactions | Automating Keyboard press events

Advanced User Interactions | Performing drag and drop operations

Quick Reference to perform drag-drop In the Previous Tutorial, we covered the following – Introduction to Actions class Action interface Using moveToElement() method to move the mouse over an element Methods build() and perform() In this tutorial, we’ll learn to perform mouse drag-drop operations. Use dragAndDropBy() method to drag a slider from left to right by …

Read moreAdvanced User Interactions | Performing drag and drop operations

Advanced User Interactions | Introducing Actions and moving the mouse over an element

In the Previous Tutorial, we learned to execute a piece of Javascript through WebDriver. In this tutorial, we’ll learn some advanced user interactions. What is advanced user interactions? Sometimes we need to interact with our system’s mouse or keyboard to simulate user interaction. For instance, let’s say, in a web application, there is a menu bar. On …

Read moreAdvanced User Interactions | Introducing Actions and moving the mouse over an element