Preparing Web Browser

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

In order for TestComplete to work properly with a Flash or Flex application embedded into a web page, you may need to prepare your web browser in a special way. Pay attention to the following requirements before recording or running your tests:

Setting Browser Zoom to 100%

The zoom setting of web browsers must be set to 100% so that TestComplete can identify web page elements correctly. To learn how to set the zoom, see the topics of the Preparing Web Browsers section.

Preparing Internet Explorer

On Windows Vista and later Windows versions, we recommend disabling Internet Explorer protected mode to speed up test recording and test runs:

  1. From Internet Explorer main menu, select Tools | Internet Options.

  2. Switch to the Security tab.

  3. Clear the Enable Protected Mode check box and click OK.

  4. Restart Internet Explorer.

Preparing Mozilla Firefox

Disabling Flash Player Protected Mode

Starting from version 11.3, Firefox Flash Player plugin runs in protected mode on Windows Vista and later Windows versions. The protected mode may cause Flash Player to freeze or crash. If you experience these issues, disable Flash Player protected mode:

  1. Open Flash Player configuration file mms.cfg in a text editor, for example, in Notepad. The mms.cfg file is in one of the following folders:

    • On 32-bit Windows: %WINDOWS%\System32\Macromed\Flash\

    • On 64-bit Windows: %WINDOWS%\SysWOW64\Macromed\Flash\

    If the mms.cfg file does not exist, create it.

  2. Add the following line at the end of the mms.cfg file and save the changes.

    ProtectedMode=0

To enable the protected mode again, remove ProtectedMode=0 from the mms.cfg file.

Disabling Asynchronous Plugin Rendering

In Firefox 55 and later, disable asynchronous plugin rendering:

  1. Start Firefox and type about:config in the Address bar. This will open the Firefox settings page.

  2. Find the dom.ipc.plugins.asyncdrawing.enabled property in the list and set it to false.

See Also

Preparing Flash and Flex Applications for Testing via the MSAA Engine

Highlight search results