MailSlurp logo

Email and SMS testing integrations

Documentation navigation
Search documentation

Find MailSlurp setup guides for browser frameworks, unit test runners, hosted testing tools and workflow platforms.

View MarkdownAgent setup

Use your existing test runner to drive the application and MailSlurp to create inboxes, receive email or SMS, and extract the code or link needed to finish the flow. Start with integration testing for the shared workflow or examples by task for runnable projects.

Browser automation

Framework Guide
Playwright Email verification, SMS and AI extraction
Cypress Cypress MailSlurp integration
Selenium WebDriver email and SMS testing
WebdriverIO WebdriverIO setup
CodeceptJS CodeceptJS integration
Robot Framework Robot Framework setup
TestCafe TestCafe integration

Test runners

Runner Guide
TestNG Java email and OTP testing
JUnit JUnit email tests
Pytest Python email tests
PHPUnit PHP email and OTP tests

For reusable browser flows, follow Page Object Model for E2E MFA testing. It separates page actions from email and SMS waits in Selenium, TestNG and Playwright.

Hosted testing and workflow tools

Tool Guide
BrowserStack BrowserStack integration
ACCELQ ACCELQ integration
ReadyAPI Email and SMS testing with ReadyAPI
SmartBear Reflect Reflect testing
Tricentis Testim Testim integration
UiPath UiPath integration
MuleSoft Anypoint Studio integration

Whichever runner you choose, configure authentication in the runner or server, use bounded waits, and define resource cleanup. For delivery under load, use the load testing guide.