Hi,
I would like to know if there's an option to continue running test after a PC restart?
Thanks in advance.
Run test in ranorex after a PC restart
Re: Run test in ranorex after a PC restart
Hi,
I'm afraid, there is no out-of-the-box functionality like this in Ranorex. But you can find some suggestions, how to continue with test after windows restart, in this post:
viewtopic.php?f=4&t=8262&p=38921#p33435
The downside of any solution you may probably find is, that even if you restart the test, it will not store the test results in a single report (the one generated before restart). And there is currently no way to merge multiple reports into one.
I'm afraid, there is no out-of-the-box functionality like this in Ranorex. But you can find some suggestions, how to continue with test after windows restart, in this post:
viewtopic.php?f=4&t=8262&p=38921#p33435
The downside of any solution you may probably find is, that even if you restart the test, it will not store the test results in a single report (the one generated before restart). And there is currently no way to merge multiple reports into one.
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: Run test in ranorex after a PC restart
I put a batch file in the Autostart folder (with a delay to ensure the computer has finished housekeeping), that will call the executable of the Test.
The first test case (that will end in a reboot) writes the second testcase (the one after the reboot) in the /tc argument of the call inside that batch file, and a comment about success.
The second testcase verifies the comment of the first, so the Failure or Sucess gets taken into the second report (as there will always be two), and then comments the whole line containing the call for the executable.
The first test case (that will end in a reboot) writes the second testcase (the one after the reboot) in the /tc argument of the call inside that batch file, and a comment about success.
The second testcase verifies the comment of the first, so the Failure or Sucess gets taken into the second report (as there will always be two), and then comments the whole line containing the call for the executable.