Testing older Android apps using Selendroid in Appium
Note that Appium supports the automation of Android apps in 2 ways.
- Using Selendroid for Apps with Android API less than 19
- Using Appium library for latest Android API 19 or more than that
As shown in below image, Appium uses Selendroid to automate the apps running on Honeycomb, Ice Cream Sandwich and Jelly Bean While It uses normal Appium library to automate apps running on KitKat and other latest versions.
If you want to test the Android App with API < 19, you can pass below capability.
DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("automationName", "Selendroid");