2. Prepare Your TestComplete Project

Applies to TestComplete 14.40, last modified on April 22, 2021

The information in this topic applies to web tests that implement the default approach (rely on Name Mapping and run in local environments).

  1. In TestComplete, close any project or project suite opened in TestComplete.

  2. From the TestComplete main menu, select File > New > New Project. This will open the Create New Project wizard.

  3. Follow the wizard instructions. Specify the project name and location. You can select any language for your project.

    You can skip the step of specifying the tested application because we will do it later.

    TestComplete will create a new project and open it:

    Testing Electron applications tutorial: Create a new project
  4. In your created project, add the Tested Applications collection:

    Testing Electron applications tutorial: Add the Tested Applications collection

    Click the image to enlarge it.

  5. Add your tested Electron application (the electron binary we have prepared on the previous step) to the Tested Application collection. Add it as a generic Windows application:

    • In Project Explorer, double-click the TestedApps node.

    • Right-click anywhere within the Tested Apps editor and then click Add Application.

    • In the resulting dialog, click Generic Windows application.

    • On the next page of the wizard, specify the path to the tested application’s executable.

    Testing Electron applications tutorial: Adding the application to the Tested Applications collection

    Click the image to enlarge it.

  6. Save the changes in your project.

Prev     Next

See Also

Testing Electron Applications - Tutorial
About Testing Electron Applications

Highlight search results