Bagikan melalui


How to: View Test Results Using Microsoft Test Manager

You can view the details of the results of your tests using Microsoft Test Manager based on each test point in your test suite. A test point is the pairing of a test case with a test configuration in a specific test suite. If you have multiple configurations that you want to use when you run your test, you have a test point for each pairing of the test with a configuration as shown in the following illustration. Each test point corresponds to an individual test result.

Running Manual Tests in Different Test Suites

The test results show you if the test failed or passed for previous runs on the same or different test configurations. If the test failed, you can use this information to help determine the reason the test failed and set the failure type or resolution for the failure. In addition, you can view any attachments that were added to the test results.

The following illustration shows how you can view the test results of an individual test.

View Test Results

For more information about how to view the results of an entire test run, see How to: Analyze Test Runs Using Microsoft Test Manager.

To view test results

  1. Open Microsoft Test Manager.

    Note

    To display the Microsoft Test Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test Manager 2010.

  2. On the center group switcher, click the down-arrow and then select Testing Center.

  3. In the center group menu bar, click Test.

  4. The Run Tests activity is displayed.

  5. In the menu under the center group menu bar, click Run Tests if it is not already selected.

  6. In the left pane, under Run Tests, select the test suite listed under the test plan that contains the tests that have the results you want to view.

    Note

     You can click Filter to help you search for test cases. You can use the Tester drop-down list box to filter by the tester assigned to the tests, or you can filter by Configurations.

    The right side pane displays the test points within the selected test suite.

  7. To view the results of a specific test point, select the test point and then click View results.

    The most recent test results are shown for that test together with all the details and any data that was collected when the test was run.

    Note

       If there are no results for the selected test case, the View results button is disabled.

  8. To select a reason that a test failed, click Failure type in the Summary section.

  9. To select a resolution for why the test failed, click Resolution in the Summary section.

  10. To add a comment to the latest test result for this test, type in Comments.

  11. To view the details of Test Case, Test Run or, Test Plan associated with this result, click View.

  12. To add notes, click Notes, type in the notes you want to add, and then click Update notes.

  13. In the Attachments pane, follow these steps:

    1. To open attachment, select the file and click Open.

    2. To save an attachment in another location, select the file and click Save As.

    3. To add attachments to the test result, click Add.

    4. To delete an attachment, select the file and click the delete icon.

  14. In the Links pane, follow these steps:

    1. To open an item, select the item and click Open.

    2. To add a new item, click Add.

  15. In the Result History pane, follow these steps:

    1. To view the details of a test, select the test and click View.

    2. To create a bug from the test result, select the test and click Create bug. For information about how to create a bug from the test result see How to: Submit a Bug Using Microsoft Test Manager.

      Note

      In this pane, you can view the test results history of each time the test has been run for this test plan.

  16. To save the changes made to the test result, click Save and Close.

See Also

Tasks

How to: Run Manual Tests

How to: Analyze Test Runs Using Microsoft Test Manager

Concepts

How to: Delete Test Results

Running Tests