Featured
-
No Featured Found!
Tags
How to perform drag and drop in Appium ?
Drag and drop functionality is a very important functionality and we can easily perform through Appium.
DesiredCapabilities capabilites = new DesiredCapabilities();
capabilites.setCapability("device", "Android");
capabilites.setCapability...
Actions Class[Mouse Actions]
Actions Class[Mouse Actions]
In order to perform exact mouse related operations such as moving a mouse on the menu so that sub menus are displayed or dragging and dropping an element etc, we use Actions Class.
Moving A Mouse Pointer
In o...
How to automate Drag and Drop functionality in Selenium webdriver
The following code should be used:
WebElement draggable = driver.findElement(By.xpath("//Give the xpath"));
WebElement droppable = driver.findElement(By.xpath("//Give the xpath"));
Actions action = new Actions(driver);
action.dragAndDrop(...