How to: Update an Existing Bug while using Test Runner
When you run a manual test and discover a defect in the application under test, you can submit a new bug directly from the Test Runner. For more information, see How to: Submit a Bug using Test Runner. You can also add information to an existing bug while you are running a test with Test Runner, as described in this procedure.
Requirements
- Visual Studio Ultimate, Visual Studio Premium, Visual Studio Test Professional
Note
You can also have the Test Runner record aspects of your manual test that you can submit with the bug. This provides more information to the person who will fix it. For more information about recording, see Recording and Playing Back Manual Tests.
To update an existing bug from Test Runner
In Test Manager, start to run a test. For more information, see How to: Run Manual Tests.
As you run the test case, mark steps as Pass, as appropriate.
When you discover an additional application defect that you want to add to an existing bug, mark the validation test step on which you discovered that defect as Fail.
(Optional) To type a comment for the failed test step, type your comment text into the text box next to the comment icon that is displayed.
Note
You can also add comments at any point in the test step by using the comment icon in the toolbar. For more information, see How to: Add a Comment while Running a Test.
(Optional) To take a screen shot for either a rectangular area that you can define, the specific window associated with the application under test, or the whole screen, choose the arrow next to Capture on the toolbar and select either Capture rectangular screenshot, Capture full screenshot or Capture window screenshot.
The window is saved in an image file that has the .png extension. It is listed as part of the test step. You can annotate it and save it. For more information, see How to: Capture a Screenshot while Running a Test.
Note
You can also create a video recording of the desktop session during the test. The recording will be attached as a .wmv file together with the test results. This can be useful to help a developer view what occurred when the bug was found. For more information about how to create a video recording, see How to: Include Recordings of the Screen and Voice During Tests Using Test Settings
(Optional) You can attach a file which can provide additional information to support the issue. Choose Add attachment to step result in the toolbar.
Select the test step where the bug occurred and then choose the down-arrow next to Create a bug button on the toolbar and select Update an existing bug.
The Update an Existing Bug dialog box appears.
Select one of the following methods to find the bug that you want to add information to:
Saved query Choose the drop-down list and select a query to isolate the bug that you want to add information to, or use the (…) button to locate a saved query on your computer.
IDs If you know the ID number of the bug you want to modify, type it in the text box.
Title contains Enter a known part of the title of the bug that you want to make additions to. Then in the and type drop-down list, select Bug.
Choose Find.
Under Select items to add to the work item list, choose the bug in the list that you want to add information to and then choose Add.
The bug is displayed.
Under History, type comments that indicate the additional information, issues, or corrections that you want added to the bug.
Make any other necessary corrections and edits to the bug.
To save the updates in the bug, choose Save.
See Also
Tasks
How to: Include Recordings of the Screen and Voice During Tests Using Test Settings
How to: Submit a Bug using Test Runner