How it works
- The agent requests the project’s test phone number (provisioned automatically on first use)
- Enters that number in the app to trigger the SMS
- Waits for the SMS to arrive
- Reads the message, extracts the OTP code or link
- Continues the test (enters the code, clicks the link)
Saving it as a test account
In Project → Test Accounts → Add Credential, pick Phone / SMS OTP and give it a name. This saves the project’s number as a regular test account, so you can select it on login steps in your test plans just like any other credential. The agent fills the number into phone fields and reads the incoming verification code automatically. To see what the number received, click View messages on the phone credential in Test Accounts.Notes
- Numbers are US or Canadian (+1). If your app restricts sign-ups by country or carrier, whitelist the test number in your test environment.
- SMS delivery usually takes a few seconds; the agent polls and continues as soon as the message arrives. If the SMS never arrives, the step fails and the run reports it as a bug.
- The agent never guesses verification codes. If a code does not arrive or the message is missing the code, the step fails.