ZenoTest
ZenoTest — Windows Desktop UI Testautomatisierung für Qt, WPF, WinForms & native Apps. Aufzeichnen, skripten und automatisierte GUI-Tests mit CI/CD-Integration ausführen.

TimerStop

void TimerStop(String name = "Default")

Description
Stops the timer with the specified name and logs the elapsed time in milliseconds.
If no matching timer exists, a warning will be logged.

If name is omitted, the default timer ("Default") will be stopped.

This method also returns the elapsed time as an int,
so you can use it in comparisons or verifications.

Parameter
- name - (optional) The name of the timer to stop.

Example
void main()
{
    TimerStart();
    Sleep(300);
    int duration = TimerStop();
    VerifyLess(duration, 400);

    TimerStart("DataLoad");
    Sleep(100);
    TimerStop("DataLoad");
}
#define #include CloseAUT Console mode do...while DoubleClick Execute Fail File for GetAUTFileVersion GetAUTProductVersion GetAUTQtVersion GetAUTSuspectedCompiler GetAUTSuspectedFramework GetCurrentWorkingDir GetName GetProcessID GetProcessIDHandle GetQtProperty GetText GetValue Handle HasFocus IsAUT64Bit IsChecked IsEnabled IsVisible LeftMouseClick LeftMouseDown LeftMouseUp MiddleMouseDown MiddleMouseUp MouseWheel Pass Predefined Constants Print rand RightMouseClick RightMouseDown RightMouseUp Script Language SendKeys SendMessage SetFocus SetNotFoundBehavior SetQtProperty ShellProcess Sleep StartAUT string TerminateProcess TimerStart TimerStop TimerVerifyLess vec2d VerifyContains VerifyEndsWith VerifyEqual VerifyExists VerifyGreater VerifyLess VerifyNotEqual VerifyNotExists VerifyScreenCompareEdgeBased VerifyScreenComparePixelExact VerifyStartsWith while