Page 1 of 1

Execution Report

Posted: Fri May 07, 2010 4:39 pm
by rj-nora
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

Re: Execution Report

Posted: Fri May 07, 2010 5:21 pm
by Ciege
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.

Code: Select all

string LogFile = @"c:\temp\Report\" + strDateTimeStamp + @"\My_Report_Name.xml";
Report.Setup(ReportLevel.Debug, LogFile, true);

Re: Execution Report

Posted: Mon May 10, 2010 6:20 pm
by rj-nora
Thanks!! It works ;)