Hi,
in some cases i would like to clear all informations logged up to this point. For this reason i use Ranorex.Core.Reporting.TestReport.Clear(). But my test stops after the Clear()! My SelectedRunConfig is still in best order but my ActivityStack is empty. Why? And if this isn't a bug, how can i restore my ActivityStack or clone it?
Best regards
Ranorex.Core.Reporting.TestReport.Clear() stops Test
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex.Core.Reporting.TestReport.Clear() stops Test
HI UgaAga,
The Clear() method removes the complete activity stack. This method should not be called within the test suite. The TestReport class is designed for creating your own report without using the Ranorex test suite. It should only be called after the SaveReport() if you want to create a new Report.
I suppose the problem is that you are calling the method within the test suite.
Regards,
Bernhard
The Clear() method removes the complete activity stack. This method should not be called within the test suite. The TestReport class is designed for creating your own report without using the Ranorex test suite. It should only be called after the SaveReport() if you want to create a new Report.
I suppose the problem is that you are calling the method within the test suite.
Regards,
Bernhard