6. Define a Tested Application

Applies to TestComplete 14.0, last modified on January 23, 2019

Each TestComplete project may have a list of tested applications. This way, you can keep track of which applications the project deals with, and how they are configured for testing.

There are several ways to add applications to your project:

  • You can do this during project creation.

  • You can do this at any time later, in the Project Explorer.

  • (Not supported for mobile applications) TestComplete can add an application to a project automatically during test recording. The recorder is smart enough to detect the start of an application through the command line, Windows Explorer, or in any other way.

Let’s add the tested Orders application to our project:

  1. The wizard shows the second page where you can choose your tested application:

    Getting Started with TestComplete: Select your tested application

    Click the image to enlarge it.

  2. Since the tested Orders application is an iOS application shipped as a .ipa file, it falls under the Mobile application category.

    Click Mobile.

  3. From the Device drop-down list, select your mobile device where you will record your test. The device must be prepared for testing and connected to TestComplete as described in Prepare iOS Device.

    If your device is not in the list, you can click the Start troubleshooting link to resolve the issues preventing TestComplete from connecting to the device.

  4. In the Mobile application file box, click the ellipsis button. In the resulting Select Tested Application dialog, locate the Orders.ipa file. The path is the following:

    C:\Users\Public\Public Documents\TestComplete 14 Samples\Mobile\iOS\Orders\Orders Application\bin\Orders.ipa

    Note: Some file managers display the Public Documents folder as Documents.
  5. Select the Deploy the application to a device automatically check box to install the application on the selected device.

  6. TestComplete can access internal objects, methods and properties of an iOS application only if the application is instrumented (that is, if it is prepared for testing).

    If your application is not instrumented, TestComplete will instrument it automatically upon adding it to the created project. All you need to do is to specify the files holding the certificate data for signing your application. These are the certificate files you got on step 2. Prepare iOS Certificate Files.

  7. Click Record to complete the project creation and start recording.

Prev     Next

See Also

About Tested Application
About Tested Applications
Adding Tested Applications

Highlight search results