2

I'm getting following errors on the test controller machine, when I'm trying to run CodedUI Tests remotely:

(QTController.exe, PID 3032, Thread 12) ControllerDeployment.DoDeployment: System.Net.Sockets.SocketException (0x80004005): No such host is known

During controller and agent configuration no errors came up. And when I go to Manage test controller dialog in Visual Studio I can see all the agents active. But when I try to execute any CodedUI test remotely it's hanging forever.

Not sure if it's connected with the fact that I've upgraded client/controller/agents to 2012 versions recently, but I've started seeing the problem only after this upgrade.

4

2 回答 2

1

From Microsoft KB 2643086:

This issue occurs because the test agent computer sends its Network Basic Input/Output System (NetBIOS) name instead of sending its Fully Qualified Domain Name (FQDN) name to the test controller computer. When the DNS server of the test controller computer does not have the IP address mapping of the NetBIOS name of the test agent computer, the issue that is described in the "Symptoms" section occurs.

You should ensure you are using fully qualified domain names (FQDN).

There is also a hotfix is available from Microsoft. However, you have to contact Microsoft Customer Support Services to obtain the hotfix.

于 2014-09-17T19:02:26.857 回答
0

I had similar problem, still not completely resolved but a workaround is to install Visual Studio on controller box and keeping result DB on same box.

Mostly the issue is restriction / firewall on VPN which might be blocking incoming traffic on TCP ports of machine / laptop.

于 2013-05-28T09:43:03.173 回答