3.8. Installation for Flex applets in web pages

In order to automate Flex applets running in a web browser, the “Adobe Flash Debug Player” must be installed. You can find out which version of Flash Player (if any) you're currently running by visiting the Flash Player version page. Make sure to visit this page using the browser which you will be using for recording and running Squish tests - so if Google Chrome is your default browser but Microsoft Internet Explorer is the one used for executing tests, make sure to use Microsoft Internet Explorer for visiting the Flash Player version page.

Start the player check by clicking the Check Now button on the web page. The Your Flash Version field should say (debug version). If this is not the case, please uninstall the player following the instructions given on the Uninstall Flash Player (Windows) or Uninstall Flash Player (Mac) pages.

The debug players can be downloaded from the Adobe Flash Player Support Center - do not use the Get the latest version link at the top of the page but rather use the links further down the page:

[Note]Internet Explorer on Windows 8 and newer

Windows 8 and later include the Flash Player for Internet Explorer as an integral part of the system and it is currently not possible to remove that or replace it with the debug version of the Flash Player from Adobe. Even though the download page at Adobe provides downloads for Windows 8 we have not seen any success in trying to use them. So in case you are using Windows 8 or later you'll have to use either Firefox of Google Chrome to test Flex applications with Squish.

[Note]Google Chrome-specific Setup

Google Chrome has a built-in Flash plugin which needs to be disabled so that the debug player is used instead. To do so, perform these steps after installing the debug player mentioned above:

  1. Start Google Chrome from the Squish IDE using the Launch AUT button. This is important as starting Google Chrome from Squish uses a separate directory for storing all kinds of user data and part of this data is the enablement of the Flex plugin and which of the Flex plugins is used.

  2. Enter about:plugins into the location bar of the newly opened Google Chrome window to open the plugin configuration.

  3. Click the [+] Details link at the right hand side of the Plug-ins section to see the details for all installed plugins.

  4. Locate the Flash part in the Plug-ins section. There should be at least two plugins listed - the builtin plugin and the one which was just downloaded and installed.

  5. The newly installed debug player can be identified by considering the file name of the plugin shown in the Location: field - use the following table to tell whether a plugin is the built-in Flash player or the recently installed debug player (the "system player"):

    PlatformBuilt-in Flash Player filenameSystem Flash Player plugin filename
    Windowspepflashplayer.dllFilename starts with NPSWF32
    macOSFlash Player Plug-in for Chrome.pluginFlash Player.plugin
    Linuxlibpepflashplayer.solibflashplayer.so

    Make sure that the built-in player(s) are disabled by clicking the Disable link and enable the system plugin by clicking Enable if needed - you may find that it's enabled already.

  6. Close the Plugins tab and any other open tabs to shut down the browser.

The builtin Flash player is now disabled, and Google Chrome will use the downloaded debug player.

After installing the correct player, please visit the Flash Player version page to verify that you're now running Flash Player and that the Your Flash Version field says (debug version).