How to automate testing of received emails?



  • I'm testing an Email system where I would test a set of received emails to see if the received emails actually displayed as expected.

    This is done for each release of the system. So basically I want to automate this process. When the emails are received, the automated testing process should open each email through the web browser (because emails are typically sent to Gmail account) and validate them.

    Also in the manual testing process, each email is identified by a string in the email content.



  • Disclaimer - I work for the company that made a solution for this scenario.

    mailosaur.com gives you unlimited test email addresses and a fake SMTP server. Each time an email is received, it will parse the html and extract all the links, optionally visit all these links and store the responses etc...

    There's a REST API which allows you to access any property of your email for validaton. We have bindings for Java, .NET and Ruby to make your life as easy as possible.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2