Forum Discussion
Hi Will,
I have talked to our developers and found out that the RebootAndContinue method cannot be used within a network suite. We'll add this note to the correponding help topic.
The only way to reboot computers involved in distributed testing is to set the Action after run option to Reboot computer.
To reboot the computers after job execution is over, follow the steps below:
1. Set the Action after run option to Reboot computer for each task in a job.
2. Add the Job.Run method to the test and specify the method's WaitForCompletion parameter to True.
3. Add the Delay method to the test. This method lets you delay the script execution until the computers restart. To know what time period to specify in the method's parameter, you need to know how long it takes for your computers to reboot. This way, you will be sure that the hosts are ready to continue running the tests.
4. Use the Job.Run method to run the next job.
Related Content
- 3 months ago
- 4 years ago
- 6 years ago
Recent Discussions
- 23 hours ago