UFT Java Add-in Extensibility Readme

This file provides information about the UFT Java Add-in Extensibility SDK.


The UFT Java Add-in Extensibility SDK enables you to develop custom support for third-party and custom Java controls that are not supported by UFT out-of-the-box.

The Java Add-in Extensibility SDK enables you to create testing support for Java objects that extend the following classes:

AWT toolkit (which includes JFC/Swing) java.awt.Component
SWT toolkit org.eclipse.swt.widgets.Widget

UFT is backwards compatible, and enables you to run tests and components on custom controls using toolkit support sets developed with QuickTest Professional Java Add-in Extensibility or earlier versions of the UFT Java Add-in Extensibility.

The SDK supplies a plug-in for the Eclipse IDE that provides wizards and commands to simplify the process of creating custom support.

Back to top

Installation and deployment

Install the UFT Java Add-in Extensibility SDK and develop the toolkit support set for your Java controls on any computer.

After creating custom support, deploy it to UFT, enabling UFT to recognize the controls and support the appropriate properties and test object methods.

When you create custom toolkit support using the UFT Java Add-in Extensibility Eclipse plug-in, save and build the project before you deploy it to UFT. If you deploy a project that was not successfully built, the Java application that you are testing may behave unexpectedly.

Note: The UFT Java Add-in Extensibility SDK is required only for developing the support.

You do not need to install it on each UFT computer that users the support.

For more details, see Installing the Micro Focus UFT Java Add-in Extensibility SDK.

Back to top


UFT Java Add-in Extensibility SDK documentation includes:

Back to top


Unified Functional Testing

Version 14.03 or later, with the Java Add-in installed

Eclipse IDE Freeware. For more information, see http://www.eclipse.org

Note: UFT can be installed on the same computer as the SDK, or a different computer.

If you plan to use the same computer, be sure to install the prerequisites before installing the SDK.

Back to top

Supported versions

For a list of the supported versions of software used together with UFT Java Add-in Extensibility, see the UFT Product Availability Matrix (PAM).

Note: If you need to support custom controls in an application that runs in an Oracle SDK version other than those listed in the PAM, compile the support classes manually using the appropriate compiler.

Back to top

Import an existing Java Add-in Extensibility project to Ecplise

To import an existing UFT Java Add-in Extensibility project into Eclipse, and then enable the Eclipse plug-in to recognize it as such, do the following in Ecplise:

  1. Select File > Import > Existing Projects into Workspace.
  2. Select the Select root directory option, and then browse to the root directory of your project.
  3. Click Finish when the project is added to the Projects list.

Note: After importing a UFTJava Add-in Extensibility project, you can add custom support classes and use the Deploy Toolkit Support and Reload Support Configuration commands.

The following commands are available only for support classes that were created as UFT custom support classes in the current Eclipse workspace:

Back to top

Toolkits developed in earlier UFT versions

If you load custom toolkit support to UFT that was developed using a Java Add-in Extensibility SDK version earlier than 10.00, your extensibility test object classes are displayed in the wrong list.

The functionality of the test objects from these classes is not affected.

Workaround: Cause UFT to display the test object classes when the custom toolkit environment is selected

  1. Locate the test object configuration file that belongs to the custom toolkit support set: <UFT Installation Folder>\Dat\Extensibility\Java\<add-in name>TestObjects.xml.

    (If working with ALM: <UFT Add-in for ALM Installation Folder>\Dat\Extensibility\Java\<add-in name>TestObjects.xml.)

  2. In the XML file, locate the PackageName attribute in the TypeInformation element and change its value from JavaPackage to the name of the child add-in.
  3. If an index identification property is implemented for any test object classes in the toolkit support set, remove this implementation to enable the use of the Generate Scripts button in the Object Identification dialog box.
  4. Save the file and reopen UFT.

Back to top

Multilingual support

The UFT Java Add-in Extensibility SDK is not localized (the Language Pack does not translate them).

Back to top