The Stop function stops current execution.
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.
You can stop manually an execution pressing Control + Shift + Pause key combination (script execution stops when the execution of the current line ends).
Stop 'Lines after this Stop line are not executed
UsePage("WinTask Demonstration Pages")