Possible Issues With Web Testing

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

This topic contains known issues that may affect your web applications testing in TestComplete 12.60.

Edge

  • If you run TestComplete with the Compatibility > Run this program as an administrator option enabled in the file properties, TestComplete cannot recognize the Edge browser. To avoid the issue, use the Advanced > Run as administrator file option instead, or run TestComplete using the regular Run as administrator command.

  • Recording tests in Edge can be slow. We recommend that you record tests in another browser. You can then change the recorded tests to use Edge or make the tests cross-browser.

  • TestComplete may calculate object coordinates in Edge incorrectly after you add or hide toolbars in Edge (such as Favorites). To avoid the issue, restart Edge after adding or hiding its toolbars.

Internet Explorer

TestComplete may record an extra ClickItem action when reselecting items in Select controls. To speed up your tests, remove extra actions.

Chrome

  • Starting from Chrome 69, you may face issues when recording and simulating user actions on the Open File and Save File dialogs opened from Chrome. This happens because the ThirdPartyBlockingEnabled security policy of Chrome is enabled by default. It prevents third-party modules from injecting into Chrome processes, which makes it difficult for TestComplete testing modules to recognize these dialogs.

    To avoid possible issues, disable the policy:

    1. On your computer, open the Registry editor. To do this, click the Start or Windows button, click Run, type regedit, and press Enter.

    2. In the Registry editor, locate the following key:

      Software\Policies\Google\Chrome

      If this key does not exist, create it.

    3. Make sure the ThirdPartyBlockingEnabled value of the key is set to false (0).

      If the value does not exist, create the DWORD value ThirdPartyBlockingEnabled and set it to 0.

    If your Google Chrome browser settings are managed via group policies, ask your system administrator to update the policies to disable the ThirdPartyBlockingEnabled policy.

    To learn more about policies, see chromium.org/administrators/policy-list-3.

  • TestComplete cannot work with Chrome in Windows XP and Windows Server 2003.

  • After you change the options of the SmartBear Test Extension in Chrome, you need to restart Chrome. Otherwise, TestComplete will not be able to access web pages in Chrome.

  • If you are signed in to multiple Google accounts in Chrome, TestComplete tracks the actions you perform for all accounts, but it cannot determine for which account you are performing certain action. As a result, TestComplete records multiple instances of the actions you perform in Chrome during test recording.

    To avoid the issue, you can do any of the following:

    • Sign out of all accounts except for the one you will use for testing.

    — or —

  • In some versions of Chrome, for example, in Chrome 53, infobars overlap the web page and change the color of the page’s top border:

    Automated web testing with TestComplete: Chrome Infobars

    This affects the screenshots that TestComplete captures for the tested web page to use in image checkpoints.

    To avoid possible issues, we recommend that you hide infobars before testing web pages. A possible way to do this is to run Google Chrome with the --disable-infobars command-line argument. See Preparing Chrome for Web Testing.

Firefox

Recent versions of Firefox support working in multiprocess mode. In this mode, Firefox creates several processes in the operating system. Depending on the Firefox configuration, this may cause a number of issues for the test engine:

  • TestComplete may fail to detect web dialogs like Alert, Confirm, Prompt and Login. These dialogs will be absent from the object tree of the Object Browser, and TestComplete will not record user actions on them.

  • TestComplete may fail to detect the browser’s active page correctly.

  • TestComplete may freeze when simulating user actions on a Flash or Flex application running in Firefox.

To avoid these issues, disable the multiprocess mode in Firefox.

See Also

Testing Web Applications
Preparing Web Browsers
Requirements for Web Testing

Highlight search results