After Test Suite Reports

Ask general questions here.
annavamsi
Posts: 18
Joined: Wed Sep 14, 2016 10:55 pm

After Test Suite Reports

Post by annavamsi » Mon Nov 14, 2016 4:35 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: After Test Suite Reports

Post by Support Team » Wed Nov 16, 2016 2:47 pm

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
.
Image