StopStopwatch

Stops the stopwatch without resetting it.

To restart the stopwatch, use the StartStopwatch statement. To reset the stopwatch to zero, use the ResetStopwatch statement.

Syntax

StopStopwatch()

Example

StartStopwatch()

Window("Report a Bug").EditBox("editboxUsername").SetText("Guest")

Window("Report a Bug").EditBox("editboxPassword").SetText("SoloBug")

Window("Report a Bug").Button("buttonLogin").Click()

StopStopwatch()

elapsedTime = GetStopwatchElapsedTime()

PrintLn("Login time: " + elapsedTime)

ResetStopwatch()