

UDID in iOS and DeviceName for Android are optional if we connect with only 1 device, but when it comes to multiple devices and emulators DeviceName is really mandatory else Appium bootloader will pick based on Platform Version. How to configure Appium with Jar file in Eclipse AppiumDriver is an interface which provides all the implemented methods through AndroidDeriver and iOSDriver.As its name depicts, AndroidDriver will be further instantiated to perform the testing operation on Android devices, whereas, iOSDriver used to perform testing operations on iOS devices. Let us create new class with name as 'AppiumChromeExample.java' and we will add selenium jar to the project. Points to Remember: The capability AutomationName is optional, but it is always a good practice to mention this capability. If not done, Please refer this How to Connect Real Android device To PC by enabling USB debugging modeĪnd also I assume you are already familiar with Eclipse, TestNG and Selenium, as we will use them to run Appium automated tests on Android Real device in the below example. Configure Device with Developer Mode option enabled. Appium’s Pros and Cons: Pros: The beauty of Appium is that, all the complexities are under the hood of Appium server and for an automation developer the programming language and the whole experience would remain same irrespective of the platform he is automating (iOS or Android).

If not done, Please refer this Install AppiumĤ. If not done, Please refer this Install Android tutorial.ģ. Android should be installed and path should be setup in your machine. I Assume all the below Prerequisites are installed and configured :-Ģ.

Once device and app are configured, we can run our tests on that device by passing the desired capabilities.
APPIUM TUTORIAL FOR ANDROID ON ECLIPSE APK
To execute Appium tests on Real device, we need to make sure that device is connected to PC and has Developer Mode option enabled. On clicking in the Android button, it will list down the ‘Android Settings’ Select the apk path Package and Activity will auto filled or else you can find the details of the apk from the ‘ApkInfo’ installed in he device.
