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
How to run automated tests on different machines in parallel?
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
25
Comments
For this post, I am assuming that the tests are stored in test case management store of Tfs and you are queuing the test run from the tcm clients (Either MTM, TCM.exe or lab workflow). In case your tests are only in VS and you are running them via VS...
aseemb's blog
System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.22.221.228:6901
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
0
Comments
In Visual Studio Team Lab Management Beta2 , the above error message is normally observed on a testing capability enabled lab environment/lab system when firewall service is blocking the calls to test controller . To resolve this, ensure that firewall...
aseemb's blog
How to enable test agent logs
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
Here are the steps which you should perform to enable test agent logs. 1. Go to your test agent installation directory (typically it is something like C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\). 2. Open the agent service configuration...
aseemb's blog
Error starting the test run: Build directory of the test run is not specified or does not exist.
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
7
Comments
In Microsoft Test and Lab Manager , the above error message is observed during the execution of an automated test run on a test controller. It can occur in either of the following conditions. 1. The account under which test controller is running does...
aseemb's blog
How to enable test controller logs
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
0
Comments
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...
aseemb's blog
Update TestSettings utility
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
8
Comments
In dev10/dev11, test settings in MTM does not expose all the configuration options which are present in Visual Studio. These configuration options include bucket size, deployment timeout among few others. I have created a small utility named UpdateTestSettings...
aseemb's blog
How to enable build agent or build controller’s logs?
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
Here are the steps which I typically perform to enable build agent/controller logs. 1. Go to the build agent/controller installation directory (typically it is something like C:\Program Files\Microsoft Team Foundation Server 2010\Tools). 2. Create a new...
aseemb's blog
Test run remains in “Waiting for test controller” state for ever
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
8
Comments
In this article, I wanted to share what you should do if you have queued an automated test run on a test controller and its remain in "waiting for test controller” state for quite some time (as shown below). Before we go to the trouble shooting...
aseemb's blog
Could not register TCP channel: System.Net.Sockets.SocketException (0x80004005): Only one usage of each socket address (protocol/network address/port) is normally permitted
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
0
Comments
I have observed the above error message a couple of times on windows xp machines when the test agent service is restarted. The service does not start due to this error and in test agent log file following stack trace is observed. ASEEMB-SPEARHEA\QTAgentService...
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
How to enable Tfs job agent logs for lab operations
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
In this post, I want to talk about the steps which I typically perform to enable the job agent logs for lab operations. 1. Stop the TFS job agent service. (net stop tfsjobagent) 2. Enable tracing for Tfs job agent. Take a backup of the tfsjobagent.exe...
aseemb's blog
Authentication failed on the remote side (the stream might still be available for additional authentication attempts). No authority could be contacted for authentication.
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
0
Comments
In Visual Studio Team Lab Management , the following error message is observed on a testing capability enabled lab system when the lab system had lost trust relationship with the domain. TF267055: The machine is not ready to run tests because of the following...
aseemb's blog
Build agent is not able to establish connection with team foundation server and fails with “Unable to connect to the remote server” error.
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
Today I observed an interesting problem on one of our customer setup and thought that it will be good to share with you all so that if you encounter it, you don’t have to spend lot of time figuring out what’s going on. The setup was like this: - 1. On...
aseemb's blog
The agent can connect to the controller but the controller cannot connect to the agent because of following reason: The server has rejected the client credentials. The logon attempt failed
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
0
Comments
In Visual Studio Team Lab Management Beta2 , the above error message is observed on a testing capability enabled lab environment/lab system when the service account for test controller/agent are not properly configured. In this case, following error will...
aseemb's blog
How to debug the tests failed on the virtual environment?
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
2
Comments
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...
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
Upgrading VS from developer preview build to VS 11 beta
Posted
over 1 year ago
by
Aseem Bansal [MSFT]
6
Comments
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...
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...
aseemb's blog
What is Lab Service Account?
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
Overview Lab Service account is newly introduced in Visual Studio Lab Management 2010 RC release and is briefly discussed here and here . It greatly simplifies the account management of core components (test agent and build agent) used to run tests and...
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
How to create ‘testing enabled’ lab environment
Posted
over 4 years ago
by
Aseem Bansal [MSFT]
0
Comments
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,...
aseemb's blog
How to enable lab agent logs
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
Here are the steps which I typically perform to enable lab agent logs. 1. Go to the lab agent installation directory (typically it is something like C:\Program Files\Microsoft Visual Studio Lab Management 10.0). 2. Open the configuration file named LabAgentService...
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
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
Link environment snapshot to an automated test case failure?
Posted
over 3 years ago
by
Aseem Bansal [MSFT]
0
Comments
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...
Page 1 of 2 (48 items)
1
2