How to: Analyze Manual Test Runs Using Microsoft Test Manager
If you used Microsoft Test Manager to run automated tests or if you ran them from the command line using tcm.exe, you can analyze your automated test runs to determine why tests have failed or examine any other issues associated with the test run.
As you analyze the test results for each test, you can select a failure type and resolution for each failed test, or add a comment about your analysis to this point. To help with your analysis, you can open the test result for each test to see all previous runs of that test.
If you determine that there is an issue, you can create a bug and associate the data from the test result for this test with the bug. If you determine that the failed test is caused by a known issue, you can link that test to an existing bug. When this bug is fixed, the tester who verifies the bug can then see all the test cases that have to be rerun to verify that the bug is fixed.
If you want to add data to the test run, you can add attachments or comments to the test run itself.
To help with analysis, you might want to run your automated test using the manual test steps in the associated test case. For more information, see How to: Run a Test Case with Associated Automation as a Manual Test.
The following illustration shows how to select the run that you want to analyze and view the details.
You can also view manual test runs and analyze the details.
To analyze your test runs using Microsoft Test Manager
Open Microsoft Test Manager.
To display the Microsoft Test Manager window, choose Start, and then choose All Programs. Point to Microsoft Visual Studio 2012 and then choose Microsoft Test Manager.
To view the test results, choose the down-arrow on the center group switcher and then choose Testing Center.
On the center group menu bar, choose Test and then choose Analyze Test Runs.
The Analyze Test Runs activity is displayed. It shows any automated test runs for this test plan.
(Optional) To display manual test runs, choose Show manual runs.
The manual test runs are also displayed in the list of test runs.
Double-click a test run to open it and view the details.
The test run details are displayed.
(Optional) To update the title of your test run to be more meaningful, type the new name in Title.
(Optional) To add comments to the test run, type your comments in Comments.
For any failed tests, you can update the reason for the failure. Select the test in the list of tests, choose the drop-down arrow next to Failure type and select the reason for the failure from the list.
(Optional) For any failed tests, you can update the resolution of the failure. Select the test in the list of tests, choose the drop-down arrow next to Resolution and select the resolution from the list.
To create a bug if this failed test is caused by a new issue, choose Create bug in the toolbar.
The New Bug activity is displayed. All the test results data is automatically added to the bug. The bug is associated with the test case, so that when the bug is fixed the tester knows which test case to rerun. Type the necessary data in the bug fields and choose Save and Close. For more information about how to add data to the bug, see How to: Submit a Bug Using Microsoft Test Manager.
To link this test to an existing bug, follow these steps:
Select the test and choose Link to bug.
The Link Test Result to Existing Bug dialog box is displayed.
Edit the query as required.
Choose Run to display the bugs from the query.
Select a bug from the list, and then choose Link bug.
To add notes for a test result in the test run, follow these steps:
Select the test and choose the Notes icon.
The Notes for test result dialog box is displayed.
Type in the notes and choose Save notes.
(Optional) To view the details of the test results for an individual test, double-click the test.
The test result is displayed that shows the details from the test run, the attachments for data collected for this test result, and the test results history for that test. You can close this view to return to the test run. For more information about this view, see How to: View Manual Test Case Results Using Microsoft Test Manager.
After you examine the details and previous result history, you might determine that there is an issue. From this view, you can then create a bug that is associated with this test.
(Optional) To add an attachment to the test run, follow these steps:
Choose the drop-down arrow next to Attachments
The Add Attachment dialog box is displayed.
Choose Browse to locate the attachment.
Type a description of the attachment in Comment.
Choose OK to add the attachment to the test run.
To save any changes for the test run, choose Save in the toolbar.