Android phone (real device)
Test on a physical Android device, discovered via adb, added as a profile with one click.
A physical Android phone or tablet is discovered automatically and turned into a profile with one click, it doesn't go through the Add-profile dialog.
Preconditions: Developer options and USB debugging enabled on the device; connected via USB (accept the debugging prompt on the phone), or reachable wirelessly.
Create it
- Plug the device in. It appears under Android devices on the Devices page, use the refresh button if it doesn't.
- Details shows what was discovered: model, Android version, state.
- Click Add as profile, the device becomes a regular profile card, named after the model, bound to its serial.
Run it
- Connect the profile card.
- Pick the profile in the test's Run on dropdown and press Run.
Keep the device awake and unlocked during runs, the agent acts on the real screen.
Wireless
No USB: enable wireless debugging on the device, then enter its ip:port in
the field next to Connect wireless. The device joins the list and can be
added as a profile the same way.
A device shown as offline or unauthorized can't be added, reconnect the
cable and accept the debugging prompt on the device.