Disable logs/reports

Ask general questions here.
Marianne Jacobsen
Posts: 44
Joined: Fri Oct 26, 2007 1:18 pm

Disable logs/reports

Post by Marianne Jacobsen » Wed Nov 25, 2009 10:29 am

I use validation in my C# code with Ranorex - this seems to generate some log/report files. How do I disable this behavior?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Disable logs/reports

Post by Support Team » Thu Nov 26, 2009 5:47 pm

If you want to disable generating report files, specify null for the xmlLogFileName parameter in the Report.Setup call:
Report.Setup(ReportLevel.Info, null, true);
The Validate methods will always generate a line in the reporting. You can, however, filter them when viewing them in the Ranorex ReportViewer or by using your own XSL stylesheet (see following thread: http://www.ranorex.com/forum/report-app ... t1101.html).

Regards,
Alex
Ranorex Support Team
.
Image