Share via


How to: Submit a Bug Using Microsoft Test Manager

You can submit a bug from Microsoft Test Manager without having to switch to Visual Studio. For example, you perform ad hoc testing and find a bug, or you notice incorrect behavior from discussion of the application under test. You can submit a bug from Microsoft Test Manager as shown in the following illustration.

Submitting a bug in Microsoft Test Manager

In addition, you can submit a bug from your test results. In this case, any information that is collected or associated with the test results is automatically added to the bug.

Requirements

  • Visual Studio Ultimate, Visual Studio Premium, Visual Studio Test Professional

Note

When you submit a bug, the system information for the computer is collected at this point and attached to the bug. Otherwise, the system information is collected when you end the test or the iteration, and then it is attached to the test results.

Later, if you create a bug from these test results after the test was run, the system information added to the bug is the system information that was collected when the test or iteration ended.

Use the following procedures to submit a bug from Microsoft Test Manager:

  • Submit a bug from the Verify Bugs view

  • Submit a bug from the test results for a test

Note

When you create a bug from Test Runner, the action, details, and procedural step information are automatically attached to the bug. For more information, see How to: Submit a Bug using Test Runner.

To Submit a Bug from the Verify Bugs View

You must manually enter system information and the steps to re-create the bug with this procedure.

To submit a bug from the verify Bugs view

  1. Open Microsoft Test Manager.

    Note

    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.

  2. Choose the down-arrow on the center group switcher and then select Testing Center.

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

  4. Choose Verify Bugs.

  5. To submit a bug, choose New in the toolbar.

  6. Type an appropriate title in Title.

  7. Choose Area to select the appropriate area in the team project for this bug.

  8. Choose Iteration to select the appropriate iteration for this bug.

  9. (Optional) To select the user to assign to this bug, choose Assigned to.

  10. (Optional) To change the state of this bug from the default state of active, choose State.

  11. (Optional) To enter the reason for this bug, choose Reason.

  12. To assign a priority to the bug, choose Priority.

  13. To assign a severity to the bug, choose Severity.

  14. To enter the details to re-create the bug, choose Details.

  15. (Optional) To enter the system information, choose System Info.

  16. (Optional) To link this bug to specific test cases, choose Test Cases. Choose Add and then choose Browse to search for the test cases to link to this bug.

  17. (Optional) To add attachments to this bug, choose Attachments. Any file can be added. For example, you could add a video recording file, a screen shot file or a log file.

  18. To save the bug, choose Save and Close on the toolbar.

To Submit a Bug from Test Results for a Test

To submit a bug from test results for a test

  1. Open Microsoft Test Manager.

    Note

    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.

  2. Choose the down-arrow on the center group switcher and then select Testing Center.

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

  4. Choose Run Tests.

  5. To select the test that has associated test results to use when you create the bug, right-click the test and then choose View results.

  6. To create a bug, select the test result to use and then choose Create bug.

    The New bug activity is displayed and the information and the attached files associated with the test result are automatically added to the bug.

  7. Type an appropriate title in Title.

  8. Choose Area to select the appropriate area in the team project for this bug.

  9. Choose Iteration to select the appropriate iteration for this bug.

  10. (Optional) To select the user to assign to this bug, choose Assigned to.

  11. (Optional) To change the state of this bug from the default state of active, choose State.

  12. (Optional) To enter the reason for this bug, choose Reason.

  13. To assign a priority to the bug, choose Priority.

  14. To assign a severity to the bug, choose Severity.

  15. To enter the details to re-create the bug, choose Details.

  16. (Optional) To enter the system information, choose System Info.

  17. (Optional) To link this bug to specific test cases, choose Test Cases. Choose Add and then choose Browse to search for the test cases to link to this bug.

  18. (Optional) To add attachments to this bug, choose Attachments. Any file can be added. For example, you could add a video recording file, a screen shot file, or a log file.

  19. To save the bug, choose Save and Close on the toolbar.

See Also

Tasks

How to: Submit a Bug using Test Runner

Concepts

Submitting Bugs