Description
The 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.
Declaration
Sys.Shutdown()
Result | None |
Applies To
The method is applied to the following object:
Result Value
None.
Remarks
Using the Sys.Shutdown
method requires TestComplete to be running with administrator privileges.
Example
To view an example that demonstrates how to use the Shutdown
method, see Shutting Down and Restarting Computer After Test Run.
See Also
Shutting Down and Restarting Computer After Test Run
Sys.Restart Method
aqEnvironment.RebootAndContinue Method