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

Last updated: Mar 19, 2020 14:56

Note: In preparation for the Flash end-of-life (EOL) at the end of 2020, we have made a new solution available that replaces the Perfecto native automation commands clean device, reboot device, and get network settings. For details, see Create, execute, and schedule maintenance scripts (Perfecto IDE alternative).

Command: network.settings

Subcommand: get

Supported Platforms: Native, UFT, Selenium, Appium

Supported OS: Android, iOS

Retrieves the network settings and can insert its value into a defined variable. Use the Property parameter to specify the network setting to retrieve.


Returns the status of the network settings properties wifi, data, and airplane-mode for both Android and iOS devices.

This method returns information regarding which of these are enabled/disabled:

  • WiFi,
  • Data (only valid for devices with a valid SIM card installed),
  • Airplane Mode.

Note: If Airplane Mode is enabled then Data will be disabled.


 * Mandatory parameter

Request & Response

JSON Response
  "reason": "Success",
  "timer.elapsed": "109",
  "returnValue": "{airplanemode=true, wifi=false, data=false}",
  "testGridReportUrl": "[0]=john@perfectomobile.com_controller_16-11-08_09_26_26_940",
  "description": "Success",
  "timer.system": "109",
  "completed": "true",
  "flowEndCode": "SUCCEEDED",
  "executionId": "john@perfectomobile.com_controller_16-11-08_09_26_26_940",
  "timer.ux": "0",
  "singleTestReportUrl": "",
  "reportKey": "PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml",
  "timer.device": "0"