Hi,
In my opinion, it's not recommended to restart the testcase like this because it may break the test flow and hence the report is most probably not written? But I can be wrong and you just found a bug in Ranorex? Anyway, I never saw using code like this to restart the TC and there were couple of discussions on that subject in the past.
Restart current testcase
Re: Restart current testcase
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Restart current testcase
Hi,
This post is very old but for thus like me who wanted to know the response to the question.
In order to add the logs to write in the report when you start manually a test case, add:
jeff
This post is very old but for thus like me who wanted to know the response to the question.
In order to add the logs to write in the report when you start manually a test case, add:
TestReport.BeginTestCase("you test case"); test_case.Run(test_case.DataContext, false); TestReport.EndTestcase(); TestReport.SaveReport();Regards,
jeff