How to test email communication automated ?

Home Forums Software Testing Discussions How to test email communication automated ?

This topic contains 3 replies, has 4 voices, and was last updated by  Kenneth 6 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21568

    Andreas
    Participant
    @bygones

    HI,

    I would require to use email communication as part of my automated tests. This is, register at the test side, open the sent email to click the verification link and then login etc.

    I found http://qamail.ala.se (https://github.com/naushniki/qamail) and an example https://www.testingexcellence.com/automated-api-testing-emails-karate, but it does not work for me when trying to do it in Java.

    So I was thinking that I cannot be the only person having this issue, so I was wondering, what solutions you are using or which you can point me to ?

    Thank you

    #21598

    Darwin
    Moderator
    @darwin

    Hi @bygones, in order to verify your email, you can implement the above-mentioned process flow with the help of  ‘JavaMail API’. Here is an example to help you with this http://angiejones.tech/test-automation-to-verify-email/

    Mailosaur & Postmarkapp are the alternatives if you like to give out a try but they are not free

    #21711

    Anna
    Participant
    @annaeverson

    Thank you a lot for answer

    #21770

    Kenneth
    Participant
    @weskar

    Send to an internal email server and an email address that you own, manage, control. You need to ensure that when you test that your email is both deliverable and also that you are within the terms of use of any email system you so choose. I always use this software – https://www.atompark.com/manuals/atomic-mail-sender/go-spam/ very easy to manage.

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.