Reject Call
Function: REJECT_CALL
The REJECT_CALL function is used to reject an incoming phone call on the test device. This function is essential for testing call rejection features.
If the phone is still ringing after the first attempt, the step tries once more. On iOS it can also send a second incoming call to voicemail while a first call continues.
Supported on: Android and iOS.
Parameters¶
| Parameter Name | Description | Example Values | Required | Default Value |
|---|---|---|---|---|
| TIMEOUT | The maximum time to wait for the call to be rejected before considering it a failure. Whole seconds, 0-3700. | Recommended 15 - 60 | Yes | |
| EXPECT | The expected result of the call rejection attempt. It defines what constitutes a successful call rejection. | SUCCESS, FAIL |
Yes | SUCCESS |