Custom Diagnostic Data Adapter capture the Webcam
Capture the webcam while testers execute a test case with Microsoft Test Manager… had this discussion today with a customer when talking about Diagnostic Data Adapter. Just for fun we decided that this would be a great adapter… and just for fun I made one this evening…

Set the Diagnostic Data Adapter to capture images at the beginning and at the end of the test case. I didn’t captured the complete video, only images… would be interesting to make one also with indexing on test steps, to see how users act while executing a step, and make it picture in picture with the screen recording… anyway, it adds the two images as attachments.

I used this MSDN example: Sample Project for Creating a Diagnostic Data Adapter http://msdn.microsoft.com/en-us/library/dd286649.aspx
and the libraries from this Codeplex project for the webcam capturing: http://touchless.codeplex.com
Just add the capturing logic to the methods ‘OnTestCaseStart’ and ‘OnTestCaseEnd’… and it starts capturing images… fun
public void OnTestCaseStart(object sender, TestCaseEventArgs e)
public void OnTestCaseEnd(object sender, TestCaseEndEventArgs e)