The Profile mode is used to launch an application under AQtime. When you run your application under test in this mode, the application is profiled by AQtime and TestComplete performs testing operations (for instance, simulates user actions) with application windows. For more information, see Integration With AQtime.
|Using the Profile mode requires that TestComplete be run with administrator permissions.|
You can view and change Profile mode parameters in the TestedApps editor. The parameters are organized into two sections - Basic Parameters and Run-Mode Parameters.
Basic parameters include the following:
|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||This parameter is ignored.|
|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
For example, you can define several instances of the tested application with different configurations and “disable” those not needed at the moment.
The following parameters are specific to the Profile run mode:
|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
|Version||If you have multiple versions of AQtime installed, use this combo box to select the version you wish to use. Supported AQtime versions are 4.7-8.x.|
|Profiler||The AQtime profiler to use for the tested application. To refresh the profilers list, click Ger profilers.
Specifies whether AQtime will display errors and warnings during the profiling session:
If you select the Silent mode, you will not be able to use AQtime dialogs when analyzing results in AQtime. To use the dialogs, set the Run mode parameter to anything other than Silent.
|Set Run mode after profiling starts||By default, TestComplete changes AQtime’s run mode after the profiling is over. If you need to change the mode right after the profiling starts, select the Set Run mode after profiling starts check box. When starting profiling, AQtime may display various settings and informative dialogs and messages, so, you can select the check box to let your TestComplete tests simulate user actions over these dialogs and messages.|
|Use AQtime project||If you have an AQtime project configured for application profiling, select this option and specify the Project file name.
If you do not specify an AQtime project, TestComplete will create a temporary AQtime project with the default profiling settings and delete this project after the profiling is over.
|Project file name||This option is used only if the Use AQtime project option is selected. It specifies the path to the AQtime project that will be used for application profiling. You can enter the project file name manually or click the button and browse for the desired project file.
To view or modify this project in AQtime, click Edit project.
The file 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.
|Override project profiler||This option is effective only if the Use AQtime project option is used.
If it is selected, TestComplete will use the AQtime profiler selected in the Profiler combo box rather than the one selected in the AQtime project. Otherwise, TestComplete will use the profiler specified in the AQtime project.