Share via


How to: Delete Test Results

To save disk space, you might want to delete test results. How you delete them depends on whether they were run from within Visual Studio or from within Microsoft Test Manager.

Microsoft Test Manager

After you run a test in Microsoft Test Manager you can choose to save the test results. If you do so, the results are associated with the test plan that contains that test.

To delete results of tests run from Microsoft Test Manager

  1. In Microsoft Test Manager, select the test plan that contains the results you want to delete.

  2. In the Testing Center, choose Test, and then choose Analyze Test Runs.

  3. In the list of test runs, choose the run you want to delete and then choose the red Delete test run icon.

Visual Studio

After you run a web performance or a load test in Visual Studio, results are saved automatically on your computer.

To delete results of web performance and load tests run from Visual Studio

  1. In Visual Studio, open the test run that contains the test results you want to delete.

    1. On the VIEW menu, point to Other Windows, and then choose Test Results.

    2. In the Test Results window, choose the down arrow, and then choose Manage test runs.

    3. In the Test Runs window, in the Connect list, choose the down arrow, and then choose Connect to test run.

    4. In the Connect to Controller or Local Results dialog box, select either a remote controller or a local directory and then choose OK.

      Note

      If you select a local directory, choose Browse to find the correct projects TestResults folder.

  2. In the Test Runs window, select the runs you want to delete and on the Test Runs window toolbar, choose Delete.

See Also

Tasks

How to: Save and Open Web Perfornace and Load Test Results in Visual Studio

Concepts

Running Tests in Microsoft Test Manager