I know this will be down to my misunderdstanding, was hoping there would be a helpful soul out there today!
So decided to try to implement email alerts on the testing using the new email sender automation helper, i have it sending the emails fine, but it refuses to attach the report, I always get an alert of:
"The file 'APPNAME_20171002_134314.rxzlog' does not exist. Please make sure the path 'Ranorex.Core.Reporting.ReportEnvironment' is correct. "
I have read a few topics on emailing these reports, and can confirm the report generated in c:\temp\reports (until the environment is in its full time location im saving to the temp folder).
Have also confirmed that the reporting option "Create a compressed copy of the report" is ticked
Apologies for the stupidly easy question!
Automation Helpers Issue (Suspect User Error)
-
- Posts: 9
- Joined: Tue Jan 31, 2017 6:16 pm
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Automation Helpers Issue (Suspect User Error)
Hello LittlestHobo,
I suspect you have changed the default save location of your reports in the Test Suite's report properties. In its current state, EmailModule will only send the reports from the same folder as the build executable. With the small change below on line 42 of the EmailModule code module, you can use a custom report path.
Change the below
to this:
I personally feel the above should be by default, therefore I have requested this to be updated by our team in charge of Automation Helpers.
I hope this helps!
Cheers,
Ned
I suspect you have changed the default save location of your reports in the Test Suite's report properties. In its current state, EmailModule will only send the reports from the same folder as the build executable. With the small change below on line 42 of the EmailModule code module, you can use a custom report path.
Change the below
Code: Select all
zippedReportFile = TestReport.ReportEnvironment.ReportName + ".rxzlog";
Code: Select all
zippedReportFile = string.Format("{0}\\{1}.rxzlog", zippedReportFileDirectory, TestReport.ReportEnvironment.ReportName);
I hope this helps!
Cheers,
Ned
-
- Posts: 9
- Joined: Tue Jan 31, 2017 6:16 pm
Re: Automation Helpers Issue (Suspect User Error)
this is absolutely perfect! Changed this and straight away this worked, thank you so much for the help !!!