Testing Desktop Applications With Embedded Flash Player

Applies to TestComplete 12.60, last modified on September 17, 2018

Desktop applications can use an embedded Flash Player (an ActiveX object) to display Flash and Flex movies as part of the application user interface. TestComplete supports such applications. It recognizes Flash and Flex objects displayed by the embedded Flash Player and provides access to their native methods and properties.

To test Flash/Flex applications in the embedded Flash Player, you need the Web module. The Desktop module is not required.

Preparing Applications With Embedded Flash Player

Flash Player should be embedded as an ActiveX object.

In order for TestComplete to be able to recognize Flash/Flex objects in embedded SWF movies, you need to perform the following:

– or –

What TestComplete Can See in Embedded Flash/Flex Movies

If you have prepared your Flash/Flex movie properly, you can see the movie’s internal objects in the Object Browser panel. Below is a sample object hierarchy of a Flex movie that is displayed by an embedded ActiveX Flash Player in a C# application:

Automated testing Flash and Flex applications with TestComplete: A view of an embedded Flex application in the Object Browser

As you can see, the Flex objects are shown as child nodes of the .NET control that corresponds to the ActiveX Flash Player object. To the right of the Object Tree, you can see native properties of the currently selected Flex object.

Known Issues

There may be a delay at the beginning of test recording if there are several white-box applications with embedded ActiveX Flash Player in the system.

See Also

Testing Flash and Flex Applications
Testing Flash and Flex Applications - Overview

Highlight search results