Testing on Android

Appium drives the automation of Android applications using the UI Automator bundled with Android SDK. The process is quite similar to testing on iOS.

Appium works as an HTTP server and receives the commands from test scripts over JSON wire protocol. Appium sends these commands to the UI Automator so that they can be executed on the app launched in an emulator or real device. While doing so, Appium translates the JSON commands into the UI Automator Java commands that are understood by Android SDK. This process is shown in the following diagram:

Testing on Android

When a command is executed against the app on the emulator or device, the target app sends ...

Get Learning Selenium Testing Tools with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.