Sys.Shutdown method logs off the operating system and then shuts down the computer. You can call this method at the end of your test to shut down the computer after the test run.
The method is applied to the following object:
Sys.Shutdown method requires TestComplete to be running with administrator privileges.
To view an example that demonstrates how to use the
Shutdown method, see Shutting Down and Restarting Computer After Test Run.