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.

StartAUT

void StartAUT()
void StartAUT(String workingdir)
void StartAUT(int timeoutMs)
void StartAUT(String workingdir, int timeoutMs)
void StartAUT(String workingdir, int timeoutMs, String args)

Description
Starts the Application Under Test (AUT).
This function launches the target application and prepares it for automated testing.
Optionally, a specific working directory can be provided. If omitted, the AUT will be started in the same directory where the executable resides.
An optional timeout can be specified to control how long the function waits for the application to initialize and become ready for UI automation.
If the timeout parameter is not provided, a default value of 15000 milliseconds is used.
An optional args parameter can be provided to pass command-line arguments to the AUT.

Parameter
- workingdir (optional): The working directory in which the AUT should be started.
  If not provided, the directory of the AUT executable is used.
- timeoutMs (optional): Timeout in milliseconds to wait for the AUT to initialize.
  Default value is 15000 milliseconds.
- args (optional): Command-line arguments to pass to the AUT executable.
  If not provided, the AUT is started without additional arguments.

Example
void main()
{
    StartAUT(); // Launch the AUT using its own directory and default timeout (15000 ms)

    StartAUT(30000); // Launch the AUT using its own directory and a custom timeout

    StartAUT("C:\\MyApp\\TestData"); // Launch the AUT with a custom working directory and default timeout

    StartAUT("C:\\MyApp\\TestData", 30000); // Launch the AUT with a custom working directory and timeout

    StartAUT("C:\\MyApp\\TestData", 30000, "--debug --verbose"); // Launch the AUT with working directory, timeout and command-line arguments
}
#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