Aplitools Visual Tests with Genymotion SaaS

Genymotion & Applitools integration illustration

As more and more mobile QA teams are getting rid of manual testing, the need for automated testing is growing. Most teams focus their test automation on Unit, API, Integration, and Functional UI. But an important aspect of your mobile automation testing is Visual testing.

Visual UI Testing is critical to catching unintended visual bugs while updating UI components. Visual bugs are difficult to find using functional tests, which focus on identifying bugs in your workflow. If you haven’t tried visual testing before, you’ll be surprised how many visual bugs you may find with an automated visual testing tool like Applitools. And don’t even think of manually finding visual bugs as it is painfully difficult to compare hundreds of images of your mobile app.

Applitools provides AI-powered visual regression testing of applications and allows you to test cross-platform easily to identify visual bugs. It focuses on the visual aspects of your app and plays a major role in exposing the visual differences between baseline snapshots and both current and future snapshots. Its AI powered end-to-end visual testing and monitoring solution helps developers, test automation engineers, QA professionals, and DevOps teams automatically run visual tests at scale across every app, browser, OS, and screen size.

Applitools allows developers to verify that each UI element in each page appears in the right color, shape, position, and size and that it does not overlap or hide other UI elements.

What are visual bugs?

I’m sure you’ve all played spot-the-difference games in your childhood, and felt like a genius when you spotted all the differences in under a minute. Those games are fun!

Well, Applitools’ visual AI does the same job of finding those visual differences (or bugs) in your mobile or web apps at a much-accelerated speed. See for yourself here.

Here are some examples of visual bugs:

Applitools Visual Tests example
Text blocking buy button on Southwest Airlines website (Source: Applitools)
Search box blocking shopping cart on ThredUp Website (Source: Applitools)

Fragmented Android Market

Due to the fragmentation of Android devices market, Android apps may visually behave differently on different devices and therefore, visual testing becomes even more critical for Android apps. With time-to-market becoming an important factor in improving customer experience, there is even more pressure on the QA teams to run these tests across a vast number of devices in the easiest way possible.

Testing mobile apps on physical devices or using device farms is cumbersome, slow and expensive to manage and is often a deterrent to scaling their tests on as many devices as possible.

To solve that problem, Applitools teamed up with Genymotion to making parallel visual testing far easier for QA engineers.

Genymotion SaaS is a powerful Android emulator on the cloud to run your Appium tests and reduce app’s time-to-market. With flexible per-minute pricing, engineers have the ability to manage their testing costs by scaling up or down the number of devices. With Genymotion SaaS, testers at any level can sign up here and try out our solution on-demand, without a contract.

Applitools and Genymotion SaaS

Our teams decided to work together with Applitools to solve this common problem that users were facing: Test the visual portions of an app on all the Android devices at the same time.

Engineers can parallelize their visual UI tests using Applitools and Appium across all Android Genymotion SaaS virtual devices at once. This allows them to detect bugs as soon as possible and spend less time on test runs.

QA engineers appreciate the ability to test their mobile applications on a large number of Android devices and screen sizes which is hard to scale with actual physical devices. Using Genymotion SaaS virtual devices will speed up their parallel tests even faster. The collaboration between Applitools and Genymotion SaaS allows for faster visual comparison on more configurations while also seeing the previous builds.

This article will show you the steps to take in order to parallelize your Appium tests to perform visual testing and run those tests across a number of Android devices on Genymotion SaaS.

Running Appium visual tests using Applitools on Genymotion SaaS

  1. Write your Appium tests using the Applitools SDK for Appium for taking screenshots for visual testing. You’ll use the udid capability in your tests to define on which Genymotion device you’ll run the tests. This can be known in advance as for Genymotion devices, adb serial is localhost:XXXXX where XXXXX is a port number that can be defined in advance (cf gmsaas below)
  2. Launch Genymotion SaaS devices via gmsaas command line. Read here.
  3. Run visual tests across Genymotion SaaS devices using Appium

For in-depth information on setting up Applitools and Genymotion SaaS devices, and running those tests, we recommend you to read this step-by-step tutorial.

We’ve also put together video tutorials on how to run Applitools visual tests using Genymotion devices.

Try it out and let us know how it goes.

More about Genymotion and Applitools

Find out more about Genymotion, or sign up for a Genymotion SaaS account to get started free with $50 worth of credits now.

Find out more about Applitools. You can read their thoughts on using Genymotion, Appium & Applitools to test Android apps, request a demo, sign up for a free account, and view their Appium tutorial.

Table of Contents

Select Product Portal

SaaS Platform

Access to our SaaS solution and use virtual machines in the cloud on any web browsers.

Or

Or

Desktop Platform

Access to manage your Genymotion Desktop licenses, your invoices and account information.

Select a Cloud provider Marketplace

How to get a quote for multiple Business Licenses?

  1. You need a Genymotion Desktop account. If you haven’t one yet, you can create it here.
  2. After creation and activation, or if you already have an account, follow this link.
  3. Add the number of desired licenses to your shopping cart and click “Continue to Billing”
  4. Add a shipping address, or select one if you already created one.
  5.  In the next page, click “Get a quote”:
    Payment details
  6. A quote will be automatically generated in PDF format.

Genymotion Device Image for Cloud providers
- Private Offer -

Genymotion Device On-premise
- Contact Us -

Genymotion SaaS
- Increase Maximum Simultaneous devices -

Genymotion SaaS Annual Plan
- Get a Quote -

Genymotion SaaS Premium Plan
- Get a Quote -

Personal Use - Free

Genymotion Desktop for personal use is not suitable for trial or POC: you will not get any assistance and some features will be disabled. If you have already selected “personal use” and wish to get a trial license, please contact our Sales at [email protected].

Technical support is not available with Genymotion Desktop free edition for personal use. For more details, please refer to Genymotion conditions of use (Personal Use).

The following features are not available in personal use mode:

Follow these steps to get Genymotion Desktop and activate personal use mode:

  1. Go to the Download page and get the latest version for your system.
  2. Follow the instructions from Genymotion Desktop quickstart guide to install Genymotion Desktop.
  3. Launch Genymotion and click CREATE to create an account. You should receive an activation email within an hour. If not, make sure to check your spam.
  4. After activating your account, return to Genymotion and log in with your credentials.
  5. Select personal use when prompted.
  6. Read Genymotion Desktop quickstart guide carefully to setup Genymotion for your needs.

Indie Plan Application Form

This plan is strictly reserved to individual workers (freelancers, self-employed).

Educational Plan Application Form

The Educational plan is restricted to:

  • schools, teachers or students who wish to use Genymotion Desktop for tuition
  • students who wish to use Genymotion Desktop for a school project

It is subject to valid proof (student card, teacher card, etc.)