Setup Flash Injector to be able to Reveal Elements within Shockwave Flash/ Flash elements
Below are the Steps for being able to Reveal Elements within Shockwave Flash/ Flash elements
Setup Flash Injector to be able to Reveal Elements within Shockwave Flash/Flash elements
- Test Complete will need to treat Flash Aps as an open Application; it will need the Debug version of Adobe Flash Player and needs to be configured in a special way for preloading the Flash Injector.swf file as documented in below steps.
- These Steps are from following video: https://www.youtube.com/watch?v=_vBgokatzoU
- Need the debug version of Adobe Flash Player , can check what you have by using the following url from the web browser you are going to be testing with: https://helpx.adobe.com/flash-player.html
- Internet Explorer and other Flash Debuger Downloads : https://www.adobe.com/support/flashplayer/debug_downloads.html
- Firefox flash debugger is located here, please install and recheck: https://fpdownload.macromedia.com/pub/flashplayer/updaters/20/flashplayer_20_plugin_debug.exe
- Chrome flash debugger: https://helpx.adobe.com/flash-player/kb/flash-player-google-chrome.html#How_can_I_run_debugger_or_alternate_versions_of_Flash_Player_in_Google_Chrome
- Need to create a text file in your User directory under your named area (ex Users\mcfoesch) the text file needs to be named “mm.cfg” and contain a line similar to the following (which is the path up to and including your Flashinjector.swf file). PreloadSwf=C:\Program Files\SmartBear\TestComplete 11\Open Apps\Flex\FlashInjector.swf
- Go to the following website http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html and click on edit location dropdown and then Add Location and add a fully qualified path location (one directory above where your FlashInjector.swf file is located) similar to the following: C:\Program Files\SmartBear\TestComplete 11\Open Apps\Flex
- Make sure you have a check mark in front in the Always Trust files in these locations.
- Reboot your machine then open your Test Complete and you should now be able to reveal and utilize Flash embedded elements.
Note: the following are other places that the Flash/Flex has settings are defined (these likely may not require changes): Test Complete - Tools | Default Project Properties from the main menu of TestComplete and then choose Project | Open Applications | Flash/Flex ß this allows you to 1) check box the Install FlashInjector at the beginning of test recording and playback and 2) checkbox Enable the Trusted Location
The following location also has settings for: Global Privacy/Storage/Security settings, Website Privacy/Storage Settings, Protected Content Playback Settings, and Peer-Assisted Networking Panel http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html