How to: Run a Test Case with Associated Automation as a Manual Test

You might want to run a test case that has automation associated with it as a manual test case using Microsoft Test Manager. This lets you run each test step and determine whether there are any issues. For example, if you have a coded UI test that has failed, you might want to manually step through the test steps to determine if there is an issue with the application under test or with the test itself.

Requirements

  • Visual Studio Ultimate, Visual Studio Premium, Visual Studio Test Professional

Use the following procedure to run an automated test in your test plan as a manual test.

To run a test case with associated automation as a manual test

  1. Open Microsoft Test Manager.

    Note

    To display the Microsoft Test Manager window, choose Start, and then choose All Programs. Point to Microsoft Visual Studio 2012 and then choose Microsoft Test Manager.

  2. To run the automated test as a manual test, choose the down-arrow on the center group switcher and then choose Testing Center.

  3. On the center group menu bar, choose Test.

  4. To override running as an automated test, right-click the test and then choose Run with options.

    The Run options dialog box is displayed.

    Note

    You can run multiple automated tests manually by selecting multiple tests, or you can select to run a whole suite of tests. To run a suite, right-click the test suite and then choose Run with options.

  5. Select Run all the tests manually.

  6. (Optional) To override the test settings to use for running the test manually that you selected in this test plan, choose Test settings under Manual test runs and select the test setting that you want to use.

  7. (Optional) You can also override the environment used in the test settings for your test plan. To do this, choose Environment under Manual test runs and select another environment from the list.

    Note

    This environment must have the same roles as the test settings that you use.

  8. To run the automated test as a manual test, choose Run.

  9. Test Runner opens with the automated test displayed in the list of tests.

  10. In Test Runner, click Start test.

    Note

    You can increase the speed and efficiency of tests using action recordings. To create an action recording to use to play back your test later, choose Create action recording. For more information about action recordings, see Recording and Playing Back Manual Tests.

  11. Perform the steps in the test case.

  12. To mark the result of a test step, choose the drop-down for the Ready icon to the right of the test step and then choose either Pass or Fail.

    Note

    To pause the test case at any time, choose Pause. If you are recording the test case, choosing Pause also pauses the video recording. To resume the test case and the video recording, choose Resume.

  13. If you find a bug, choose Create bug.

    The New Bug dialog box is displayed. Any data that you have attached or collected will automatically be added to the bug. For more information, see How to: Submit a Bug using Test Runner.

  14. When you have finished testing, choose End Test.

    A result for the test is now marked in the Tests pane, based on the test step results. If you chose to record the test, the recording is automatically stopped and saved.

    Important

    The overall result for a test is based on the status for all the test steps that were marked. Therefore, if one test step is marked as failed then the test will have a status of failed.

    You must mark a test step with a status if it is a validation test step. Otherwise, the test will be automatically marked as failed.

  15. To save your test results, choose Save and Close.

    The test results are saved in your test plan.

    Note

    If you want to discard your test results, just choose Close.

See Also

Tasks

How to: Analyze Manual Test Runs Using Microsoft Test Manager

Concepts

Reviewing Test Results