Home > Language Reference > Program Flow Functions > Stop

Stop

The Stop function stops current execution.

Usage

Used to stop immediately an execution just after a step in a script and for example analyse how is the application under automation and find why the script does not replay correctly after this step.

Syntax

Stop

Parameter

None.

Remarks

You can stop manually an execution pressing Control + Shift + Pause key combination (script execution stops when the execution of the current line ends).

Example

StartBrowser("IE","www.wintask.com/demos")
Stop   'Lines after this Stop line are not executed
UsePage("WinTask Demonstration Pages")