We have a long running QTP test. On the completion of the test we want to automatically re-start the machine where the test was running. One way to do that is using an recovery scenario in the QTP test. Is there a better way to restart the machine using an QTP command line.
If you use Quality Center, there is a System Test that you can set up to restart the machine. It's fairly straitforward, especially if it is the last test in your test set. If you use the restart during your test, you need to set up the auto-login. This is documented in the Quality Center documentation.
<font color="green">"We need a QT Pro guru to spend extra time learning everything possible about QT Pro. So who has cracked open the User Guide?"</font>
<font color="blue">"I have"</font>
<font color="green">"Good! You are now the QT Pro guru. Go forth and automate."</font>