Export (0) Print
Expand All

Quick Start Guide for Testing on Virtual Environments

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This is a Quick Start guide for Lab Management. The guide helps you get up and running quickly by describing how to use virtual environments for manual testing. The following procedures describe the key steps for this Quick Start guide:

  1. Run tests on a virtual environment

  2. Create a bug with a snapshot of the environment

  3. Open the bug and connect to the environment from Visual Studio

This Quick Start guide goes hand-in-hand with Quick Start Guide for Manual Testing. This guide adds some additional steps, which become possible when you use Lab Management. Before starting these procedures, make sure that the following assets are created:

To run tests on virtual environment

  1. Create manual test settings.

    1. In Microsoft Test and Lab Manager, click Lab Center, Test Settings, and then click New.

    2. On the General wizard page, type the name for the manual test settings, and then select Manual type of tests.

    3. On the Roles wizard page, select the combination of roles that are appropriate for your virtual environment.

    4. On the Data and Diagnostics wizard pageselect the appropriate collectors on each virtual machine and on the Local, where the tests will be run from.

    5. Save the test settings.

  2. In Microsoft Test and Lab Manager, click Testing Center, Test, and then click Run Tests. Click the drop-down list next to Run and click Run with options. In the Run Options dialog box, click the appropriate build, test settings, and virtual environment, and then click Run.

  3. After the Microsoft Test Runner is launched, click Start Test. Use the client for your application to test your application. All the selected logs are collected from the virtual machines while you perform your testing.

To create a bug with a snapshot of the environment

  1. In Microsoft Test Runner, when you perform your testing and encounter a bug, click the Take environment snapshot button. The environment is frozen for a few seconds while the snapshot is taken.

  2. Click Create bug to file a new bug.

  3. In the bug work item editor:

    1. Enter a title for the bug.

    2. Notice the link to the snapshot being attached as part of the bug.

    3. Save and close the bug.

  4. End the testing and close Microsoft Test and Lab Manager.

To open the bug and connect to the environment from Visual Studio

  1. In Team Explorer, click Team Queries, Active Bugs.

  2. In the list of bugs, locate the bug that has just been filed.

  3. In the bug, locate and then click the link to environment snapshot on which the bug was found.

  4. In the Connect to Snapshot dialog box, click Connect to the snapshot in this environment and then click Connect. This launches the Microsoft Environment Viewer and connects to the snapshot of the exact same environment where the bug was found.

© 2015 Microsoft