Adding test variant value restrictions
Test variant restrictions limit search and filter results to test cases that do or do not contain any, all, or only selected values as included or excluded test variant values. You can also limit results by supported variant values, which finds test cases that do not explicitly include or exclude selected values. For example, you can create a restriction based on the Operating System variant to find test cases with Windows as an included test variant value.
1. Click Add on the Add Filter, Edit Filter, or Advanced
The Add Restriction dialog box opens.
2. Select the test variant to add to the restriction from the Restrict by list.
The options you can set change based on the selected variant.
3. If you are adding a restriction to a filter, select Prompt for restriction information at run time to prompt for criteria when the filter is applied.
If this option is selected, you are prompted to enter or select criteria when applying a filter to a list
You may want to select this option if the restriction information changes frequently so you do not have to edit the filter. The restriction information you enter in the filter is used by default. See Selecting interactive filter criteria.
4. Select the type of test variant values to search.
- Included test variant values searches for test cases with the selected values as included variant values.
- Excluded test variant values searches for test cases with the selected values as excluded variant values.
- Supported test variant values searches for test cases that allow the selected values. Supported variant values are not excluded values, but may not be included values.
5. Select an option to indicate if the results should contain the selected variant values.
- Contains searches for test cases that contain the values.
- Does not contain searches for test cases that do not contain the values.
6. Select an option to indicate how to search for the selected variant values.
- Any of the following items searches for test cases that contain one or more of the values.
- All of the following items searches for test cases that contain all the values.
- Exactly the following items searches for test cases that contain only the values.
7. Select the variant values to search for.
Click Select All to select all values or Select None to clear all selected values.
8. Click OK to add the restriction.
9. Click Add to add additional restrictions.