Create test suites

A test suite is a collection of tests. Use test suites to test an area of your application. You can use test suites for planned testing events, such as regression testing.

A test suite can contain manual, automated, and Gherkin tests. For details, see Testing overview.

About test suites

A test suite is a collection of tests. Test suites do not contain any content of their own.

Use test suites in a variety of ways:

  • Group tests of a particular page, module, or section of your application together. This lets you test that section of the application.
  • Keep tests of a particular theme grouped together. You can reuse the same test suite across versions, and compare the suite run from the current version with those from previous versions. In addition, you can run the same suite on different environments and compare suite runs to check for any regressions.
  • Enforce the order of a series of tests. You can ensure that a series of manual tests are run in a specific order, so that a test cannot be run until the previous tests in the test suite have been completed.
  • Different people run the tests. The owner of the test suite receives the compiled results for the test suite's test. This method is particularly helpful for regression testing.

Tip: The best practice is to create maintainable and reusable test suites with a relatively small number of tests. You can organize your tests in suites based on one of the suggestions above, and then analyze the results across suites at a higher level, such as release, milestone, or environment.

Back to top

Create a test suite

Create a test suite to contain the tests you want to group together.

To create a test suite:

  1. Open the Tests page in the Quality or Backlog modules.

  2. If you want to add tests directly to the new test suite, select those tests in the grid.
  3. Right-click in the tests grid, and select Create Test Suite.
  4. Set the test suite attributes. In particular, provide a value for the Backlog coverage and Application modules attributes.

  5. Click Add. The test suite is created.

    Tip: To add tests to the new test suite immediately, click Add & Edit. For details on adding tests, see Add tests to a test suite.

Back to top

Add tests to a test suite

You can add tests to a test suite either from within the test suite, or from the Tests page.

You can add the same test to a suite multiple times, so for example you could run an automated test twice using different environments or execution parameters.

To add tests to a test suite from within the test suite:

  1. Open the Tests page in the Quality or Backlog module.
  2. Open a test suite and select its Planning tab.
  3. To add existing tests to the test suite:

    1. Click the Add Existing Tests button.
    2. Select all the tests you want to include.
    3. Click Add.
  4. To add new tests to the test suite:

    1. Click + Manual Test or use the down arrow to select Gherkin Test.
    2. Set values for the test fields. For details, see Create manual tests or Create Gherkin tests.
    3. Click Add. The new test is created and automatically added to the test suite.

To add tests to a test suite from the Tests page:

  1. Open the Tests page in the Quality or Backlog module.
  2. Select the tests you want to add to a test suite.
  3. Right-click and select Add to Test Suite.
  4. In the Add to Test Suite dialog box, select all the test suites to which you want to add the tests.

Note: After you add tests to a suite, any changes you make to the following fields apply only within that particular test suite. The changes do not affect the test outside of the test suite.

  • Backlog coverage (in suite)
  • Test runner (in suite)
  • Data set (in suite)

Back to top

Parameterize UFT One tests

If you add executable UFT One tests to a test suite and your UFT One Git repository contains data tables, parameterize your test runs using data tables.

Tip: For ValueEdge to locate the data tables in Git, store them in an entirely separate folder from your tests.

To parameterize your test runs using data tables:

  1. In the test suite, open the Tests tab and select the grid view.
  2. Add the Data table column to the grid.
  3. In the UFT One test's row, select a data table to use for the test run. The list of data tables includes all of the data tables that ValueEdge discovered with your tests.

When the suite runs this test, it will run with the data table you selected.

To run a test with different data tables, add the test to different test suites. In each suite, you can specify a different data table for this test.

Back to top

See also: