The program saves the test reports KO and OK in the same folder, but I'd like to check only the reports failed.
Is it possible, for example, to save the reports failed in a different folder? or rename the reports failed?
Thanks
Identify failed tests
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Identify failed tests
Hello dariof,
You could achieve this by adding the following lines of code in your Program.cs file:
Regards,
Markus (T)
You could achieve this by adding the following lines of code in your Program.cs file:
if (error==0) Report.Copy(TestReport.ReportEnvironment, @"C:\ReportSuccess\Report.rxlog"); else Report.Copy(TestReport.ReportEnvironment, @"C:\ReportFailed\Report.rxlog");This method copies the report in your specified folder.
Regards,
Markus (T)