Skip to content

SMS Receive

Function: SMS_RECEIVE

The SMS_RECEIVE function is used to receive an SMS message on the test device from a specified source number. This function is essential for testing SMS receiving capabilities on mobile devices.

Only messages that arrived within the last two minutes of device time count, so the sending step and this step must run close together.

Supported on: Android, iOS and MCM.

Parameters

Parameter Name Description Example Values Required Default Value
A_NUMBER The phone number from which the SMS is received. Custom Yes
SMS_TEXT The text content of the SMS message to be received. Hello, Test Yes
TIMEOUT The maximum time to wait for the SMS to be received before considering it a failure. Whole seconds, 0-3700. Recommended 15 - 60 Yes
EXPECT The expected result of the SMS receive attempt. It defines what constitutes a successful SMS receive. SUCCESS, FAIL Yes SUCCESS