Setting up a mobile emulators for automation

In this section, we will take up examples of Android and iOS emulators in order to understand the setup required on a Windows machine, so that we can test the mobile applications on different platforms, without using a real device.

We can follow a similar process on a Linux or Mac machine and even for other emulator software with minor changes to commands.

The Android emulator setup

The following is the step-by-step process required to set up the Android emulator on a Windows machine:

  1. Download the Android SDK or the complete Android Studio from http://developer.android.com/sdk/index.html. Note that you need to download according to the required machine configuration, such as 32- or 64-bit.
  2. Now download and ...

Get Mastering Mobile Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.