This blog is for Automation Test Engineers

Sunday, 3 September 2017

How to perform drag and drop



Actions actions=new Actions(driver);
WebElement sourceelement=driver.findElement(By.xpath(""));
WebElement targetelement=driver.findElement(By.xpath(""));
actions.dragAndDrop(sourceelement,targetelement).perform();



0

0 comments:

Post a Comment