How to Create and Import LeanFT Tests

This task describes how to create and import a LeanFT test.

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

Create a LeanFT test manually

  1. Create a LeanFT test

    Create a LeanFT 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 LEANFT-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 LeanFT test icon is added to the test plan tree under the subject folder you selected.

  2. Configure a LeanFT test

    1. Select a LeanFT test in the test plan tree.

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

Back to top

Import a test from LeanFT

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

  1. Prerequisites

    On your LeanFT computer: 

    1. Create a LeanFT 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 Lean Functional Testing Help Center .

    2. Compile the DLL or export the JAR.

    3. Run the relevant export tool command line utility, found in the <LeanFT 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 LeanFT Tests .

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

      The Import LeanFT 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 LeanFT 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