Applies to TestComplete 14.10, last modified on June 5, 2019

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

Disable Flash Player Sandbox

If you use Firefox version 65 or later, disable the Flash Sandbox security mode:

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

  2. Find the dom.ipc.plugins.sandbox-level.flash property in the list and set it to 0.

– or –

  1. Open Windows Control Panel. To do this, you can, for example, click Start and then click Control Panel.

  2. In the Search box, type environment variables and then click Edit environment variables for your account.

  3. In the resulting dialog, create an environment variable named MOZ_DISABLE_NPAPI_SANDBOX with any value.

  4. Save the changes.

Disable 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.

See Also

Preparing Flash and Flex Applications for Testing with the Debug Version of Flash Player

Highlight search results