New/Edit Testplan Query Dialog Box

Use to construct a query from attributes, symbols, the script, the test case, and test data. This dialog is only available when a test plan is open and the test plan window is active.

Click Testplan > Mark by Named Query and then click New or Edit. To access the Edit Testplan Query dialog box, you must select an existing test plan query.

Query name

Type the name of the query. This is optional. Named queries are stored by default in testplan.ini. The initialization file is specified in the Data File for Attributes and Queries field in the General Options dialog box.

Test Execution tab

Script

Specifies the full path of the script that you want to display on the current line of the test plan. To browse for the correct script, click Scripts to display the Testplan Detail Scripts dialog box. Once you select a script, the Testplan Editor writes the selected script into the test plan, beginning the line with the reserved word script, followed by a colon.

Test case

Specifies the name of the test case that you want to display on the current line of the test plan. To browse for the correct test case, click Test Cases to view the test cases contained in the script that you have specified in the Script field. Once you select a test plan from the Testplan Detail Testcase dialog box, the Testplan Editor writes the selected test case into the test plan, beginning the line with the reserved word testcase, ddatestcase for a data-driven test case, followed by a colon. To build a query that marks only manual tests, type the keyword manual into the Test case field.

Test data

Specifies the data values that you want to pass to the test case. Separate each value with a comma. The Testplan Editor writes the data you specify here to the current line of the test plan, beginning the line with the reserved word testdata, ddatestdata for a data-driven test case, followed by a colon.

Scripts

Click to select a script to include in the query or type the script name into the Script field.

Test Cases

Click to select a test case to include in the query or type the test case name into the Test case field.

Test Attributes tab

Use the Test Attributes tab to assign existing attribute values to your test plan. For information about adding new attributes and values, see Defining an Attribute and the Values of the Attribute.

Category

Lists the available categories. Click the arrow to select a category from the list.

Component

Lists the available components. Click the arrow to select a component from the list.

Developer

Displays the available developers. Click the arrow to select a developer from the list.

Symbols tab

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.

Symbols will be ignored for a data-driven test case.

Edit

Select a symbol from the list and then click Edit to modify the symbol in the field below the symbols 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 test plan.

Add

Type the symbol definition in the field below the symbols list, and then click Add. The newly-defined symbol displays in the list. You do not need to enter the $ character because the Testplan Editor takes care of this when it inserts the definitions into the test plan.