SMS variables work in the same way as our other built-in step variables. The variables act as placeholders in your instructions and will generate a valid number when the test is executed. 

Similar to the {{random.inbox}} the {{sms.inbox}} is a virtual inbox where text messages are sent to and can be viewed by our testers. 

How to use SMS variables 

Insert an SMS variable to test your app's ability to send text messages to a device. From the list of step variables, choose SMS > {{sms.number}} to send a text message a mobile device.

Example of generated variables

  • Like all other step variables, the SMS number and inbox variables are persistent throughout the test.

Sample Instructions

Enter {{sms.number}} in the cell phone field. Remove the "+1" if the 10 digit number does not fit in the field. Click Send Confirmation. 

  • Do you see a confirmation banner? 

Open a new tab in the browser and got to "{{sms.inbox}}" and click on the most recent message.

  • Do you see the confirmation link?
Did this answer your question?