Create and import OpenText Functional Testing for Developers tests

This task describes how to create and import OpenText Functional Testing for Developers tests.

Overview

OpenText Functional Testing for Developers 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.

OpenText Functional Testing for Developers tests and components using Business Process Testing is supported. You can create OpenText Functional Testing for Developers tests and use all the standard 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 OpenText Application Quality Management.

You can create OpenText Functional Testing for Developers 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 OpenText Application Quality Management.

Back to top

Create a OpenText Functional Testing for Developers test manually

You can create OpenText Functional Testing for Developers tests manually.

To create and configure a UFT Developer test:

  1. Create a test and make sure the Type field is set to LEANFT-TEST. For details, see Create tests.

  2. In the Test Script tab of the OpenText Functional Testing for Developers test, provide the following information:

    Field

    Description

    Framework

    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 OpenText Application Quality Management test will run.
  3. Click Save to save the settings.

Back to top

Import a test from OpenText Functional Testing for Developers

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.

Prerequisite:

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 OpenText Application Quality Management 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 OpenText Functional Testing for Developers:

In the OpenText Application Quality Management 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: