Launching gmsaas : New CLI to automate the lifecycle of Genymotion Cloud Android virtual devices

Run all of your virtual devices from a Continuous Integration (CI) environment, shard your tests on multiple virtual devices, or trash them after the tests are over. And if you are a person of few clicks, manage all your Cloud-running Android devices without opening an Internet browser.

With gmsaas, just log in with your Genymotion Cloud SaaS account and manage all of your Android virtual devices running in the Cloud. You can also start new virtual devices in the Cloud based on any of the default or user-defined devices recipes.

Manage your Android virtual devices from the command line

 

With Genymotion Cloud SaaS, we have always focused on a great user-experience whether it is the speed of starting/stopping devices or adding new widgets. Thanks to its material-based design and a slick UI, it is very easy to get started and run Android tests using Genymotion Cloud.

And if you are a Test Engineer or a Developer who wants to automate the start/stop of your virtual devices from a Continuous Integration (CI) environment using a command-line tool, until now you could only use gmtool which was shipped with Genymotion Desktop and had several limitations when used to access Genymotion Cloud.

Clearly, this wasn’t the user-experience we were going for, and we’ve been working on creating a new command-line tool to replace it.

Last week, we launched gmsaas – a new command-line tool that allows you to start/stop Android virtual devices on Genymotion Cloud without the limitations of gmtool!
This new command-line tool is designed to easily interact with your Android virtual devices, hosted on our SaaS solution.

There are three main advantages of using gmsaas:

  • It is a lightweight binary distributed from PyPi. Easy to install, easy to update!
  • No need to install Genymotion Desktop application
  • No need for Genymotion Desktop license registration

Getting started

 

Requirements

Install step

pip3 install gmsaas

Configuration step

set the path to your Android SDK folder with:
gmsaas config set android-sdk-path <pathToThatFolder>


Playing with gmsaas

 

Log in to your Genymotion Cloud SaaS account with gmsaas
gmsaas auth login <yourGenymotionCloudSaaSEmail>

List all Android virtual device recipes shared in the Cloud
gmsaas recipes list

Start an Android virtual device in the Cloud
gmsaas instances start <recipeUUID> <instanceName>
Note: the <instanceUUID> is printed on standard output.

Make a virtual device usable with adb
gmsaas instances adbconnect <instanceUUID>

List all your Android virtual devices running in the Cloud
gmsaas instances list

Stop an Android virtual device running in the Cloud
gmsaas instances stop <instanceUUID>

gmsaas is our first step to bring Cloud-running Android virtual devices to the masses… well, at least to the tech masses!

Subscribe here and be the first to know about the upcoming releases of Genymotion Cloud SaaS.(hint: we’ve got something special coming soon!)

Get Genymotion Cloud SaaS updates


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

Genymotion Device Image for Cloud providers
- Private Offer -

Genymotion Desktop for Business
- Get a Quote -

Genymotion SaaS
- Increase Maximum Simultaneous devices -

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.