Is Call Connected
Function: IS_CALL_CONNECTED
The IS_CALL_CONNECTED function is used to verify whether a call has been successfully connected on the test device. This function is crucial for testing call connectivity and ensuring proper establishment of voice communication on mobile devices.
A call counts as connected only when it is genuinely active. A call that is still dialling, ringing or on hold does not count. The state is read from the device's own call state, not from what is drawn on screen.
Supported on: Android and iOS.
Parameters¶
| Parameter Name | Description | Example Values | Required | Default Value |
|---|---|---|---|---|
TIMEOUT |
The maximum time (in seconds) to wait for the call to be connected before considering the test as failed. Whole seconds, 0-3700. | 10, 30, 60 |
Yes | |
EXPECT |
The expected result of the call connection check. | SUCCESS, FAIL |
Yes | SUCCESS |
Use capital letters
Write SUCCESS or FAIL exactly as shown. Other spellings, such as Success, may not run as intended.