Email module does not work all time Automation Helpers Se

Ask general questions here.
Veer
Posts: 1
Joined: Mon Nov 30, 2015 10:55 pm

Email module does not work all time Automation Helpers Se

Post by Veer » Wed Apr 04, 2018 5:57 pm

HI
I Installed "Ranorex Automation Helpers" in my current solution and did placed "EmailModule" under TearDown in testsuite. Ran test suite couple times, sometime the email is sent on Success/Failure, but couple time does not (Not consistant all times). I am not sure where exacly the issue is happening, Please find the attachment for the paramenters and variables used in the databinding.
Attachments
EMailError (002).png
EMailError (002).png (47.37 KiB) Viewed 260 times

SanMan
Posts: 153
Joined: Tue Apr 13, 2010 9:59 am

Re: Email module does not work all time Automation Helpers Se

Post by SanMan » Thu Apr 05, 2018 6:16 am

Hi,

I have used ServerPort: 25. Which one is correct?

I have also few question about email modude:

* SendZippedReportOnComplete: Can I attach *.html format report so it can be opened without Ranorex installed?

* Body: is here possible to add some summary about testrun? And if it can be done, how I can read the result to body?

Thanks in forehand

User avatar
RobinHood42
Posts: 240
Joined: Fri Jan 09, 2015 3:24 pm

Re: Email module does not work all time Automation Helpers Se

Post by RobinHood42 » Fri Apr 06, 2018 3:26 pm

Hi!

@Veer: You set SendEmailOnFailure to false. That means you will only get an email if the test run successfully.

@SanMan: I would suggest asking your email provider which port is the best one for smtp. http://blog.mailgun.com/25-465-587-what ... uld-i-use/
Besides that, I don't think adding HTML is possible, but you can unzip the report and change the files so that they can be shown in your browser.
Take a look at this post: https://www.ranorex.com/forum/export-a- ... tml#p25181

The automation helpers are just C# classes. You can change them so that they fit your needs.

Cheers,
Robin