Skip to content

Answer Call

Function: ANSWER_CALL

The ANSWER_CALL function is used to answer an incoming phone call on the test device. This function is essential for testing the ability to receive and connect incoming calls.

The step waits for an incoming call, checks that it comes from the expected caller, answers it and confirms that the call went active.

Supported on: Android, iOS and MCM.

Parameters

Parameter Name Description Example Values Required Default Value
A_NUMBER The phone number from which the call is received. Use Anonymous to match a caller whose number is withheld. Custom, Anonymous Yes
TIMEOUT The maximum time to wait for the call to be answered before considering it a failure. Whole seconds, 0-3700. Recommended 15 - 60 Yes
EXPECT The expected result of the call attempt. It defines what constitutes a successful call. SUCCESS, FAIL Yes SUCCESS