DEV Community

Discussion on: How to test emails with Selenium

Collapse
 
dinsmoredesign profile image
Derek D • Edited

How does your service handle rendering emails? The hardest part about designing emails (IMO), is making sure they actually look the same between services (rendering is often wildly different between Outlook, Outlook web, Gmail, Yahoo, Zoho, etc, not to mention, mobile). Unless you're sending huge emails out with lots of content (which seems like a bad idea) or just need to test that the email was actually sent, I don't know how you'd write tests against these that didn't require still sending it to multiple other services?

Collapse
 
liviufromendtest profile image
Liviu Lupei

Hi Derek, our Endtest Mailbox service renders the HTML of the emails in a web page. You're able to access that web page with any browser or mobile device that you want.
You can also click on any element from that email, either manually or in an automated test.
This helps users ensure that their emails are sent and that certain flows are working (such as clicking the link in an email to confirm an account).
Opening that email with different email clients is not a use case that we currently support.