multiple reports per run
Posted: Fri Jul 15, 2011 1:12 pm
Hi,
I have C# code running tests, which call Ranorex Repository items and uses Ranorex 3 logging. During the test, I run one test suite few times and generate files with different names each time.
The problem is that those files contain all information that happened before the file, too. For example, in the beginning of the suite I call TestReport.Setup(*parameters*) and in the end I call Report.End() and TestReport.SaveReport(). Then, suite starts again and it starts with Setup call with different file name. But once the whole test is done, the second report contains information from first and second tests, the third one contains information from first, second and third and so on.
Is there any way to prevent this? it doesn't seem like Report.End() does anything here...
I'm running on Ranorex 3.0.4, VS 2010, Windows 7 x64.
Kind regards,
Elena
I have C# code running tests, which call Ranorex Repository items and uses Ranorex 3 logging. During the test, I run one test suite few times and generate files with different names each time.
The problem is that those files contain all information that happened before the file, too. For example, in the beginning of the suite I call TestReport.Setup(*parameters*) and in the end I call Report.End() and TestReport.SaveReport(). Then, suite starts again and it starts with Setup call with different file name. But once the whole test is done, the second report contains information from first and second tests, the third one contains information from first, second and third and so on.
Is there any way to prevent this? it doesn't seem like Report.End() does anything here...
I'm running on Ranorex 3.0.4, VS 2010, Windows 7 x64.
Kind regards,
Elena