Selenium Interview Q&A 2

1)How do perform drag and drop using WebDriver?

Use Action class

Actions act = new Actions (driver);

WebElement source = driver.findElement (By.xpath (“”)); //source ele which you want to dragRead More »

Advertisements

Selenium Interview QA

1. What is selenium webdriver?

WebDriver is designed to provide a simpler, more concise programming interface in addition to addressing some limitations in the Selenium-RC API. Selenium-WebDriver was developed to better support dynamic web pages where elements of a page may change without the page itself being reloaded. WebDriver’s goal is to supply a well-designed object-oriented API that provides improved support for modern advanced web-app testing problems.Selenium-WebDriver makes direct calls to the browser using each browser’s native support for automation.Read More »