Browse by Tags

Tagged Content List
  • Blog Post: How to run tests on a machine without Visual Studio/Team Build/Test agent etc?

    I have heard a lot of customers ask about how to make the tests run on a machine without visual studio components or whether you have xcopy-able install etc. The official answer to all these questions is that you should have a visual studio or team build or test agent installed on the box, but unofficially...
  • Blog Post: Test plan cannot be saved. The structure path XXX is not valid

    Lately one of our customer reported this problem that on hosted tfs service , he is not able to create a test plan and creation/update of test plan fails with the error “Test plan cannot be saved. The structure path XXX is not valid”. Here is how we solved this problem. Nipun & me investigated this...
  • Blog Post: Change ClassCleanup timeout

    I have seen few people writing a lot of code in their class cleanup and then complaining that the clean-up is timing out and how they can increase this timeout. To do this, I suggest them the following steps: - Ensure that your class cleanup is indeed timing out. To do this, please check whether you...
  • Blog Post: How to preserve the test results directory?

    In VS 2012, when you are running mstest based tests, then the framework deletes the test results directory when the following condition is met. All the test case passes. There is no attachment which got produced in the test run. The option to preserve the test results directory is turned off (default...
  • 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: Not able to run unit tests when Visual Studio 2010 and Visual Studio 2012 are installed side by side?

    If you are not able to run unit tests when VS 2010 and VS 2012 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 issue or not and secondly how you can come out of it. If you are running into...
  • Blog Post: Want to know more about MTM?

    One of the customer wanted to read more about MTM and Nivedita, PM in the team,  sent out the following resources. Here I am sharing the same information with all of you. MSDN: Testing with Microsoft Test Manager   Quick Start Guide for Manual Testing using Microsoft Test Manager Channel 9...
  • Blog Post: How to configure test controller with tfspreview?

    Here are the steps which I typically do to configure the test controller with tfspreview. - Install 2012 RTM Test Controller. - Launch test controller configuration tool and point it to my tfspreview.com account ( http://blah.tfspreview.com ) - Specify the lab service account so that MTM as well as test...
  • Blog Post: How to enable UTE logs?

    Unit test explorer has bunch of processes (client-process, discovery/datacollection process, execution process) and depending upon what you want to debug, you should select the appropriate process and enable its logs. Once you have enabled the logs, the logs will get generated in %Temp% folder with log...
Page 1 of 1 (13 items)