Selenium Interview : How will you perform drag and drop using WebDriver?

How will you perform drag and drop using WebDriver? Answer: We can use Actions class. The sample code is as follows: Actions act = new Actions(driver); WebElement source = driver.findElement(By.xpath(“ —–”)); //source element which you want to drag WebElement target = driver.findElement(By.xpath(“ —–”)); //target where you want to drop act.dragAndDrop(source,target).perform();

Read More »

Selenium-online-training

Selenium online training You can register for Selenium online training by sending an email to “seleniumonlinetutor@gmail.com” and mention your name , contact number. Selenium online training details: Upcoming batch Start date: 15 March 2017 at 8 a.m Duration for Selenium training: 6 weeks Online classes duration: 1 to 1.5 hrs thrice a week Timing: 8 […]

Read More »

Core Java for Selenium

Java for Selenium video. Click here. Java for selenium String class in java Part1 String class in java Part2 Declaring Classes class SeleniumTestClass { // field, constructor, and // method declarations } This is a class declaration. Tester can provide more information about the class, such as the name of its superclass, whether it implements […]

Read More »