Automating a mobile web app using Appium

To automate a mobile web app, we need to have a mobile web browser installed on the emulator/device. All android phones generally come with a stock browser installed. For example, Genymotion comes with a stock browser installed and can be used for automation purposes. For emulators created using Android SDK, we need to install the Chrome browser by downloading its install file (.apk) based on the CPU configured for the emulator.

Another way to install the Chrome browser on the emulator is to install it via Play Store. To install Play Store on the emulator, you need to download the following files and install them first:

  • com.android.vending-x.x.xx.apk
  • com.google.android.gsf_x.x.x-xx_minAPIxx(nodpi).apk ...

Get Mobile Test Automation with Appium now with O’Reilly online learning.

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