How to: Record a Video of Your Desktop as You Run Tests Using Test Settings

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

You can configure the diagnostic data adapter that records a video from Microsoft Test and Lab Manager and Microsoft Visual Studio 2010. This diagnostic data adapter saves a video recording of the desktop session during the test with the test result or attached to a bug. Videos can help other team members isolate application defects that are difficult to reproduce.

To create a video recording, you must install the appropriate software. For more information about which software to install, see How to: Install the Required Software to Create a Video Recording Using Test Runner.

Caution noteCaution

The video recordings do not support multiple monitor configurations.

The following procedure describes how to configure the diagnostic data adapter for the video recorder from the configuration editor. These steps apply to both the configuration editor in Microsoft Test and Lab Manager and Microsoft Visual Studio 2010.

The video recorder can be used with either manual or automated tests. For example, if you run a coded UI test remotely you might want to record the desktop to see the coded UI test as it runs. For more information about how to capture a video recording remotely, see How to: Set Up Your Test Agent to Run Tests That Interact with the Desktop.

Caution noteCaution

Video recordings on tests use the Windows Media Encoder 9 Series. There is a known issue using Windows Media Encoder 9 Series where the UI controls that require you double-click might not respond as expected. For a workaround, see http://go.microsoft.com/fwlink/?LinkId=160564.

Configuring Video Recording for your Test Settings

To configure video recording for your test settings

  1. Select the role to use to record the video.

    NoteNote

    For manual tests and automated tests this would be the machine that runs the tests.

  2. Select Video Recorder and then click Configure.

    The dialog box to configure video recording is displayed.

  3. Type the value for the maximum length of the video recording in Reset video when recording length exceeds.

    NoteNote

    The video length is not rolling. When it reaches the specified maximum length, the video recorder will throw the recording away and start a new recording.

  4. If you are using Microsoft Test and Lab Manager, click Save. If you are using Visual Studio, click OK. The diagnostic trace collector settings are now configured and saved for your test settings. 

    NoteNote

    To reset the configuration for this diagnostic data adapter, click Reset to default configuration for Visual Studio and Reset to default for Microsoft Test and Lab Manager.

See Also

Tasks

Concepts

Page view tracker