Legacy | Reset device location
-
Command: location
-
Subcommand: reset
-
Supported Platforms: Native (legacy), UFT (legacy), Selenium, Appium
All commands must be executed using the same framework. Sharing the execution ID between different frameworks is not possible. This means that if you work with a Selenium/Appium driver, you need to call the commands using the Selenium/Appium driver (or, in the case of Reporting commands, through the Reporting SDK that works with the driver) and not as part of a UFT test or another framework.
-
Supported OS: Android
Description
Stops setting the device location. This returns the device to its current actual location. Used alongside the Set device location function
Parameters
Name | Value | Default | Description |
---|---|---|---|
deviceID* | The device for this command. |
* Mandatory parameter
Request & Response
Request
https://mycloud.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-11-09_11_30_56_337?operation=command&securityToken=<your_token>&command=location&subcommand=set¶m.deviceId=9A72917FF7B5109B54FD96C4C56A6C128E23F018
JSON response
{
"executionId": "john@perfectomobile.com_controller_16-11-09_11_30_56_337",
"reason": "Success",
"timer.elapsed": "969",
"testGridReportUrl": "https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-09_11_30_56_337",
"timer.ux": "0",
"singleTestReportUrl": "https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161109/controller_16-11-09_11_30_56_337.xml&ownerId=john@perfectomobile.com&sharingCode=8b1b44f9-986b-4a7a-8214-b9171d6a30a1",
"description": "Success",
"timer.system": "969",
"reportKey": "PRIVATE:controller/161109/controller_16-11-09_11_30_56_337.xml",
"completed": "true",
"flowEndCode": "SUCCEEDED",
"timer.device": "0"}