background image
<< Marking Testplans - Creating a new query by combining existing queries | Marking Testplans - How to edit queries >>
Marking Testplans - How to combine queries
<< Marking Testplans - Creating a new query by combining existing queries | Marking Testplans - How to edit queries >>
User's Guide
251
11 C
ATEGORIZING
AND
M
ARKING
T
ESTPLANS
Creating and modifying testplan queries
Combining by intersection Combining two or more queries by intersection
creates a new named query that marks every test that has the criteria specified
in all constituent queries.
For example, combining Query1 and Query2 by intersection would create a
new query that comprised these criteria: Developer is Emily and Craig,
Component is Searching, and TestLevel is 2. In this case, the new query
would not mark any tests, since it is impossible for a test to have two different
values for the attribute Developer (unless Developer were defined as type Set
under Windows). Use care when combining queries by intersection.
How to combine
queries
Procedure To combine queries:
1
Select Testplan/Mark by Named Query to display the Mark by Named
Query dialog.
2
Click the Combine pushbutton.
The Combine Testplan Queries dialog appears, as shown in the following
figure. All existing named queries are displayed in the Queries to
Combine list box.
3
Specify a name for the new query in the Query Name field.
4
Select two or more queries to combine from the Queries to Combine list
box.
5
Select a radio button representing the combination method to use: either
Union of Queries or Intersection of Queries.
6
Click OK to save the new query.
The Combine Testplan Queries dialog closes and the Mark by Named
Query dialog is once again visible.