Installing Adobe Flash Player

Applies to TestComplete 15.63, last modified on April 10, 2024
Flash Player has reached end of life on December 31, 2020. Support for Flash and Flex applications is now deprecated in TestComplete and will be removed in a future release.

The information in this topic applies to web tests that locate web objects by using internal identification properties provided by TestComplete and run in local environments.

Install the debug version of the Adobe Flash Player plugin for the web browser you are using to run Flash and Flex applications.

You can check whether the browser has the debugger version of Flash Player installed using the Options.FlashSettings.IsDebugVersion method:

JavaScript, JScript

function CheckDebugVersion()
{
//Check whether Internet Explorer has the debug version of Flash Player installed
if (Options.FlashSettings.IsDebugVersion(btIExplorer))
Log.Message("The debug version of Flash Player is installed in Internet Explorer");
else
Log.Message("The debug version of Flash Player is not installed in Internet Explorer");

//Check whether Mozilla Firefox has the debug version of Flash Player installed
if (Options.FlashSettings.IsDebugVersion(btFirefox))
Log.Message("The debug version of Flash Player is installed in Mozilla Firefox");
else
Log.Message("The debug version of Flash Player is not installed in Mozilla Firefox");
}

Python

def CheckDebugVersion():
  #Check whether Internet Explorer has the debug version of Flash Player installed
  if (Options.FlashSettings.IsDebugVersion(btIExplorer)): 
    Log.Message("The debug version of Flash Player is installed in Internet Explorer");
  else:
    Log.Message("The debug version of Flash Player is not installed in Internet Explorer");

  #Check whether Mozilla Firefox has the debug version of Flash Player installed
  if (Options.FlashSettings.IsDebugVersion(btFirefox)):
    Log.Message("The debug version of Flash Player is installed in Mozilla Firefox");
  else:
    Log.Message("The debug version of Flash Player is not installed in Mozilla Firefox");

VBScript

Sub CheckDebugVersion

'Check whether Internet Explorer has the debug version of Flash Player installed
If Options.FlashSettings.IsDebugVersion(btIExplorer) Then
Log.Message "The debug version of Flash Player is installed in Internet Explorer"
Else
Log.Message "The debug version of Flash Player is not installed in Internet Explorer"
End If

'Check whether Mozilla Firefox has the debug version of Flash Player installed
If Options.FlashSettings.IsDebugVersion(btFirefox) Then
Log.Message "The debug version of Flash Player is installed in Mozilla Firefox"
Else
Log.Message "The debug version of Flash Player is not installed in Mozilla Firefox"
End If
End Sub

DelphiScript

procedure CheckDebugVersion();
begin
//Check whether Internet Explorer has the debug version of Flash Player installed
if (Options.FlashSettings.IsDebugVersion(btIExplorer))
then
Log.Message('The debug version of Flash Player is installed in Internet Explorer')
else
Log.Message('The debug version of Flash Player is not installed in Internet Explorer');

//Check whether Mozilla Firefox has the debug version of Flash Player installed
if (Options.FlashSettings.IsDebugVersion(btFirefox))
then
Log.Message('The debug version of Flash Player is installed in Mozilla Firefox')
else
Log.Message('The debug version of Flash Player is not installed in Mozilla Firefox');

end;

C++Script, C#Script

function CheckDebugVersion()
{
//Check whether Internet Explorer has the debug version of Flash Player installed
if (Options["FlashSettings"]["IsDebugVersion"](btIExplorer))
Log["Message"]("The debug version of Flash Player is installed in Internet Explorer");
else
Log["Message"]("The debug version of Flash Player is not installed in Internet Explorer");

//Check whether Mozilla Firefox has the debug version of Flash Player installed
if (Options["FlashSettings"]["IsDebugVersion"](btFirefox))
Log["Message"]("The debug version of Flash Player is installed in Mozilla Firefox");
else
Log["Message"]("The debug version of Flash Player is not installed in Mozilla Firefox");
}

There are several versions of the plugin that are intended for various web browsers. Use one of the following versions depending on the web browser you use:

  • Microsoft Edge:

    The debug version of Flash Player cannot be installed for Microsoft Edge. Use another approach to test your application in Edge, or test your application in another web browser.

  • Internet Explorer:

    • If you use Windows 10, the debug version of Flash Player cannot be installed for Internet Explorer 11. Use another approach to test your application in Internet Explorer on Windows 10, or test your application in another web browser.

    • If you use Windows 8.1 or Windows Server 2012, download one of the following updates:

      Flash Player for Windows 8.1 x86 debugger
      Flash Player for Windows 8.1 x64 debugger

    • If you use an earlier version of the Windows operating system, download the Flash Player content debugger for Internet Explorer - ActiveX version.

  • Google Chrome:

    Flash Player content debugger for Chromium based applications – PPAPI version.

  • Mozilla Firefox:

    Flash Player content debugger for Firefox - NPAPI version.

To be able to test applications running under Flash Player standalone, download the Windows Flash Player Projector content debugger from Adobe’s web site:

http://www.adobe.com/support/flashplayer/downloads.html

To test a self-executed Flash or Flex application, make sure that it was created with the debug version of standalone Adobe Flash Player.

See Also

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

Highlight search results