Skip to content

Switch Network

Function: SWITCH_NETWORK

The SWITCH_NETWORK function manually registers the test device on a named operator network. It turns off automatic operator selection, scans for the available networks and registers on the one named in NETWORK_NAME. If the scan is refused, it tries once more. This function is essential for testing the device's ability to switch between different networks.

Automatic operator selection is restored when the test case ends.

Supported on: Android, Samsung handsets only. Saving a test case that uses it on any other device is refused.

Parameters

Parameter Name Description Example Values Required Default Value
NETWORK_NAME The name of the network to switch to. Network1, Network2 Yes
TIMEOUT The maximum time to wait for the network switch before considering it a failure. Whole seconds, 0-3700. Recommended 45 - 60 Yes
EXPECT The expected result of the network switch attempt. It defines what constitutes a successful network switch. SUCCESS, FAIL Yes SUCCESS