TestComplete supports both the latest version of the Edge browser based on the Chromium engine, as well as the earlier Edge versions. Support for Chromium-based Edge is in beta.
Recording web tests in earlier (non-Chromium) versions of Edge is not supported.
Latest Edge version (Chromium-based)
To create and run tests in Chromium-based Edge, you need to install the SmartBear Test Extension in it. The extension is copied to your computer by the TestComplete installer, but you need to enable it in the browser manually. For complete information on the steps, see About SmartBear Test Extension.
Earlier versions of Edge don’t require installing this extension.
The rest of this topic describes preparing the earlier Edge versions for testing.
Earlier Edge versions
Below is information on 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 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.
Recording web tests in earlier Edge versions is not supported.
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:
-
Select Tools > Options from the TestComplete main menu.
-
Select the Engines > General category.
-
Make sure that the Enable support for Windows Store application testing option is enabled.
-
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:
-
Click Start and then select Settings.
-
Select Privacy.
-
Select Background apps from the list on the left. You will see a list of applications that are allowed to run in the background.
-
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 runs.
-
Select Settings from Edge main menu.
-
Click View advanced settings.
-
On the Advanced settings page:
-
To test Flash and Flex web applications, 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
Default Web Testing
Requirements for Web Testing
Possible Issues With Web Testing