Hello!
I would like to know if an automated test can ve instructed to write its execution report in a location received as argument from the command line? Or if i can tell Ranorex to wirte execution report in i.e C:\user\name\desktop\reports
Thank you
Execution Report
Re: Execution Report
You can put it wherever you want. Use Report.Setup to set the report location.
I use this to set the logfile name and save it to a specific location. I also use it to time/date stamp each report so I do not run into the possibility of overwriting an existing report.
I use this to set the logfile name and save it to a specific location. I also use it to time/date stamp each report so I do not run into the possibility of overwriting an existing report.
Code: Select all
string LogFile = @"c:\temp\Report\" + strDateTimeStamp + @"\My_Report_Name.xml";
Report.Setup(ReportLevel.Debug, LogFile, true);
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...