Flex Add-in

Use the UFT Flex Add-in to test Flex user-interface objects (controls).

General Information

Supported Environments

Tested applications must be built with Flex SDK versions that are supported by the UFT Flex Add-in.

For details on supported Flex SDK versions, see the Flex section of the Unified Functional Testing Product Availability Matrix.

Important Information

Test Object Methods and Properties

The Flex Add-in provides Flex test objects, methods, and properties that can be used when testing Flex objects in Flex applications. For details, see the Flex section of the UFT Object Model Reference for GUI Testing.

Known issues Known Issues - Flex Add-in

Prerequisites

Opening Your Application

You can open your Flex application before or after opening UFT.

Add-in Dependencies

  • Different versions of the Flex SDK require different versions of Adobe Flash Player, Adobe Flash Player Debugger, or Adobe Air.

    The Flex Add-in requires the versions of Adobe Flash Player / Debugger or Adobe Air that are required by the version of the Flex SDK used to build the application being tested. For more details, see the Adobe Flex SDK or Apache Flex SDK documentation.

  • For Flex applications that you recompile with UFT's pre-compiled agent:

    If the Flex applications were compiled using Adobe Flex SDK versions 4.5.x or 4.6.x, verify that you have licensed versions of the relevant Adobe Automation libraries before running full UFTGUI tests and components.

    If you do not have licensed versions of the libraries, consider upgrading to Apache Flex SDK version 4.9.x or 4.12.x.

  • UFT interacts with the Flex application it is testing via a local TCP socket object, selecting an available communication port in the range 24654 - 24663.

    Make sure that at least one of these ports is available on the UFT computer. If no ports in this range are available, the add-in fails to load properly.

    On a Windows server, multiple users can run multiple instances of UFT. To test Flex applications, you must have one port in this range available for each UFT instance.

Configuration

Record and Run Settings

Use the Flex tab.
(Record > Record and Run Settings)

See also: