Testing email and SMS with Robot Framework in Python
Recommended setup
- Install Robot Framework and your Python dependencies.
- Configure the MailSlurp API key as an environment variable.
- Use helper keywords to create inboxes and wait for messages.
- Isolate test data by creating new inboxes per scenario or test run.
Common test flow
- Create inbox
- Trigger app action that sends email/SMS
- Wait for message with bounded timeout
- Assert message content and links/codes
- Cleanup resources where needed