June 2017
Intermediate to advanced
256 pages
5h 38m
English
When you are running a single Genymotion emulator on your machine, you can pass the platform version to the desired capabilities and it will take care. The code for that is as given; customize it for the platform version you have created the emulator for:
capabilities.setCapability("platformVersion", "5.1");
When we are running multiple versions of Genymotion emulator, we need to pass the udid of the targeted device where we want to run the automation:

Here's the code snippet for passing the udid as the desired capabilities:
capabilities.setCapability("udid", "192.168.56.102:5555");
With the Genymotion ...
Read now
Unlock full access