Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mobile Test Automation with Appium

You're reading from   Mobile Test Automation with Appium Mobile application testing made easy

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787280168
Length 256 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
 Verma Verma
Author Profile Icon Verma
Verma
Arrow right icon
View More author details
Toc

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 $15.99/month. Cancel anytime
Visually different images