Page 1 of 1

After Test Suite Reports

Posted: Mon Nov 14, 2016 4:35 pm
by annavamsi
Hi,

I have come across a peculiar issue where when i run the tests without Jenkins Continuous Integration i don't see the "After Test Suite" Report section but the same thing i see when i am not running through CI. But there is no settings change in ranorex.

My Program.cs has a finally section which does some log collection.
try
{
SUT.ClearLogs();
error = TestSuiteRunner.Run(typeof(Program), Environment.CommandLine);
}
catch (Exception e)
{
Report.Error("Unexpected exception occurred: " + e.ToString());
error = -1;
}
finally
{
SUT.CollectLogs();
}
Regards,
Vamsi

Re: After Test Suite Reports

Posted: Wed Nov 16, 2016 2:47 pm
by Support Team
Hello Vamsi,

May I ask which version of Ranorex you are currently using? If you're not already using our latest version, Ranorex 6.1.1, please update to this version.

Furthermore, the "After Report Section" does contain all logging information which is done after the TestSuite ends. This of course requires the whole solution to be executed, so executing a single Recording won't activate that "After Report Section"-logging.

Sincerely,
Robert