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 New or Edit. To access the Edit Testplan Query dialog box, you must select an existing test plan query.
and then clickType 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.
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.
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.
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.
Click to select a script to include in the query or type the script name into the Script field.
Click to select a test case to include in the query or type the test case name into the Test case field.
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.
Lists the available categories. Click the arrow to select a category from the list.
Lists the available components. Click the arrow to select a component from the list.
Displays the available developers. Click the arrow to select a developer from the list.
Symbols will be ignored for a data-driven test case.
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.
Select a symbol from the list and then click Remove to remove the symbol from the test plan.
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.