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.

Updating bugs in Test Runner

To update an existing bug from Test Runner

  1. In Test Manager, start to run a test. For more information, see How to: Run Manual Tests.

  2. As you run the test case, mark steps as Pass, as appropriate.

  3. 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.

  4. (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.

  5. (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

  6. (Optional) You can attach a file which can provide additional information to support the issue. Choose Add attachment to step result in the toolbar.

  7. 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.

  8. Select one of the following methods to find the bug that you want to add information to:

    1. 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.

    2. IDs   If you know the ID number of the bug you want to modify, type it in the text box.

    3. 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.

  9. Choose Find.

  10. 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.

  11. Under History, type comments that indicate the additional information, issues, or corrections that you want added to the bug.

  12. Make any other necessary corrections and edits to the bug.

  13. 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

Concepts

Running Manual Tests Using Test Runner