Last updated: Dec 16, 2019 21:59
Command: network.settings
Subcommand: set
Supported Platforms: Native,UFT,Selenium,Appium
Supported OS: Android
Sets the network settings.
Description
Sets the status of the specified network feature(s) - the wifi, data, and airplanemode parameters.
Parameters
* Mandatory parameter
Request & Response
Request
https://mycloud.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-11-08_09_26_26_940?operation=command&securityToken=<your_token>&command=network.settings&subcommand=set¶m.deviceId=6370E775¶m.airplanemode=enabled
JSON Response
{ "executionId": "john@perfectomobile.com_controller_16-11-08_09_26_26_940", "reason": "Success", "timer.elapsed": "6469", "testGridReportUrl": "https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-08_09_26_26_940", "timer.ux": "0", "singleTestReportUrl": "https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml&ownerId=john@perfectomobile.com&sharingCode=166ca97d-a844-443e-bb78-99da59f69f8f", "description": "Success", "timer.system": "6469", "reportKey": "PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml", "completed": "true", "flowEndCode": "SUCCEEDED", "timer.device": "0" }