Forum Discussion
mfoster711
8 years agoRegular Contributor
I gave up on using RebootAndContinue because I had multiple issues with it and never got it to work consistently.
- Some times it simply would not reboot. It would close TestComplete but not reboot
- It would mess up my existing process for automatically logging into the PC for the user
- It would start too fast after reboot and not find a floating license for TestComplete
- Also there were issues not recognizing my network drive after reboot
- I also tried just using Sys.Restart and had issues with it
I created my own process that works much better
- I set the RunOnce registry key in Windows to start a batch file
- I then ran a different Batch file that is setup to reboot the PC after a 10 second delay
- I then exit my script and the PC will reboot
- On startup, the batch file runs but I put a 20 second delay at the beginning.
- After the delay, it simply uses the TestComplete command line options to start my script up again
Related Content
Recent Discussions
- 24 hours agovladd1