Create and import UFT Developer tests

This task describes how to create and import UFT Developer tests.

UFT Developer tests Overview

UFT Developer is a powerful and lightweight functional testing solution built specifically for continuous testing and continuous integration. By supporting the most common AUT technologies and integrating with standard IDEs, UFT Developer brings a new level of productivity and collaboration to your Agile and DevOps testing teams.

Within ALM, UFT Developer tests and components using Business Process Testing is supported. You can create UFT Developer tests in ALM and use all the standard ALM tracking and traceability features to manage them.

You can import tests and components from UFT Developer and also initiate runs of UFT Developer tests and components from within ALM.

From within ALM, you can create UFT Developer tests or business components automatically by importing test methods defined in your NUnit or JUnit project.

Alternatively, you can create each UFT Developer test or business component manually within ALM.

Back to top

Create a UFT Developer test manually

You can create UFT Developer tests manually within ALM.

To create and configure a UFT Developer test:

  1. See Create tests to create a test and make sure the Type field is set to LEANFT-TEST.

  2. In the Test Script tab of the UFT Developer test, provide the following information:




    JUnit or NUnit.

    DLL Path The path of the .dll file containing your test. You can specify either a full file path or a relative path.
    Fully Qualified Class Name

    The full name of your class including the namespace (NUnit) or package (JUnit).

    Test Method Name The name of the test method that this ALM test will run.
  3. Click Save to save the settings.

Back to top

Import a test from UFT Developer

The import tool enables you to automatically create tests or components for every test method defined in a UFT Developer NUnit or JUnit project, including setting up the relevant parameters.


On your UFT Developer computer: 

  1. Create a UFT Developer NUnit or JUnit project containing one or more test methods. These test methods can be defined in a single .cs or .java file or in multiple files within the project.

    The test methods can include ALM input or output parameters. For more details on data driving your ALM tests, see the UFT Developer Help Center.

  2. Compile the DLL or export the JAR.

  3. Run the relevant export tool command line utility, found in the <UFT Developer installation>\Tools\TestExportTool folder.

To import a test from UFT Developer:

In the ALM Test Plan module, do the following to run the import:

  1. Right-click the folder where you want to add your tests and click Import UFT Developer Tests .

  2. In the Import UFT Developer Tests browse dialog box, select the XML file generated with the export utility in UFT Developer.

    The Import UFT Developer Tests dialog box displays the tests it found in the XML file.

  3. Select the test methods to import and click Import. Then click Close.

    Tip: You can also click Export to File.

For each test method, the tool automatically creates a new UFT Developer test in the current folder. All required fields are automatically set in the Test Script tab, and all input parameters from each test method are defined in the corresponding Parameters tab.

Back to top

See also: