Forget writing test scripts. With modern AI agents, you describe what you want to test in plain English — and the AI figures out how to do it.
A prompt like Test signup on myapp.com, use docmailer for email is all you need. The AI opens a browser, navigates your app, creates a test inbox, fills forms, reads verification emails, and completes the flow. No code, no selectors, no maintenance.
How It Works
AI agents like Claude Code can use multiple tools through MCP (Model Context Protocol). When you mention "email" or "docmailer", the AI automatically uses Docmailer to create inboxes and read emails. When you say "test" or "go to", it uses browser automation.
You don't need to specify which tools to use or how to use them. The AI discovers available tools and chains them together based on your intent.
For a signup test, the AI will:
- Create a temporary inbox via Docmailer
- Navigate to your signup page
- Fill the form with the test email
- Submit and wait for the verification email
- Read the email, extract the link or code
- Complete verification and report results
Example Prompts
Keep prompts simple. The AI fills in the details:
Test signup on myapp.com, use docmailerTest password reset flow on stagingCheck if order confirmation emails workRun through signup and invite flows, report issues
Why This Beats Traditional Testing
No brittle selectors. When your UI changes, you don't update locators. The AI adapts to the new layout automatically.
Natural language. Anyone can write tests, not just developers. QA, PMs, even founders can describe what should work.
Real testing. This isn't mocking. It's a real browser hitting your real app with real email delivery.
Zero maintenance. Tests are prompts. Change them in seconds. No test suite to maintain.
Getting Started
Connect Docmailer and a browser tool to your AI agent:
- Add Docmailer MCP with your API token
- Add a browser tool (Playwright MCP, Browserbase, etc.)
- Start prompting in natural language
Once connected, just describe what to test. The AI handles everything else.