Run manual tests

VS 2017 | VS 2015 | VSTS | TFS 2018 | TFS 2017 | TFS 2015

Run your manual tests and record the test results for each test step using Microsoft Test Runner. If you find an issue when testing, use Test Runner to create a bug. Test steps, screenshots, and comments are automatically included in the bug.

You just need Basic access to run tests that have been assigned to you with Visual Studio Team Services (VSTS). Learn more about the access that you need for more advanced testing features.

To use the features described in this topic you must have either a Visual Studio Enterprise subscription, or have installed the Test Manager extension available from Visual Studio Marketplace.

Run tests for web apps

  1. If you haven't already, create your manual tests.

  2. Select a test from a test suite and run it.

    Select and run a specific test

    Microsoft Test Runner opens and runs in a new browser.

  3. Start the app that you want to test. Your app doesn't have to run on the same computer as Test Runner. You just use Test Runner to record which test steps pass or fail while you manually run a test. For example, you might run Test Runner on a desktop computer and run your Windows 8 store app that you are testing on a Windows 8 tablet.

    Use Microsoft Test Runner to record your test results

  4. Mark each test step as either passed or failed based on the expected results. If a test step fails, you can enter a comment on why it failed.

    Mark test steps

  5. Create a bug to describe what failed.

    Submit a bug

    The steps and your comments are automatically added to the bug. Also, the test case is linked to the bug.

    If Test Runner is running in a web browser window, you can copy a screenshot from the clipboard directly into the bug.

  6. You can see any bugs that you have reported during your test session.

    Bugs logged

  7. When you've run all your tests, save the results and close Test Runner. All the test results are stored in VSTS. How do I resume testing, or run one or more tests again?

  8. View the testing status for your test suite. You see the most recent results for each test.

    View test results

  9. Open a test and choose the test case in the Related Work section. Then use the Child links in the Related Work section of that work item to view the bugs filed by the tester.

    View bugs filed

Can I run tests offline and then import the results?

Run tests for desktop apps

If the only data you want to collect from your desktop app is screen recordings, use the web-based Microsoft Test Runner in the same way as described above for web apps.

However, if you want to collect more types of data, run your tests using Microsoft Test Manager client.

  1. Launch the test runner client from the Test hub by choosing Run with options from the Run menu.

    Launching the test runner client

  2. In the Run with options dialog, select Microsoft Test Runner 2017 or later, choose the data collectors you want to enable, and optionally select a build to associate with your test run.

    Selecting the Test Runner and options

  3. Choose OK to start testing. For more information, see Collect diagnostic data.

Can I run tests offline and then import the results?

See also

Next step