Integrate with BPT

If you are working with BPT, you can add OpenText Functional Testing for Developers business components to flows and business process tests.

For details on creating flows and business process tests, see the ALM Help Center.

Note: OpenText Functional Testing for Developers business components cannot be mixed with other types of business components in flows and business process tests.

Include OpenText Functional Testing for Developers business components in business process tests

After you have written your OpenText Functional Testing for Developers test, you can set up a corresponding business process test in ALM containing your test methods by creating business components in ALM's Business Components module and using them in a business process test

This can be done in one of the following ways:

Manually create business components Create a business component in ALM for each test method in your OpenText Functional Testing for Developers test script.
Import OpenText Functional Testing for Developers test methods into business components in ALM

Using a tool, you can create business components for multiple test methods simultaneously.

Recommended if you want to migrate a large number of test methods to business components in ALM.

Manually create business components

When defining business components manually:

  1. In ALM, create a new business component, or select an existing one.

  2. Add automation:

    Note: Each OpenText Functional Testing for Developers business component represents a single test method inside a test class.

    In the Automation tab, click Add Automation, and select LeanFT automation subtype.

  3. In the Automation tab, define your business component. Provide values for the required fields as follows:

    Framework  

    Select the framework you are using.

    JAR/DLL Path

    The path of the .dll or .jar file containing your test, depending on the framework. You can specify either a full file path or a relative path.

    Fully Qualified Class Name

    The fully qualified name of your class, including the namespace (NUnit/MSTest) or package (JUnit/TestNG).

    Test Method Name

    The name of the test method that your business component will run.

Import OpenText Functional Testing for Developers test methods into business components in ALM

The export/import procedure is identical for business components as for LEANFT-TEST tests.

  1. In OpenText Functional Testing for Developers:

    1. In your test project, compile the DLL or export the JAR.

    2. Run the export tool command line utility relevant to your testing framework, as described in Import tests into ALM.

  2. In ALM:

    1. In the Business Components module, select ComponentsImport OpenText Functional Testing for Developers Components.

    2. Select the XML file generated by the export tool, and click Open.

    3. Select the test methods to import to business components, and click Import.

    A new business component is created in ALM for each selected test method, with all required fields defined.

Back to top

Data driving business components

Just as in any OpenText Functional Testing for Developers test, you can expand the scope of your business components by creating content using defined input values. In addition, for business components, you can define output parameters as well.

Input parameters

Define input values the same way as you would for OpenText Functional Testing for Developers tests. For details, see Data-drive your ALM tests.

Output parameters

Define output parameters for business components per your framework as follows:

Back to top

Next steps: