Dela via


Submitting Bugs

Submitting bugs and tracking the status of bugs is an important task that helps you ensure that bugs are fixed. This improves the quality of the applications that you are testing. The more information that you can provide with a bug, the more quickly it can be recreated and fixed. Visual Studio Test Professional or Visual Studio Premium provide functionality to collect data that can automatically be added to a bug that you create, when you run your tests. You can submit bugs in the following ways by using Visual Studio Test Professional or Visual Studio Premium:

  • When you run a manual test using the Test Runner 

  • When you perform an exploratory test session using the Exploratory Testing window

  • From Microsoft Test Manager when you view a manual test result

  • From Microsoft Test Manager when you view an exploratory test session result

  • From Microsoft Test Manager when you view your bugs

You can also submit bugs from Visual Studio.

All these bugs can be viewed, updated and tracked using both Microsoft Test Manager and Visual Studio.

Key Tasks

Use the following topics to help you submit and track bugs:

Key Tasks

Associated Topics

Submitting Bugs When You Run Your Manual Tests: You can submit a bug immediately when you run a manual test from Test Runner. Your test steps and any information that you have collected are automatically added to the new bug that you create.

Submitting Bugs When You Perform Exploratory Test Sessions: Just like with manual tests, you can submit a bug immediately when you perform an exploratory test session from the Exploratory Testing window. Your test steps and any information that you have collected are automatically added to the new bug that you create.

Submitting Bugs from Your Test Result: You can submit a bug from Microsoft Test Manager when you view a test result. For example, when you analyze a test result and you determine that the test failed because of a product issue. You can also submit a bug from Microsoft Test Manager when you are viewing your bugs.

Submitting Bugs from Microsoft Visual Studio: You can submit bugs using Visual Studio at any time.

Customizing Which Work Item Type is Created: If you are using the standard bug work item type, when you select Create bug from Microsoft Test Manager a bug is created and data is automatically added about the test steps, system information and the build. If you are using a different work item type for a bug, you can specify that this work item type is created instead with this data when you select Create bug from Microsoft Test Manager.

Creating a New Test Case from a Bug: You can create test cases using Microsoft Test Manager from the recorded action log associated with a bug or a test result. For example, suppose you investigated an issue when you ran a test case that included steps not in your current test case and this resulted in a bug. Then you can make a new test case that includes all the new steps that resulted in this bug. This test case can be used to test the bug when it is fixed.

Tracking Your Bugs: You can track bugs that are assigned to you, or you can create queries to track your bugs.

See Also

Concepts

Running Tests

Tracking and Verifying Bugs