Execution Report : General Questions

Execution Report

Ask general questions here.

Execution Report

Postby rj-nora » Fri May 07, 2010 5: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
rj-nora
 
Posts: 38
Joined: Thu Mar 11, 2010 4:56 pm

Re: Execution Report

Postby Ciege » Fri May 07, 2010 6: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...
User avatar
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Execution Report

Postby rj-nora » Mon May 10, 2010 7:20 pm

Thanks!! It works ;)
rj-nora
 
Posts: 38
Joined: Thu Mar 11, 2010 4:56 pm


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests