0 out of 6 rated this helpful - Rate this topic

How to: Save and Open Test Results in Visual Studio

After you run a Web performance test or a load test in Visual Studio, the results of the test that was executed in that run are saved automatically on your computer in a test run file. You can open any test runs that were saved, view results of recently run tests, or save copies of test runs to a different location. How many test runs are saved automatically depends on a setting in the Options dialog box.

This topic is about using Visual Studio to save and open Web performance test and load test results. For information about viewing automated test results in the Test Explorer, see Run Tests from Test Explorer. For more information about how to save and open test results in Microsoft Test Manager, see How to: View Manual Test Case Results Using Microsoft Test Manager.

Note Note

Microsoft Test Manager is provided as part of Visual Studio Ultimate, Visual Studio Premium, and Visual Studio Test Professional products.

Requirements

  • Visual Studio Ultimate

How many test runs are saved by default dictates how many previously run tests you can open or copy to a different location.

To change how many test runs are automatically saved

  1. On the Tools menu, choose Options.

  2. In the Options dialog box expand Web Performance Test Tools, choose Test Execution, and under Test Results Management set the number of tests that you want to have saved automatically.

How you open test results depends on how they were saved. If you run multiple tests in a single session you can quickly open the previously run tests. You can also open tests that were saved automatically, or you can open tests that you saved to a chosen location.

To open results of recently run tests

  1. In the Test Results window, in the Select Run list, choose the test run you want to open.

    How many runs are available depends on how many tests you ran during the current session. It may also be limited by a setting in the Options dialog box.

  2. (Optional) In the Result list, right-click a test and choose View Test Results Details to see more information about that particular test.

  3. (Optional) For unit tests, in the Result list, double-click a test to go to that test method in your unit test code. If double-clicking does not open your test code, you may need to change a setting in Test Execution section of the Test Tools Tab of the Options dialog box.

  4. (Optional) To view test result details, including any data and diagnostic adapter attachments, choose Run Details in the toolbar. For more information, see Setting Up Machines and Collecting Diagnostic Information Using Test Settings.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.