How to Work with Test Configurations
This task describes how to work with test configurations.
-
Prerequisites
-
If using test configurations for finer granularity of test coverage, define requirements in the Requirements module. For task details, see How to Create Requirements.
-
Define tests in the Test Plan module. When you create a test in the Test Plan module, a test configuration with the same name as the test is created automatically.
For task details on creating tests, see How to Create Tests.
For task details on test parameters, see How to Use Test Parameters.
-
-
Define test configurations
-
In the test plan tree, select a test , and click the Test Configurations tab. For user interface details, see Test Configurations Tab.
-
Create configurations for the test. Click the New Test Configuration button and enter your test configuration details. For user interface details, see the New Test Configuration/Test Configuration Details Dialog Box.
-
Select a test configuration and click the Test Configuration Details button.
-
In the Test Configuration Details dialog box, click the Data tab. The fields displayed in the Data tab vary depending on the test type.
Tip: Business Process Testing users can click the Test Combination Generator button and generate test configurations with unique combinations of data values. For task details, see How to Generate Combinations for Test Configurations. For user interface details, see the Test Combinations Generator.
-
-
Associate data with each test configuration
Depending on the test type, you can associate static data, dynamic data, or both for your test configuration. The Data tab accurately reflects your available options. For details, see Test Types and Test Configuration Data Association.
For task details on associating static data (data entered directly into a grid in ALM), see How to Associate Static Data.
For task details on associating dynamic data (data saved externally in data table resources), see How to Associate Dynamic Data.
-
Create coverage - optional
Link requirements to the test or to specific test configurations. For task details, see How to Create Coverage.
-
Define test sets
You define a test set in the Test Lab module. A test set can include any or all of the test configurations defined for a test, or it can include test configurations based on requirement coverage. When you run a test set, the parameter values are retrieved from the data set according to the settings defined for each test configuration.
For task details, see How to Create Test Sets.
-
View test results
View the test set run results. For task details, see How to View Test Runs.