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:
-
From Internet Explorer main menu, select Tools | Internet Options.
-
Switch to the Security tab.
-
Clear the Enable Protected Mode check box and click OK.
-
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:
-
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.
-
-
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:
-
Start Firefox and type
about:config
in the Address bar. This will open the Firefox settings page. -
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