Test Object > Methods > Stop Method
Stop Method
Description
Stops the run session.
Syntax
Visual Basic
Public Sub Stop() 
Remarks
To make it possible to stop a run session from an automation script, you must set the argument of the Test.Run method to False. If you choose to do this, make sure that all automation steps following the Run statement can run successfully even before the UFT run session ends.
See Also