Mobile Data
Function: MOBILE_DATA
The MOBILE_DATA function is used to toggle the mobile data status on the test device. This function is essential for testing the device's behavior with mobile data connectivity.
On Android, Wi-Fi is switched off first so that data really runs over the cellular network. On iOS this happens only when turning mobile data on.
Supported on: Android and iOS.
Parameters¶
| Parameter Name | Description | Example Values | Required | Default Value |
|---|---|---|---|---|
| STATUS | The status to set for mobile data. | ON, OFF |
Yes | ON |
The step editor pre-selects ON. In an API payload STATUS must be present: a step without it is rejected with 400 ("Missing required parameters"). The OFF that GET /api/v2/functionparams lists as its default is not filled in for you.