Data-drive your ALM tests

Drive data through your test by adding ALM input parameters to any OpenText Functional Testing for Developers test that is run from ALM. Then you can set up test sets that run your tests in a variety of configurations, each running multiple iterations.

Prerequisites for data driving tests

  • Install the 32-bit version of Microsoft Access Database Engine 2016 Redistributable.

Back to top

Set up data-driving steps in OpenText Functional Testing for Developers

In OpenText Functional Testing for Developers:

  1. Open your test project, or create a new one as described in Create a testing project or module.
  2. Configure your test script to retrieve ALM data.

Back to top

Set up ALM for data driving

  1. Define the parameters in ALM. You can do this in any of the following ways:

    OpenText Functional Testing for Developers Test Export tool

    Export the test methods to an XML file and then import them into ALM. The defined parameters in each test method are imported into ALM together with the test methods. For details, see Import tests into ALM

    Define the parameters in ALM manually

    In ALM, in the signature of each LEANFT-TEST test, in the Parameters tab, define the set of input parameters to use. The parameters must be defined exactly as they are defined in your OpenText Functional Testing for Developers test methods. For details, see Manually create LEANFT-TEST tests in ALM.

  2. Create test configurations and map parameters in ALM

    1. In ALM, select your OpenText Functional Testing for Developers test.

    2. In the Test Configuration tab, create static or dynamic configurations, and customize each configuration as needed.

      Static data configuration allows supplying fixed data directly from the data grid within the test configuration.

      Dynamic data configuration allows supplying the dynamic data from an external Microsoft Excel file by uploading it as a test resource into ALM and associating it with the test configuration.

      • For each dynamic configuration, you can optionally override the default data source defined for the test and/or customize the rows to use from the table.

      • Filtering by value is not supported for OpenText Functional Testing for Developers tests. Any filter settings are ignored.

      Tip: Alternatively, create a static configuration which enables you to provide fixed data for a run with a single iteration.

      For more details about setting up static and dynamic data configurations in your test configuration, see the ALM Help Center.

Back to top

See also: