How to Create and Import UFT Developer Tests

This task describes how to create and import a UFT Developer test.

Note: This task is part of a higher-level task. For details, see How to Plan Tests in ALM.

Create a UFT Developer test manually

  1. Create a UFT Developer test

    Create a UFT Developer test in a subject folder.

    1. In the Test Plan Tree view, right-click a test subject, and select New Test.

    2. In the New Test dialog box, select UFT Developer-TEST in the Type field.

    3. Fill in other fields in the New Test dialog box. For user interface details, see New Test Dialog Box.

    A new test with the UFT Developer test icon is added to the test plan tree under the subject folder you selected.

  2. Configure a UFT Developer test

    1. Select a UFT Developer test in the test plan tree.

    2. Click the Test Script tab to configure the settings. For user interface details, see Test Script Tab - UFT Developer Tests.

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.

  1. Prerequisites

    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.

  2. Import

    In the ALM Test Plan module, 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:

Back to top