How to get the result of a TestSuite by code
Posted: Tue Jun 30, 2015 9:15 am
Good morning,
Refering to the examples
http://www.ranorex.com/forum/post15640.html#p15640 and
http://www.ranorex.com/forum/force-test ... t4520.html
i want to find out, if there is a way to get the result of a TestSuite by code.
Regards,
Christian
Refering to the examples
http://www.ranorex.com/forum/post15640.html#p15640 and
http://www.ranorex.com/forum/force-test ... t4520.html
i want to find out, if there is a way to get the result of a TestSuite by code.
TestReport.Setup(<ReportLevel>, <ReportName>, true); TestReport.BeginTestSuite("TestSuite"); TestReport.BeginTestCase("TestCase"); TestReport.BeginTestModule("TestModule"); // a Report.Success / Failure / Error ... made here // leads to an adaption of the result generated // within the report, saved as defined in Setup-call above TestReport.EndTestModule(); TestReport.EndTestCase(); TestReport.SaveReport();Is it possible to get the result of the TestSuite, mentioned in the code-comment by code?
Regards,
Christian