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
}