Execution Report

Ask general questions here.
rj-nora
Posts: 38
Joined: Thu Mar 11, 2010 3:56 pm

Execution Report

Post by rj-nora » Fri May 07, 2010 4:39 pm

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

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Execution Report

Post by Ciege » Fri May 07, 2010 5:21 pm

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);
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...

rj-nora
Posts: 38
Joined: Thu Mar 11, 2010 3:56 pm

Re: Execution Report

Post by rj-nora » Mon May 10, 2010 6:20 pm

Thanks!! It works ;)