Hi,
I'm using the Ranorex API in a C# program to click a few things, but I don't want it to generate any report file at all. The reason is that this program will run 24/7 unattended and I don't need the reports, so I don't want the reports to fill the hard drive.
How do I do that?
Thanks
Disable reports entirely
Re: Disable reports entirely
You should be able to set the report level to "None" to disable reporting.
Code: Select all
Ranorex.Core.Reporting.TestReport.Setup(ReportLevel.None, null, false);
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...
Ciege...
Re: Disable reports entirely
It's working, thanks a lot.
Re: Disable reports entirely
Cool! You're welcome...
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...
Ciege...
-
- Posts: 1
- Joined: Mon Oct 05, 2015 12:16 pm
Re: Disable reports entirely
Hi,
in Version 5.4.2 the following command doesn't work:
Ranorex.Core.Reporting.TestReport.Setup(ReportLevel.None, null, false);
There are still log's created.
Where can I totally switch off any log-files? Or can I redirect log's into a Database (MS SQLServer)?
Greetings from Germany
in Version 5.4.2 the following command doesn't work:
Ranorex.Core.Reporting.TestReport.Setup(ReportLevel.None, null, false);
There are still log's created.
Where can I totally switch off any log-files? Or can I redirect log's into a Database (MS SQLServer)?
Greetings from Germany
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Disable reports entirely
Hello Remensperger,
Please follow the steps below to disable the report.
1) Open the test suite properties
2) Disable the report and apply the change
In order to store Ranorex Reports to a database you could create a custom logger class and attach it to the Ranorex report engine.
For more information on this topic please have a look at the blog post Customizing Ranorex Reports.
More information about reporting in general can be found in the user guide.
Regards,
Johannes
Please follow the steps below to disable the report.
1) Open the test suite properties
2) Disable the report and apply the change
In order to store Ranorex Reports to a database you could create a custom logger class and attach it to the Ranorex report engine.
For more information on this topic please have a look at the blog post Customizing Ranorex Reports.
More information about reporting in general can be found in the user guide.
Regards,
Johannes
You do not have the required permissions to view the files attached to this post.
Re: Disable reports entirely
Try
Ranorex.Report.Setup(ReportLevel.None, null, false);
Aracknid
Ranorex.Report.Setup(ReportLevel.None, null, false);
Aracknid