ZenoTest — Windows Desktop UI Test Automation
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)

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.
After launching, the function waits briefly to ensure the application has initialized and is ready for UI automation.

Parameter
- workingdir (optional): The working directory in which the AUT should be started.
  If not provided, the directory of the AUT executable is used.

Example
void main()
{
    StartAUT(); // Launch the AUT using its own directory

    StartAUT(L"C:\\MyApp\\TestData"); // Launch the AUT with a custom working directory
}
#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 Sleep StartAUT string TimerStart TimerStop TimerVerifyLess vec2d VerifyContains VerifyEndsWith VerifyEqual VerifyExists VerifyGreater VerifyLess VerifyNotEqual VerifyNotExists VerifyScreenCompareEdgeBased VerifyScreenComparePixelExact VerifyStartsWith