Browse by Tags

Tagged Content List
  • 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: 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 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: 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: 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: 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: BuildShadowTask fails with error C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamTest\Microsoft.TeamTest.targets (14): Object reference not set to an instance of an object.

    I have seen customers running into this problem once in a while where they mention that their build is failing intermittently with the following error. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamTest\Microsoft.TeamTest.targets (14): Object reference not set to an instance of an object...
  • 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 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...
  • 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...
  • Blog Post: Link environment snapshot to an automated test case failure?

    In Visual Studio 2010, if you are executing manual tests on a virtual lab environment, then you are provided an option to take snapshot of the environment as mentioned here . These snapshots (or the link to snapshot) gets attached to the manual test case result and/or the bugs (work item) automatically...
  • Blog Post: How to debug the tests failed on the virtual environment?

    In this post, I will talk about how I normally debug the automated tests failure on a virtual lab environment. 1. Most of our automated test cases are executed as part of the end-to-end workflow . So I first check the build summary to find out how many test passed/failed. In the example below, it is...
  • Blog Post: 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...
  • Blog Post: How to create ‘testing enabled’ lab environment

    In this post, I plan to talk about how you can create ‘testing enabled’ lab environment. I am assuming that you have already configured lab management and have a ‘lab ready virtual machine’ in your SCVMM library, but if you have not done any of that, please do that as mentioned in the first 2 posts of...
Page 1 of 1 (18 items)