aseemb's blog

How to list down all the “importable” virtual machines/templates programmatically?

MTM provides an ability to import one or more virtual machine/template to your team project. In that...

Author: Aseem Bansal [MSFT] Date: 04/30/2014

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...

Author: Aseem Bansal [MSFT] Date: 04/29/2014

How to create an ordered test programmatically?

Yesterday an internal customer asked me on how he can create an ordered test programmatically. This...

Author: Aseem Bansal [MSFT] Date: 10/05/2013

How does testsettings file get used in vstest.console?

In this post, I want to talk about the settings switch and what do we do when a user has passed...

Author: Aseem Bansal [MSFT] Date: 09/14/2013

How to specify results directory with vstest.console

VSTest.console command line runner creates the results in the current directory of the command...

Author: Aseem Bansal [MSFT] Date: 09/14/2013

Test management warehouse: Improve deletion performance

Last week we received a complaint from an internal customer that the test management warehouse...

Author: Aseem Bansal [MSFT] Date: 08/14/2013

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...

Author: Aseem Bansal [MSFT] Date: 07/04/2013

Test management features since 2012

Ravi Shankar, my colleague in the test management team, published a list of features that we added...

Author: Aseem Bansal [MSFT] Date: 07/01/2013

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...

Author: Aseem Bansal [MSFT] Date: 06/25/2013

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...

Author: Aseem Bansal [MSFT] Date: 06/18/2013

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...

Author: Aseem Bansal [MSFT] Date: 06/18/2013

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...

Author: Aseem Bansal [MSFT] Date: 06/16/2013

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),...

Author: Aseem Bansal [MSFT] Date: 06/13/2013

Change ClassCleanup timeout

I have seen few people writing a lot of code in their class cleanup and then complaining that the...

Author: Aseem Bansal [MSFT] Date: 05/05/2013

How to preserve the test results directory?

In VS 2012, when you are running mstest based tests, then the framework deletes the test results...

Author: Aseem Bansal [MSFT] Date: 02/22/2013

How to enable MSTest logs

Here are the steps which you should perform to enable mstest logs. 1. Go to your mstest installation...

Author: Aseem Bansal [MSFT] Date: 01/25/2013

How to find area paths/iteration paths changed in a project or project collection?

Here is a code snippet which you can use to find out area paths/iteration paths changed in a project...

Author: Aseem Bansal [MSFT] Date: 12/04/2012

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...

Author: Aseem Bansal [MSFT] Date: 12/01/2012

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...

Author: Aseem Bansal [MSFT] Date: 11/23/2012

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...

Author: Aseem Bansal [MSFT] Date: 11/19/2012

How to enable logs for MTM?

Here are the steps you should perform to enable MTM logs: - Go to the MTM installation directory...

Author: Aseem Bansal [MSFT] Date: 11/14/2012

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...

Author: Aseem Bansal [MSFT] Date: 11/12/2012

How to listen for TestRunChanged notification on tfs server?

In one of my previous post, I talked about what all test management related events are being...

Author: Aseem Bansal [MSFT] Date: 11/07/2012

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...

Author: Aseem Bansal [MSFT] Date: 11/06/2012

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...

Author: Aseem Bansal [MSFT] Date: 10/04/2012

The build cannot be assigned to the test plan

One of the customer reported a problem saying that whenever he is trying to assign a build to the...

Author: Aseem Bansal [MSFT] Date: 09/11/2012

Deployment script is running under machine account and not under test agent account

Recently one of the customer asked an interesting question that his test agent is running under a...

Author: Aseem Bansal [MSFT] Date: 09/11/2012

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,...

Author: Aseem Bansal [MSFT] Date: 09/07/2012

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...

Author: Aseem Bansal [MSFT] Date: 09/07/2012

BuildShadowTask fails with error C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0TeamTestMicrosoft.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...

Author: Aseem Bansal [MSFT] Date: 08/28/2012

MTM video recording and multiple monitors

One of the internal customer asked this question couple of days back that if a tester has multiple...

Author: Aseem Bansal [MSFT] Date: 08/24/2012

How to configure test controller with tfspreview?

Here are the steps which I typically do to configure the test controller with tfspreview. - Install...

Author: Aseem Bansal [MSFT] Date: 08/24/2012

Which platforms/OS MTM 2012 supports?

Few days back, Vijay sent a mail to an internal customer on the platforms/OS which MTM 2012...

Author: Aseem Bansal [MSFT] Date: 08/21/2012

Which Test Management notifications are available?

Test Management service in Team Foundation Server 2012 raises notifications on some specific actions...

Author: Aseem Bansal [MSFT] Date: 08/10/2012

Code snippets on Test Management APIs?

This post shares code snippets on how to do some common operations using Test Management APIs....

Author: Aseem Bansal [MSFT] Date: 08/06/2012

Not able to open test case on tfspreview?

If you are not able to open test case on tfspreview and are using IE10 on windows 8 release preview...

Author: Aseem Bansal [MSFT] Date: 07/27/2012

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...

Author: Aseem Bansal [MSFT] Date: 03/03/2012

How to enable UTE logs?

Unit test explorer has bunch of processes (client-process, discovery/datacollection process,...

Author: Aseem Bansal [MSFT] Date: 03/01/2012

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...

Author: Aseem Bansal [MSFT] Date: 03/01/2012

Why mstest did not deploy my deployment item?

Michael has done a great post on how deployment works in mstest, so if you want to understand its...

Author: Aseem Bansal [MSFT] Date: 02/16/2012

Ordered test timeout

Ordered test is a type of test in Visual Studio 2010  that contains other tests and provides...

Author: Aseem Bansal [MSFT] Date: 02/16/2012

How to enable Tfs job agent logs for lab operations

In this post, I want to talk about the steps which I typically perform to enable the job agent logs...

Author: Aseem Bansal [MSFT] Date: 09/14/2010

How to run automated tests on different machines in parallel?

For this post, I am assuming that the tests are stored in test case management store of Tfs and you...

Author: Aseem Bansal [MSFT] Date: 08/11/2010

Update TestSettings utility

In dev10/dev11, test settings in MTM does not expose all the configuration options which are present...

Author: Aseem Bansal [MSFT] Date: 08/06/2010

How to enable lab agent logs

Here are the steps which I typically perform to enable lab agent logs. 1. Go to the lab agent...

Author: Aseem Bansal [MSFT] Date: 04/15/2010

How to enable build agent or build controller’s logs?

Here are the steps which I typically perform to enable build agent/controller logs. 1. Go to the...

Author: Aseem Bansal [MSFT] Date: 04/15/2010

In Visual Studio 2010, if you are executing manual tests on a virtual lab environment, then you are...

Author: Aseem Bansal [MSFT] Date: 04/12/2010

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...

Author: Aseem Bansal [MSFT] Date: 04/12/2010

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...

Author: Aseem Bansal [MSFT] Date: 03/30/2010

Build agent is not able to establish connection with team foundation server and fails with “Unable to connect to the remote server” error.

Today I observed an interesting problem on one of our customer setup and thought that it will be...

Author: Aseem Bansal [MSFT] Date: 03/22/2010

<Previous Next>