Browse by Tags

Tagged Content List
  • 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: 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 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: 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: How to run test explorer based tests from a stand-alone executable?

    To run test explorer based tests from your own custom exectuable (32 bit/64 bit does not matter), you should do the following steps: -   Ensure that you have visual studio 2012 or above installed on your machine. Download this sample (RunTests.exe) and extract it on your machine. You can use 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 enable MSTest logs

    Here are the steps which you should perform to enable mstest logs. 1. Go to your mstest installation directory via an administrator command prompt. (typically the installation directory is something like C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\). 2. Open the mstest configuration file...
  • 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: 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: 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...
  • Blog Post: 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 (VS, command-line...
  • Blog Post: Upgrading VS from developer preview build to VS 11 beta

    In case you are upgrading VS from the developer preview build to VS 11 beta , then there is a chance that you can face a problem while running tests from unit test explorer. The symptoms of the problem are that the tests will not get run and you will observe the following error in the VS output window...
Page 1 of 1 (17 items)