|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Pause, Resume, and Stop a Test Run
Although you can start tests in several ways and from various windows, you use the Test Results window to control a test run that is underway.
To pause a test run
While a test run is underway, click Pause on the Test Results window toolbar.
This temporarily stops the test run at its current location. The order of tests in the test run is unaffected, as are results from any tests in the current test run that have already been completed.
Pausing a test does not stop a test that is currently running; it keeps the test run from moving on to the next test in the list.
Resume a test run
While a test run is paused, click Resume Test Run on the Test Results window toolbar.
The test run resumes where it was paused.
Stop a test run
While a test run is underway, click Stop on the Test Results window toolbar.
This stops the test run at its current location. The test being run is completed, but no additional tests are run. Results from any already completed tests in the current test run are retained. The status of the test that was running when you clicked Stop changes to Aborted. The status of tests that have not yet completed changes from Pending to Not Executed.
The test run can be rerun from the start, but not resumed from where you stopped it.