Using the Create New Project wizard you can create a new project for an existing or new project suite. On the Add your tested application to the project page of the wizard, you can add files and modules to the project’s list of tested applications.
List of tested applications
The page displays a list of tested applications that has the following columns:
Column | Description |
---|---|
Autorun | Specifies whether TestComplete will automatically launch the tested application when you start recording a test. If this property is disabled, you will have to launch the tested application manually. You can do this by using the items of the Recording toolbar, by double-clicking the application's icon on the desktop, by selecting the application from the All Programs menu of the operating system, or in some other way. |
Name | The name that will be used to address the tested application in tests. |
Application file or entry point | The fully qualified name of the application’s executable file. |
To add an application to the list
-
Click Add. This will invoke the standard Open File dialog.
-
In the dialog, select your application’s executable and click Open.
Note: You should specify an executable that the test engine will launch when you start recording or running tests.
To add a Java application to the list
-
Click Add Java. This will invoke the Java Application Parameters dialog.
-
In the dialog, specify your Java or JavaFX application’s launch parameters and click OK.
To add a Java Web Start application to the list
-
Click Add Java Web Start. This will invoke the Java Web Start Application Parameters dialog.
-
In the dialog, specify your Web Start application’s launch parameters and click OK.
The applications will be added to the Tested Applications collection of your project. After you create the project, you can see the collection’s contents in the TestedApps editor.
Information about the tested application is desirable, but not required for project creation. So, you can click Finish to command TestComplete to create your project or click Next to specify the project's scripting language. You can add more tested applications to your project at any time later. See Adding Tested Applications.
To specify the application’s command line
You cannot specify the application’ command line on the page. You can do this later in the editor of the Tested Applications project item. See About TestedApps Editor.
To modify data in the list
To change data in the list, click the desired cell and enter a new value in the ensuing in-place editor. Press Enter to confirm the changes, or Esc to cancel them.
When editing the File Name value, you can either type the desired file path and name, or click the ellipsis button and choose the file in the subsequent Open File dialog.
To remove an application from the list
-
Select the application in the list and click Remove.
About the “Record user actions over tested applications only” check box
During test recording, TestComplete records mouse clicks, dragging, keystrokes and other actions as test commands. When recording a test, you may perform some actions in applications with which your test will not interact during the test run. For instance, after you start recording, you may need to minimize the window of your e-mail client or answer an urgent IM message. TestComplete will record these actions, and during the test run it will try to find the e-mail client or IM application and repeat the recorded actions you performed. If these applications are not running during the test run or if their state differs from the one they had during recording, the test will fail.
To avoid this problem you can select the check box and thus command TestComplete to ignore the actions you perform over other applications during test recording. In this case, your test will contain only the test commands that simulate user actions over your tested applications.
Note that selecting or clearing the check box changes the Record user actions over tested applications only property of your TestComplete project.
See Also
Create New Project Wizard
About Tested Applications
Creating Projects and Project Suites