Using the Mailosaur API, you can write SMS tests using common frameworks like Cypress, Playwright, Selenium, and Robot Framework, as well as in popular languages, using our SDKs for SMS testing.
How it works
Testing SMS messages is as simple as:
- Assign a phone number to one of your inboxes.
- Send SMS messages to that number, just as you normally would.
- Use the Mailosaur API to create end-to-end tests using the extracted content.
Testing SMS messages
Using Mailosaur's client libraries, you can fetch SMS messages with just a few lines of code.
The code for automating SMS tests is almost identical to testing emails.
Next
Test phone numbers