NOTE: Edited this post Sept 2010 to account for changes Microsoft has made. Video recording now uses Expression Encoder 4.0 as of August 2010. This replaces the prior setup for Windows Media Encoder and Expression Encoder 3.0.

Microsoft Test Professional allows testers to capture their testing activities as a video and include that video content as part of a bug report or as validation evidence that a test case passed. However, I noticed that this feature does not “just work” out of the box. It requires some additional installation and configuration.

You should follow these steps to setup Test Professional 2010 for video capture:

Step One: You need to install the required software. This includes Expression Encoder 4. To install, however, you have to do the following:

  1. Download and install the Windows Installer Redistributable. This is optional if you are running Windows 7.
  2. Download and install the Visual Studio 2010 Video Diagnostic Data Adapter. This is a Visual Studio update from KB2160831.
  3. Download and install Expression Encoder 4. The download and related installation are highlighted in the images below:

expression-encoder4 encoder-install

Note: if you are running Windows Server 2008 you must also install the Desktop Experience using Server Manager.

Step Two: Once installed, you need to open Test Manager / Test Professional and configure your tests to capture video.

To configure, you need to edit the test settings for your test runs. This can be accessed a few different ways. You can click “Plan” at the top of the tool and select “Properties” for your current plan. You can also click “Organize” from the top of the tool and then double-click a test plan to view its properties. The figure below shows a test plan’s properties and the Test Settings area highlighted.


Next, in the Test settings area (see image above) use the drop-down to select a group of settings to be applied to your test plan (or create a new one). Then, click the “Open” link. to launch the test settings configuration screen.

Inside the test settings configuration screen, select “Data and Diagnostics” on the left side of the dialog. This will show settings by role. If you are doing manual testing locally you will only have the one role. Select it and then scroll down to “Video Recorder” and select the check box. The image below shows an example.


Optionally, you can click the Configure button to change video record settings. These settings are part of the new update. You can indicate if you wish to save videos for passed tests and indicate the video capture quality. The image below shows an example.


Step Three: You are now ready to do some testing and video recording. You run your tests as you would before using test runner. Video capture is automatic based on your settings. You can use the pause button in test runner to pause both the testing and the video capture.

As you test, your video will be stored against the test results and available for developers when bugs are logged. For example, the image below shows creating a bug while testing. Notice the Video Links column that provides a link to the spot in the video where the given test step is executed.


Step Four: Developers and testers can both view the captured video. Developers can view from within an open bug in Visual Studio. The following image shows the bug open and video running.


Testers can also link to the video from within the test results. Open these results from Test Professional and notice the video links. The following image shows an example.


Hope this post helps everyone. Happy testing!