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

This topic describes the Edge browser settings required by TestComplete for automated web testing. Make sure you have configured Edge in this way on all the computers where you are going to record and run tests.

If you use multiple user accounts for testing purposes on your computer, make sure all account-specific browser options are set for each account.

Prerequisites

  • TestComplete must be installed to a subfolder of the Program Files folder (typically C:\Program Files on 32-bit Windows or C:\Program Files (x86) on 64-bit Windows).

  • Important: To create tests for the Edge version that comes with the Windows 10 Fall Creators Update, you must have the KB4051963 Windows update installed on your computer.

    To check whether the update is installed, go to Windows Update Settings and click View installed update history. View the list of updates installed recently.

    The update can be installed automatically from Windows Update, or you can download the update from the Microsoft Update Catalog and install it manually.

Check If Support for Testing Windows Store Applications Is Enabled

To test web applications in Edge, the Enable support for Windows Store application testing option must be enabled in TestComplete. It is enabled by default, so you usually do not need to change anything.

To verify that this option is enabled:

  1. Select Tools | Options from the TestComplete main menu.

  2. Select the Engines | General category.

  3. Make sure that the Enable support for Windows Store application testing option is enabled.

  4. If it is disabled, enable it and restart TestComplete.

Note: Enabling the option disables some other TestComplete features. See Known Limitations in Requirements for Testing Windows Store Applications.

Prevent Edge From Running in the Background

If Edge is allowed to run as a background application in Windows, you need to disallow this:

  1. Click Start and then select Settings.

  2. Select Privacy.

  3. Select Background apps from the list on the left. You will see a list of applications that are allowed to run in the background.

  4. Turn off Edge in the list to prevent it from running in the background.

Toolbars

If you add or remove toolbars in Edge (such as Favorites), you need to restart Edge afterwards.

Additional Recommended Settings

We also recommend that you configure certain Edge settings as described below. Although these settings are not necessarily required for automated testing, using them will prevent unexpected browser behavior and improve Edge performance during test recording and test runs.

  1. Select Settings from Edge’s main menu.

  2. On the Settings page:

    • Set the Open with option to A specific page or pages.

    • In the drop-down list, select Custom and enter about:blank.

    Using a blank home page prevents capturing superfluous web pages during test recording and improves the browser's startup performance.

  3. Click View advanced settings.

  4. On the Advanced settings page:

    • Set the Offer to save passwords and Save form entries options to Off.

      This will prevent unexpected behavior when filling in forms during test recording and test runs.

    • If you want to test Flash and Flex web applications, then make sure that the Use Adobe Flash Player option is enabled (On).

    • If your tested web application uses HTML pop-ups, then make sure that the Block pop-ups option is disabled (Off).

See Also

Preparing Web Browsers
Testing Web Applications
Requirements for Web Testing
Possible Issues With Web Testing

Highlight search results