Page 1 of 1

Disabling Ranorex report from code

Posted: Mon Jul 07, 2014 4:19 pm
by Tnimni
Hi,

All of my code is .cs files.
I don't have a testSuite or any recording module.

I read in lesson 4 and lesson 8 that it is possible to disable reporting from Test Suite Settings dialog.

problem is I don't have a way to access that dialog.

so i would like to disable reporting for one specific project, please advise

Re: Disabling Ranorex report from code

Posted: Thu Jul 10, 2014 3:55 pm
by Support Team
Hi Tnimni,

In order to disable the Report by code you can use the following method:
Ranorex.Report.Setup(Ranorex.ReportLevel.None, null, true);
Please Note: this will only disable the report when your test is written with Visual Studio.

Regards,
Markus (S).

Re: Disabling Ranorex report from code

Posted: Sun Jul 13, 2014 12:25 pm
by Tnimni
Hi,

Thank you!

that will work fine, as it written in VS.