Set Ran
Function: SET_RAN¶
The SET_RAN function is used to set the Radio Access Network (RAN) type on the test device. This function is essential for testing network compatibility and performance under different RAN types.
The selected RAN type is applied on the device before the next test step continues. Use IS_ATTACHED after SET_RAN when the test must explicitly verify that the device attached to the expected network type.
Parameters¶
| Parameter Name | Description | Example Values | Required | Default Value |
|---|---|---|---|---|
| RAN_TYPE | The Radio Access Network type to set. | 2G only, 3G only, 3G/2G Auto, LTE only, LTE Auto, 5G, VoLTE, VOWIFI |
Yes | |
| TIMEOUT | Maximum time to wait for the RAN change before the step is considered failed. | Recommended 45 - 120 seconds |
Yes | 120 seconds when the system default is used |
| EXPECT | Expected result of the RAN change. Use SUCCESS when the device should switch successfully, or FAILURE when testing a negative path. |
SUCCESS, FAILURE |
Yes | SUCCESS |
RAN Type Values¶
| UI Label | API / Internal Value |
|---|---|
| 2G only | _2G |
| 3G only | _3G |
| 3G/2G Auto | _3G_2G_AUTO |
| LTE only | _LTE |
| LTE Auto | _LTE_3G_2G_AUTO |
| 5G | _5G |
| VoLTE | VOLTE |
| VOWIFI | VOWIFI |