Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Test Edition
Testing Tools Tasks
Managing Tests
 How to: Add a Test Result to a Work...
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Team System
How to: Add a Test Result to a Work Item

After you run tests and obtain test results, you can create a work item directly from a test result, using the Test Results window. If the test result has already been published, it is automatically linked to the work item. If the test result has not yet been published, you will be prompted to publish it.

If you choose not to publish the test result, you can add it to the work item after the fact, as described in the following procedure.

Important noteImportant Note:

The work item database resides on a Team Foundation Server computer. This means that you can create work items, including bugs, only if you have Team Explorer installed, and your Visual Studio user session is connected to a Team Foundation Server computer. For more information, see How to: Connect to Team Foundation Server.

To add a test result to a work item

  1. Run tests, obtain test results, and create a work item from the test results. For more information, see How to: Create a Work Item from a Test Result.

  2. Click View, and then click Team Explorer.

  3. In Team Explorer, open the work item.

  4. Click the Links tab.

  5. Click Add.

    The Add Link dialog box is displayed.

  6. Click the down arrow in the Link type box.

  7. Click Test Result.

  8. Click Browse.

    The Choose Test Result dialog box is displayed.

  9. Locate the published test result, select it, and then click OK.

  10. (Optional) Type a comment for this link.

  11. In the Add Link dialog box, click OK.

    The link to the test result appears under the Links tab of the work item.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker