how to send Junit Report over Email - commandline/testrunner.bat
Project Test run though command line
after testrun junit report file is storing in local, instead of that how to send that report over the email body or attachement
using ReadyAPI 2.6
Please refer to the following topic where a similar question has been discussed:
Tried this but no success,
Appreciate if anyone has any other approach other than creating a Tomcat
Community, any suggestions?
I've some something similar before using powershell and tying into an exchange server. What sort of environment are you working with? What email service do you need to use to send the report out with? Any/all information that you can provide will be helpful.
I am going to assume you are on a Windows machine since you referenced testrunner.bat. If so, do you have access to powershell on that machine? If not, what can you get access to?
Powershell has a built in applet called Send-MailMessage. Here's a link with more information about it : Send-MailMessage
There's a lot of in's and out's to this method of email. Where's your email server? Hosted internally to your environment? Hosted externally by a cloud service? You'll need an account that the powershell script will be able to send as, etc. Here's another good tutorial: Sending email with powershell
I am generating HTML Report using TestRunner.bat
and i am not using any build tool, i wanted to send the HTML report on body of the email