You can submit a bug using Visual Studio at any time during the software development process. For example, you perform ad hoc testing and find a bug, or you notice incorrect behavior while you’re discussing the application under test with your team mates. You can manually attach information to this bug and link it to other work items.
Using Visual Studio to submit a bug does not automatically add data that was collected when a test was run, unlike when you create a bug using Test Runner or the Exploratory Testing window from Microsoft Test Manager. For more information about these methods, see Submitting Bugs in Microsoft Test Manager.
To submit a bug using Microsoft Visual Studio
To create a bug, you must first connect to your Team Foundation Server. On the TEAM menu, choose Connect to Team Foundation Server. Select the server from the list of servers.
For more information about how to connect to Team Foundation Server, see How to: Connect to a Team Project in Team Foundation Server.
To connect to a specific team project, select the team project and then choose Connect.
To create a bug, on the TEAM menu, choose New Work Item and then Bug.
The New Bug tab is displayed.
Type an appropriate title in Title.
Under STATUS, perform the following optional steps:
(Optional) To select the user to assign to this bug, use the drop-down list for Assigned to.
(Optional) To change the state of this bug from the default state of active, use the drop-down list for State.
(Optional) To change the reason for the bug, use the drop-down list for Reason.
Under DETAILS, perform the following optional steps:
(Optional) Add text in the Effort field.
(Optional) To assign a severity to the bug, use the drop-down list for Severity.
(Optional) Use the drop-down list for Area to select the appropriate area in the team project for this bug.
(Optional) Add text for the Backlog Priority field.
(Optional) Add comments applicable to the error causing the bug under HISTORY.
(Optional) To link this bug to other work items, choose LINKS and then choose Link to.
(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.
To save the bug, choose Save Work Item on the toolbar.