Post installation

Before you can start working with UFT Developer, make sure to perform the required tasks described in this section.

Note: This topic is relevant for stand-alone UFT Developer machines. If you are setting up a UFT Developer grid configuration, see UFT Developer Grid.

Install a license

Upon installation, UFT Developer includes a limited-time demo license that is valid for 60 days. When this license expires, you must install a valid UFT Developer license.

For more details, see UFT Developer licensing.

Back to top

Post installation tasks

Review the table below and, depending on your requirements, perform the necessary tasks.

If you plan to... need to How?
Test Web-based applications

Make sure the Micro Focus UFT Agent extension is enabled in your browser.

For details, see Set up web browsers and controls.

Test Java IBM applications Modify the JAVA_TOOL_OPTIONS environment variable. Set the value of the environment variable to -agentlib:jvmhook -Dmic.enforce=ibm

Note: To stop working with Java IBM and switch to working with Oracle Java or Zulu OpenJDK, remove -Dmic.enforce=ibm from the variable's value.

Test Java applications, version 16 or later



Enable UFT Developer to identify Java test objects.

Specify the following options when you run your Java applications:

  • For SWT, Swing, and AWT applications:

    --add-modules=java.desktop --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.image=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED

  • JavaFX applications:

    --add-modules=java.desktop,javafx.controls --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.image=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED --add-opens javafx.controls/javafx.scene.control.cell=ALL-UNNAMED

You can specify these options in one of the following ways: 

  • Include the options in the Java command that you use to run your application.

  • Enter the options in the value of the JDK_JAVA_OPTIONS environment variable. Note that this affects all Java applications that you run on this machine.

Work in Eclipse or Spring Tool Suite with an existing LeanFT Java project

(Windows only)

Update the library structure

This task is only for Java projects that were created in Eclipse or Spring Tool Suite prior to LeanFT 12.53.

For details, see Update projects created before LeanFT 12.53.

Work with the JavaScript SDK

Install the JavaScript SDK as a Node.js module, and install your testing framework.

For details, see Setting up and working with the JavaScript SDK.

Run UFT Developer tests from ALM on your computer

(Windows only)

Configuring the following DCOM settings may expose the UFT Developer computer to security risks:

Set the required DCOM permissions for the Remote Agent and open the DCOM port (port 153).

Open the command line and run

<UFT Developer installation>\Tools\Remote Agent\LFTDcomPermissions.exe -set

Configure the Remote Agent to allow ALM to run tests on your computer.

Open <UFT Developer installation>\Tools\RemoteAgent\LFTRemoteAgent.exe.config in a text editor, and change <remoteAgent allowRun> to true.

There are additional values that must be set in LFTRemoteAgent.exe.config before you run UFT Developer tests from ALM.  

For details, see Integrate UFT Developer and ALM.

Back to top

See also: