Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mobile Test Automation with Appium

You're reading from  Mobile Test Automation with Appium

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787280168
Pages 256 pages
Edition 1st Edition
Languages
Author (1):
Nishant Verma Nishant Verma
Profile icon Nishant Verma

Emulator


An emulator is an application that emulates a real mobile device, which lets you prototype the app under development or allows you to test out the app without actually buying a physical device. When we install Android SDK, we can create emulators based on the available API level, CPU, and RAM. We learned how to set up an Android Virtual Device using Android SDK in Chapter 2, Setting Up the Machine. We also briefly learned about the emulator and how to download one virtual device.

In this chapter, let's take a detailed look into Genymotion, which provides Android emulators that are faster and better performing compared to Android SDK:

To install app on the Genymotion emulator, the normal adb commands will work fine, as shown:

adb install /path/to/app/<app_name>.apk

If the app under test is dependent on Google Play, we need to perform these steps:

  1. Look for the Google Play Store APK, com.android.vending-x.x.xx.apk, for the device API level and install it.
  2. Flash the emulator with the...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}