The Tested Applications collection can include ClickOnce applications. These applications are installed and launched from a web page or a special shortcut rather than via a standalone executable.
Parameters of ClickOnce tested applications in the TestedApps editor 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. |
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. |
Use special runtime object |
This option controls the scripting interface to the tested application.
If it is enabled, you can get and set the application parameters directly via the If it is disabled (not recommended except for legacy tests), |
Run-Mode Parameters
The following parameters are specific to ClickOnce applications in the Tested Applications collection:
Parameter | Description | ||
---|---|---|---|
Startup link | The URL or file path of either the application deployment manifest (.application) or the application’s Start menu or desktop shortcut (.appref-ms). For example:
You can enter the file path manually or you can click the button and browse for the desired file on your local computer or the network. The file path can include environment variables, such as %USERPROFILE%, as well as project and project suite variables in the format $(VarName). For more information, see Using Variables in Tested Application Paths. |
||
Process to wait | The file name of the application’s executable. For example, MyApp.exe. | ||
Wait timeout | The maximum waiting time (in milliseconds) for the application to launch. Make sure to specify a timeout sufficient to complete installing of application updates (if any) at the application startup. | ||
Allow TestComplete to interact with embedded Chromium content |
For CEF applications launched by using the ClickOnce technology, this parameter indicates whether TestComplete is allowed to access the Chromium contents of the application.
|
See Also
About Tested Applications
Testing ClickOnce Applications
About TestedApps Editor
Run Modes and Parameters
Using Variables in Tested Application Paths