6. Define a Tested Application

Applies to TestComplete 12.60, last modified on September 17, 2018

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 Application 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 12 Samples\Mobile\iOS\Orders\Orders Application\bin\Orders.ipa

    Note: Some file managers display the Public Documents folder as Documents.
  5. Select the Deploy to the device on start 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). TestComplete will instrument your application automatically upon adding it to the created project. All you need to do is to click and specify the files holding certificate data for signing your application in the resulting dialog:

    Getting Started with TestComplete: Sign your tested 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