[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
To manage the queries that you create for searching for specific items using Microsoft Test and Lab Manager, use the following procedures:
Create a Subfolder to Store a Query
To create a subfolder to store a query
Open Microsoft Test and Lab Manager.
Note |
|---|
To display the Microsoft Test and Lab Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test and Lab Manager. |
To open the Queries activity, click the down-arrow on the center group switcher and click Testing Center.
In the center group menu bar, click Track and then click Queries.
The Queries activity is displayed.
To create a subfolder, right-click Team Queries folder, My Queries folder, or any other folder and then click New folder.
Type the name for this new subfolder.
To add a query to this new subfolder, right-click this new subfolder and then click New query.
To update a query
Open Microsoft Test and Lab Manager.
Note |
|---|
To display the Microsoft Test and Lab Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test and Lab Manager. |
To open the Queries activity, click the down-arrow on the center group switcher and click Testing Center.
In the center group menu bar, click Track and then click Queries.
The Queries activity is displayed.
To display the clauses for a query, click the query in the tree view in Queries.
To update the query, edit the existing clauses or add new clauses.
To see the results of your query, click Run to run the query.
(Optional) If the query returns several test cases, you might want to sort the results. Click a column header in the query results table to sort by that column.
(Optional) To group the query results by a column, drag a column header in the query results table to the title bar of the query results.
(Optional) To display more columns for the query results, click Column options. In the Column Options dialog box, select the columns to add from Available columns, click the arrow to add these columns to the Selected columns, and then click OK.
When the query you created returns the correct items that you want to view, click Save on the toolbar.
The query is now saved.
To rename a query
Open Microsoft Test and Lab Manager.
Note |
|---|
To display the Microsoft Test and Lab Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test and Lab Manager. |
To open the Queries activity, click the down-arrow on the center group switcher and click Testing Center.
In the center group menu bar, click Track and then click Queries.
The Queries activity is displayed.
To rename a query, right-click the query in the tree view in Queries and then click Rename.
Type the new name for this query.
The query is now displayed with the new name in the tree view of queries.
To delete a query
Open Microsoft Test and Lab Manager.
Note |
|---|
To display the Microsoft Test and Lab Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test and Lab Manager. |
To open the Queries activity, click the down-arrow on the center group switcher and click Testing Center.
In the center group menu bar, click Track and then click Queries.
The Queries activity is displayed.
To delete a query, right-click the query in the tree view in Queries and then click Delete.
A confirmation dialog box is displayed.
To confirm deletion of the query, click Delete query.
The query is no longer displayed in the tree view of queries.
Tasks