I have Test controller and Test agent installed on a virtual machine VM1. Test agent is shown is Online. I’m trying to run CodedUI tests remotely from my machine. But every time I go to Test -> Manage Test Controllers… in VS2010 it hangs. The same effect when I try to run any test remotely.
Both machines are in the same domain, on my machine i’m using domain admin user, on VM local admin.
I’ve got these 2 errors in Event Viewer:
-
The description for Event ID 0 from source VSTTExecution cannot be
found. Either the component that raises this event is not installed on
your local computer or the installation is corrupted. You can install
or repair the component on the local computer. If the event originated
on another computer, the display information had to be saved with the
event. The following information was included with the event:(devenv.exe, PID 7732, Thread 1) IdleProcessorManager.DoWork – Job
threw: Item has already been added. Key in dictionary:
‘7c58e17b-57a5-e486-31cc-aca08ec38d23’ Key being added:
‘7c58e17b-57a5-e486-31cc-aca08ec38d23’ at at
Microsoft.VisualStudio.TestTools.Common.Xml.XmlPersistence.LoadHashtable[K,V](XmlElement
element, String location, String keyLocation, String valueLocation,
XmlTestStoreParameters parameters) at
Microsoft.VisualStudio.TestTools.Common.TestListCategory.Load(XmlElement
element, XmlTestStoreParameters parameters) at
Microsoft.VisualStudio.TestTools.Common.Xml.XmlFilePersistence.LoadTestList(String
fileName) at
Microsoft.VisualStudio.TestTools.TestManagement.Tmi.LoadCategories(String
location, TestListCategoryConflictHandler idVetoingHandler,
TestListCategoryConflictHandler nameVetoingHandler) at
Microsoft.VisualStudio.TestTools.TestManagement.Tmi.LoadCategories(String
location) at
Microsoft.VisualStudio.TestTools.TestCaseManagement.SolutionIntegrationManager.LoadCategoriesIntoTmi(String
filename) at
Microsoft.VisualStudio.TestTools.TestCaseManagement.SolutionIntegrationManager.d__83.MoveNext()
at
Microsoft.VisualStudio.TestTools.TestCaseManagement.IdleProcessorManager.DoWork() -
The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on
your local computer or the installation is corrupted. You can install
or repair the component on the local computer. If the event originated
on another computer, the display information had to be saved with the
event. The following information was included with the event:(devenv.exe, PID 7732, Thread 65) Timed out waiting for controller
connect
The answer was given here http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/4e8445e6-5c35-4c33-820e-0c334046631b?prof=required
Running Visual Studio in Safe mode solved the problem.