Page 1 of 1

Disable logs/reports

Posted: Wed Nov 25, 2009 10:29 am
by Marianne Jacobsen
I use validation in my C# code with Ranorex - this seems to generate some log/report files. How do I disable this behavior?

Re: Disable logs/reports

Posted: Thu Nov 26, 2009 5:47 pm
by Support Team
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