How to find test points assigned to a particular person

Here is a code snippet which you can use to find test points assigned to a particular person. # Load Client Assembly [Reflection.Assembly]::Load(“Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”); [Reflection.Assembly]::Load(“Microsoft.TeamFoundation.TestManagement.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”); [Reflection.Assembly]::Load(“Microsoft.TeamFoundation.TestManagement.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”);   # Define parameters $tfsCollectionUrl = “http://myserver:8080/tfs/DefaultCollection”; $projectName = "DefaultProject"; $planId = "1"; $userDisplayName = "Aseem Bansal"; # Connect to tfs…

0

A test run must be created with at-least one test case

I was trying to run an automated test using TCM.exe and the executable was failing with a message saying “A test run must be created with at-least one test case.” On looking at the code, I found why it is failing and what should I do to come out of this error. Later on I…

0

Which Test Management notifications are available?

Test Management service in Team Foundation Server 2012 raises notifications on some specific actions by its users. You can subscribe to these notifications to understand what’s going on in the server. Here are some of the important notifications which are raised by test management service. TestRunStartedNotification TestRunChangedNotification TestRunCompletedNotification  TestPlanChangedNotification TestSuiteChangedNotification  TestConfigurationChangedNotification     (Update 11/20)  Let…

4

How to make your extension visible to the test explorer in Visual Studio 11?

There are few different ways by which you can make your extension visible to test explorer in Visual Studio 11. Let us go through them one by one. 1. Drop it in “Extensions” folder This is the most simplest way to make the extension visible and it works for all the 3 well known clients…

5

How does post deployment snapshot in lab workflow works?

In lab management workflow, there is an option to take a snapshot of the environment after the application is deployed. This option is exposed in the workflow UI and is very useful in scenarios in which you want to revert to the environment state in which only the environment has only the new build deployed…

0

How to enable test controller logs

Here are the steps which you should perform to enable test controller logs. 1. Go to your test controller installation directory (typically it is something like C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\). 2. Open the controller configuration file (QTController.exe.config) and change the trace level to 4 and enable the trace listener as shown below:   <system.diagnostics>   …

8