ZenoTest
ZenoTest is a lightweight and powerful tool for Windows desktop UI test automation. Record, generate, and run automated tests efficiently for WPF, WinForms, and native apps.

StartAUT

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

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.

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.

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
}
#include CloseAUT Console mode DoubleClick Execute Fail File GetAUTFileVersion GetAUTProductVersion GetAUTQtVersion GetAUTSuspectedCompiler GetAUTSuspectedFramework GetCurrentWorkingDir GetName GetQtProperty GetText GetValue HasFocus IsAUT64Bit IsChecked IsEnabled IsVisible LeftMouseClick LeftMouseDown LeftMouseUp MiddleMouseDown MiddleMouseUp MouseWheel Pass Print RightMouseClick RightMouseDown RightMouseUp Script Language SendKeys SetFocus SetQtProperty ShellProcess Sleep StartAUT string TimerStart TimerStop TimerVerifyLess vec2d VerifyContains VerifyEndsWith VerifyEqual VerifyExists VerifyGreater VerifyLess VerifyNotEqual VerifyNotExists VerifyScreenCompareEdgeBased VerifyScreenComparePixelExact VerifyStartsWith