Mark By Query Dialog Box

You can use the Mark By Query dialog box to mark a set of tests in a test plan based on a query which is constructed out of a combination of attributes, symbols, the script, the test case, and the test data. This dialog box is only available when a test plan window is active.

To open the Mark By Query dialog box click Testplan > Mark by Query.

The dialog box includes the following controls:

Control
Description
Query name
Optional: The name of the query. Named queries are stored by default in the testplan.ini file. The .ini file is specified in the Data File for Attributes and Queries field in the General Options dialog box.
Unmark all before query
Check to clear all marks before running the query. Uncheck to retain existing marks. By default this check box is checked and all marks are cleared.
Mark
Click to close the dialog, run the query against the test plan, and mark all tests in the test plan that are returned by the query.

Test Execution tab

Use the Test Execution tab to select the script, test case, and test data in the test plan for which the query should search.

Control
Description
Script
Specify the full path of the script for which the query should search. To browse for the correct script, click Scripts.
Testcase
Specify the name of the test case for which the query should search. To browse for the correct test case, click Testcases. To query for test cases in a specific script you must specify the script before you can specify the test case. To build a query that marks only manual tests, type the keyword manual into the Testcase field.
Test data
Specifies the data values for which the query should search. Separate each value with a comma.

Test Attributes tab

Use the Test Attributes tab to add attribute values in the test plan to the query.

Control
Description
Category
Select a Category value to add the tests which belong to this category to the query.
Component
Select a Component value to add the tests which have this component to the query.
Developer
Select a Developer value to add the tests which are developed by this developer to the query.

Symbols tab

Use the Symbols tab to add symbols in the test plan to the query.

Note: Do not type the dollar sign ($) prefix before the symbol name. The wildcard characters * (asterisk) and ? (question mark) are supported for partial matches: * is a placeholder for 0 or more characters, and ? is a placeholder for 1 character.
Control
Description
Edit
Select a symbol from the list and then click Edit to modify the symbol in the text box below the list. Click Replace after you have made your modifications.
Remove
Select a symbol from the list and then click Remove to remove the symbol from the query.
Add
Type the symbol definition in the box below the list of symbols, and then click Add. The newly-defined symbol appears in the list and is added to the query.