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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Build agent
Build Service
build service host
Debug
lab agent
Lab environment
Lab Management
Lab Management 2010
Lab Service account
Lab workflow
mstest
Team Foundation
Team System
Test Agents 2010
test case
Test Controller
Testing
Testing capability
Troubleshooting
virtual environment
Virtual Test Lab
Visual Studio
visual studio 11
VS11
workflow capability
Archive
Archives
March 2012
(3)
February 2012
(2)
September 2010
(1)
August 2010
(2)
April 2010
(4)
March 2010
(4)
February 2010
(2)
November 2009
(7)
MSDN Blogs
>
aseemb's blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
aseemb's blog
How to make your extension visible to the test explorer in Visual Studio 11?
Posted
2 months 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
2 months 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
Upgrading VS from developer preview build to VS 11 beta
Posted
2 months 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
Why mstest did not deploy my deployment item?
Posted
3 months ago
by
Aseem Bansal [MSFT]
0
Comments
Michael has done a great post on how deployment works in mstest, so if you want to understand its working, I will strongly suggest you to go through it. In this post, I want to share the deployment item selection logic of mstest. i.e. If you have deployment...
aseemb's blog
Ordered test timeout
Posted
3 months ago
by
Aseem Bansal [MSFT]
0
Comments
Ordered test is a type of test in Visual Studio 2010 that contains other tests and provides capability of running them in the specified order. Ordered test supports timeout and if you are using its timeout, you should be aware of following: - Every...
aseemb's blog
How to enable Tfs job agent logs for lab operations
Posted
over 2 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
How to run automated tests on different machines in parallel?
Posted
over 2 years ago
by
Aseem Bansal [MSFT]
18
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
Update TestSettings utility
Posted
over 2 years ago
by
Aseem Bansal [MSFT]
7
Comments
In dev10, 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 lab agent logs
Posted
over 2 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 enable build agent or build controller’s logs?
Posted
over 2 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
Link environment snapshot to an automated test case failure?
Posted
over 2 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...
aseemb's blog
How does post deployment snapshot in lab workflow works?
Posted
over 2 years ago
by
Aseem Bansal [MSFT]
0
Comments
In lab management workflow, there is an option to take a snapshot of the environment after the application is deployed. This option is exposed in the workflow UI and is very useful in scenarios in which you want to revert to the environment state in which...
aseemb's blog
How to debug the tests failed on the virtual environment?
Posted
over 2 years ago
by
Aseem Bansal [MSFT]
0
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
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 2 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
Link to virtual environment
Posted
over 2 years ago
by
Aseem Bansal [MSFT]
0
Comments
In Lab Management RC release, you might be using the “share snapshot” feature which essentially provides a shareable link for the snapshots. This feature is very useful when you want to share snapshots with others and expect them to connect to that particular...
aseemb's blog
How to enable test agent logs
Posted
over 2 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
Test run remains in “Waiting for test controller” state for ever
Posted
over 2 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
What is Lab Service Account?
Posted
over 2 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
How to enable test controller logs
Posted
over 3 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
How to create ‘testing enabled’ lab environment
Posted
over 3 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
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 3 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
Error starting the test run: Build directory of the test run is not specified or does not exist.
Posted
over 3 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
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 3 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
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 3 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
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 3 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...
Page 1 of 1 (25 items)