Browse by Tags

Tagged Content List
  • Blog Post: LabDefaultTemplate.xaml fails when VS 2013 is installed on a 2012 build Agent.

    If you are not able to run lab workflow (or BDT which we call it internally) when 2013 components (VS) and 2012 components (read BA/BC/VS) are installed on the same machine, then please read on. There is a known issue here and this post talks about how you can verify that you are running into the same...
  • Blog Post: Interesting problem a customer faced while running x64 based tests through test controller/agent

    Lot of customers today are running x64 based tests via test controller/agent and things works for them by default. Recently one of our customer recently reported that he is not able to run his tests via test controller/agent and in this post, I want to share out how Raju Ranjan , a developer in our team...
  • Blog Post: Test management features since 2012

    Ravi Shankar, my colleague in the test management team, published a list of features that we added in test case management tool in last 1 year or so. I find that list really useful, so sharing it with all of you here. Here you go: - VS 2012 (Microsoft Test Manager) - RTM : · MTM Performance improvements...
  • Blog Post: Test management SQL query to find out the test results associated with a suite

    One of the customer wanted to know the sql query which he can use to find out the results associated with a suite. Nipun sent the following query: -   DECLARE @deletedSuiteId INT SET @deletedSuiteId = 167 –Replace with appropriate suite Id SELECT r.* FROM tbl_testresult r JOIN tbl_point p ON r.PartitionId...
  • Blog Post: How to find the list of test cases that are associated with n attachments

    One of the customer wanted to clean-up attachments from their tfs server using the test attachment cleaner tool . They wanted to find out more details about the attachments that will get cleaned and one of the detail was the list of test cases that will be touched. Since the test attachment cleaner does...
  • Blog Post: 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...
  • Blog Post: How to write a custom test management event listener?

    In couple of my previous posts, I talked about what are the important events raised by test management service and how code for one such event listener looks like . In this post, I will talk about what exact steps I did to write my test management event listener. In case you are interested in writing...
  • Blog Post: How to find the action recording associated with the test?

    I was looking at this question on the MTM forum and wanted to find out answers for following 2 questions. How can a user find out whether an action recording is associated with a test or not? How can a user delete the associated action recording? For #1 , I coded a small power-shell script which can...
  • Blog Post: Power-shell script to find test points for a particular suite/config

    One of my customer is running into an issue while customizing his BDT workflow and to debug the issue, I have just now created a power-shell script which lists down the test points belonging to a particular suite/configuration. Since I have not seen any power-shell script on this till now (probably because...
  • Blog Post: 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 found a good link which talks...
  • Blog Post: How to find the test controllers registered with Team foundation server 2012?

    Here are the steps you should follow to achieve this. Copy the following contents to a power shell script file (say fqdn.ps1) # Load the binaries [Reflection.Assembly]::Load(“Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”); [Reflection.Assembly]:...
  • Blog Post: Code snippets on Test Management APIs?

    This post shares code snippets on how to do some common operations using Test Management APIs. Snippet #1 : – Given a test run, find associated test suite. // Query results from the run. ITestCaseResult result = testManagementRun.QueryResults()[0]; // Find the test plan ITestPlan testPlan...
Page 1 of 1 (12 items)