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.
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.
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 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.|
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.
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.|
If Edge is allowed to run as a background application in Windows, you need to disallow this:
Click Start and then select Settings.
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.
If you add or remove toolbars in Edge (such as Favorites), you need to restart Edge afterwards.
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.
Select Settings from Edge’s main menu.
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.
Click View advanced settings.
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).