Add/Edit Flex Application Dialog Box

Following the retirement of the Adobe Flash Player, UFT One no longer supports the Flex Add-in by default.

If you require the Flex Add-in, contact OpenText Support.

This dialog box enables you to add details for an application or to edit details for the application that you selected in the Flex tab of the Record and Run Settings dialog box.

Before you select options in this dialog box, you must determine the method you plan to use to enable UFT One to communicate with your Flex application. For details, see Enable UFT One to identify objects in your Flex application.

To access

In the Flex Tab (Record and Run Settings Dialog Box), click the Add button or the Edit button .

Important information

  • For each application, the details entered in this dialog box are displayed as a single row in the application details table in the Flex tab of the Record and Run Settings dialog box.

Relevant tasks

See also

Enable UFT One to identify objects in your Flex application

Work with the Flex Add-in

User interface elements are described below:

UI Elements

Description

Application path

The file system path or URL to the Flex application to open.

  • The Application box should contain only the file name and path for the application. If you want to add command line arguments, use the Parameters box.

  • If your application is the default page on the Web server host, the URL that you enter does not have to include the file name. For example, if http://mysite/home and http://mysite/myApp.html open the same application, you can enter http://mysite/home.

  • Unicode character support: The Flex Runtime Loader fails to open the application if the file system path includes certain Unicode fullwidth characters. For example, make sure not to include English fullwidth letters or Japanese fullwidth number characters.

Parameters

(Optional) Parameters to pass to the application when UFT One opens it.

For Flex applications, enter the parameter names and values, separated by the ampersand (&) symbol, using the following syntax:

<parameter name>=<parameter value>&<parameter name>=<parameter value>

For Adobe Air applications (.exe), enter the parameter values, separated by spaces:

<value1> <value2>
Open with

The program with which to open the Flex application (not relevant for standalone (.exe) applications).

Possible values:

  • <Empty> (for .exe applications)

  • Internet Explorer (32bit)

  • Adobe Flash Player Projector (for .swf applications only)

    If you select Adobe Flash Player Projector, you can use the browse button to select a specific Flash Player program to use for this application. The path to the selected program is then displayed under the drop down list.

Open Flex application using preconfigured setup

Select this option to indicate that you have already either:

or

Open Flex application using UFT One Flex Runtime Loader (.swf only)

Instructs UFT One to open the specified Flex application using the UFT One Flex Runtime Loader.

This option is relevant only when testing .swf files directly, and if you are not using the Flash Player Debugger to run the application.

For more details, see Open Flex applications using the Runtime Loader.

Flex SDK version

The version of Runtime Loader for UFT One to use.

  • 4.9.1 - (default) For testing Flex applications developed using Flex SDK version 4.9.1 and earlier supported versions.

  • 4.12.1 - For testing Flex applications developed using Flex SDK version 4.12.x.

This field is not relevant if you specify a Runtime Loader URL.

Runtime Loader URL

Only for applications hosted on a Web server:

The URL to the Runtime Loader you want to use to open the Flex application.

  • You must place a copy of the Runtime Loader on the same server as the Flex application, and provide the URL to this file.

    When you place the Runtime Loader file on the Web Server, select the one that matches the version used to develop your application, as described in Open Flex applications using the Runtime Loader.

  • If your Flex application is located on the file system, do not specify a Runtime Loader. UFT One uses one of the Runtime Loaders installed with UFT One (according to the specified SDK version).