The Simple run mode is used for generic Windows applications that TestComplete launches in a way similar to how a user would run the application executable directly or via the Start menu or desktop shortcut.
You can view and change the Simple mode parameters in the TestedApps editor. The parameters are organized into two sections - Basic Parameters and Run-Mode Parameters.
Basic Parameters
Basic parameters include the following:
Parameter | Description |
---|---|
Name | The unique name of the tested application in the Tested Applications collection. This name is used to refer to the application in tests, for example, in the Run TestedApp keyword test operation. |
Run Mode | The mode in which TestComplete will launch the application:
|
Count | The number of application instances that will be simultaneously launched during the test recording or run. |
Autorun application on recording | Select this option to have the application launched automatically when you start test recording. |
Launch application from tests | Uncheck this option to prevent the application from being launched by the Run TestedApp keyword test operation and the TestedApps.AppName.Run scripting method.For example, you can define several instances of the tested application with different configurations and “disable” those not needed at the moment. |
Run-Mode Parameters
The following parameters are specific to the Simple run mode:
Parameter | Description | ||
---|---|---|---|
Application | The name and path of the application executable file (.exe, .com, .bat or .cmd). You can enter the path manually or click the button and browse for the needed file. The path can be fully-qualified or relative to the project folder. To switch between the fully-qualified and relative path representations, click the drop-down button and select the desired path in the drop-down list. You can use environment variables, such as %PROGRAMFILES%, as well as project and project suite variables in the format $(VarName) in the file path. For more information, see Using Variables in Tested Application Paths. If the application resides in a folder that is in the
|
||
Command-line parameters | The command-line arguments that will be used to launch the application. | ||
Working folder | The working folder for the application run. You can enter the folder path manually or click the button and browse for the needed folder. The folder path can include environment variables, such as %PROGRAMFILES%, as well as project and project suite variables in the format $(VarName). For more information, see Using Variables in Tested Application Paths. |
See Also
About Tested Applications
TestedApps Editor
Run Modes and Parameters
Using Variables in Tested Application Paths
Working With Tested Applications in Tests