Sign in
aseemb's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Lab environment
Lab Management
Lab Management 2010
Microsoft Test manager
Microsoft Test manager 2010
Microsoft Test manager 2012
mstest
MTM
MTM 2010
MTM 2012
Team Foundation
Team Foundation Server
Team Foundation Server 2010
Team Foundation Server 2012
Team System
Test Controller
Testing
Testing capability
Tfs
Tfs 2012
Troubleshooting
Visual Studio
visual studio 11
visual studio 2010
Visual Studio 2012
Archive
Archives
May 2013
(1)
February 2013
(1)
January 2013
(1)
December 2012
(2)
November 2012
(6)
October 2012
(1)
September 2012
(4)
August 2012
(6)
July 2012
(1)
March 2012
(3)
February 2012
(2)
September 2010
(1)
August 2010
(2)
April 2010
(4)
March 2010
(4)
February 2010
(2)
November 2009
(7)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
aseemb's blog
Change ClassCleanup timeout
Posted
15 days ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
How to preserve the test results directory?
Posted
2 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
How to enable MSTest logs
Posted
3 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
How to find area paths/iteration paths changed in a project or project collection?
Posted
5 months ago
by
Aseem Bansal [MSFT]
0
Comments
Here is a code snippet which you can use to find out area paths/iteration paths changed in a project or project collection. # Load Client Assembly [Reflection.Assembly]::Load(“Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken...
aseemb's blog
How to find test points assigned to a particular person
Posted
5 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
How to write a custom test management event listener?
Posted
5 months ago
by
Aseem Bansal [MSFT]
1
Comments
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...
aseemb's blog
How to find the action recording associated with the test?
Posted
6 months ago
by
Aseem Bansal [MSFT]
1
Comments
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...
aseemb's blog
How to enable logs for MTM?
Posted
6 months ago
by
Aseem Bansal [MSFT]
0
Comments
Here are the steps you should perform to enable MTM logs: - Go to the MTM installation directory (typically it is something like C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\) Open the MTM configuration file (mtm.exe.config) from an administrative...
aseemb's blog
Power-shell script to find test points for a particular suite/config
Posted
6 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
How to listen for TestRunChanged notification on tfs server?
Posted
6 months ago
by
Aseem Bansal [MSFT]
0
Comments
In one of my previous post , I talked about what all test management related events are being published by the server. In this post, I want to share a sample code snippet that you can use to listen to one such event (TestRunChangedNotification). ...
aseemb's blog
A test run must be created with at-least one test case
Posted
6 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
How to find the test controllers registered with Team foundation server 2012?
Posted
7 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
The build cannot be assigned to the test plan
Posted
8 months ago
by
Aseem Bansal [MSFT]
0
Comments
One of the customer reported a problem saying that whenever he is trying to assign a build to the test plan in MTM, the assignment fails with error “Build XXX cannot be found”. On investigations, Nipun from the team found that it was failing because...
aseemb's blog
Deployment script is running under machine account and not under test agent account
Posted
8 months ago
by
Aseem Bansal [MSFT]
2
Comments
Recently one of the customer asked an interesting question that his test agent is running under a local account (machineName\myaccount) but the deployment script is not running under that account and is rather running under a machine account. This was...
aseemb's blog
Not able to run unit tests when Visual Studio 2010 and Visual Studio 2012 are installed side by side?
Posted
8 months ago
by
Aseem Bansal [MSFT]
4
Comments
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...
aseemb's blog
Want to know more about MTM?
Posted
8 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
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.
Posted
8 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
MTM video recording and multiple monitors
Posted
8 months ago
by
Aseem Bansal [MSFT]
0
Comments
One of the internal customer asked this question couple of days back that if a tester has multiple monitors, then which monitor does MTM video recording records? Does it record the one which is showing MTM, does it record a specific one or does it record...
aseemb's blog
How to configure test controller with tfspreview?
Posted
8 months ago
by
Aseem Bansal [MSFT]
4
Comments
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...
aseemb's blog
Which platforms/OS MTM 2012 supports?
Posted
8 months ago
by
Aseem Bansal [MSFT]
0
Comments
Few days back, Vijay sent a mail to an internal customer on the platforms/OS which MTM 2012 supports. I am just pasting the contents of his mail here as it is useful for everyone. Supported Operating Systems •Windows 7 (x86 and x64) •Windows 8 (x86 and...
aseemb's blog
Which Test Management notifications are available?
Posted
9 months ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
Code snippets on Test Management APIs?
Posted
9 months ago
by
Aseem Bansal [MSFT]
0
Comments
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]; /...
aseemb's blog
Not able to open test case on tfspreview?
Posted
9 months ago
by
Aseem Bansal [MSFT]
0
Comments
If you are not able to open test case on tfspreview and are using IE10 on windows 8 release preview build (build # 8400) and are observing that browser crashes while opening the test case, then please read on. Note: - This is an issue only with this interim...
aseemb's blog
How to make your extension visible to the test explorer in Visual Studio 11?
Posted
over 1 year ago
by
Aseem Bansal [MSFT]
2
Comments
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...
aseemb's blog
How to enable UTE logs?
Posted
over 1 year ago
by
Aseem Bansal [MSFT]
11
Comments
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...
Page 1 of 2 (48 items)
1
2