The Actions class allows us to build a chain of actions that we would like to perform.This means that we can build up a nice sequence, for example "Press Shift and type and then release", or if we wanted to work with a select that allows multiple selects, we could press Shift and then do the necessary clicks.
We do this by creating an Actions object. We then need to chain some calls together:// Create Actions object passing in a WebDriver object Actions builder = new Actions(driver);
Drag and drop
We have seen that drag and drop is one of the main things that people want to do with web applications. This allows them to build task boards that allow people to drag and drop between different states. You may have seen applications like this if you work in an Agile environment.
Let's try and create a basic drag and drop example using the little bit we already know of the Actions class.
Selenium Related Interview Questions
|SILK TEST Interview Questions||QTP Interview Questions|
|JMeter Interview Questions||Automation Testing Interview Questions|
|Software testing Interview Questions||JUnit Interview Questions|
|TestNG Interview Questions||SAP Testing Interview Questions|
|Selenium WebDriver Interview Questions||Selenium IDE Interview Questions|
|QUnit Testing Interview Questions||Performance Testing Interview Questions|
|Hadoop Testing Interview Questions|
Getting Started With Selenium Ide
Overview Of Selenium Webdriver
Working With Webdriver
Getting Started With Selenium Grid
Advanced User Interactions
Working With Html5
Migrating From Remote Control To Webdriver
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.