Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Dec 15, 2020 23:47

Why This can be a Best Practice:

Mobile devices are not designed by their manufacturers, to be used for extensive automation testing. Your average user will use their mobile device, as a personal device. When using these devices for testing, be it manual or automation, the mobile devices can and will experience quirks. It all comes down to the sheer amount of usage that the mobile devices in the cloud will experience. Remember, unless otherwise specified as a simulator or emulator, these devices in your lab, are Real and Live mobile devices.

What Issues can this Solve:

  • Slowness
  • Unresponsive
  • Low Memory Errors
  • Visual Analysis or Object Locating errors


Implementing a scheduled device reboot solution, may help to reduce if not eliminate these symptoms completely. The following step by step guide details how to perform this.

Step-by-step guide

Create an execution ID:

https://<cloud URL><yourSecurityToken>

(Get the Execution ID generated by the command for use in the following commands)

Open the device:

https://<cloud URL>/services/executions/<executionId>?operation=command&securityToken=<yourSecurityToken>&command=device&subcommand=open&param.deviceId=deviceId

Reboot the device:

https://<cloud URL>/services/executions/<executionId>?operation=command&securityToken=<yourSecurityToken>&command=device&subcommand=reboot&param.deviceId=deviceId

End the execution:

https://<cloud URL>/services/executions/<executionId>?operation=end&securityToken=<yourSecurityToken>

Legacy Steps for Full On Premise Clouds (deprecating):

Step-by-step guide

Create an execution ID:
https://<cloud URL>/services/executions?operation=start&user= <username>&password=<password>

(Get the Execution ID generated by the command for use in the below commands)

Open the device:
https://<cloud URL>/services/executions/<executionId>?operation=command&user=<username>&password=<password>&command=device&subcommand=open&param.deviceId=deviceId

Reboot the device:
https://<cloud URL>/services/executions/<executionId>?operation=command&user=<username>&password=<password>&command=device&subcommand=reboot&param.deviceId=deviceId

End the execution:
https://<cloud URL>/services/executions/<executionId>?operation=end&user=<username>&password=<password>

Please note, it is required to open the device before rebooting.