limited time offer

Appium Automate Native Android App Interview Questions

Showing 1 - 4 of 4 results

How to handle progress bar in Android app using Appium ?

Using the TouchAction class we can handle the progress bar. Below is the code for the same:-

TouchAction action=new TouchAction((MobileDriver)driver);
action.longPress(ElementOption.element(source)).moveTo(ElementOption.element(source,250,250)).release().perform();

How to handle drag and drop in Android App using Appium ?

Using the TouchAction class we can handle drag and drop. Below is the for the handling of drag and drop:

TouchAction action=new TouchAction((MobileDriver)driver);
action.longPress(ElementOption.element(source)).moveTo(ElementOption.element(target)).release().perform();

Mention the method with which you can scroll down in Android App?

With the help of the scroll() method, you will be able to scroll down in App. Also such a method will help you to automatically scroll until the specific text is not match.

TouchActions action = new TouchActions(driver);
action.scroll(element, 10, 100);
action.perform();
Subscribe to Appium Automate Native Android App Interview Questions