Share via


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.

Question

Monday, March 17, 2014 7:11 AM

Hi,

Can any one help me on the below issue ?

while executing automated test case in test center it is showing as test case is in progress, then i navigated to virtual machine (where the test agent is online), there Internet explore has opened automatically and my test case execution started, but with in a seconds IE has closed . However, in test center, test case status is showing as in progress, after  2 or 3 min  some of  test cases getting passed and some are failed.

Here my question is in lab center-->virtual machine, IE has opened automatically and navigated the 2 or 3  links and with in seconds IE has getting closed. Why IE is getting closed without completing execution?

Error Message :

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: 

(mtm.exe, PID 5240, Thread 4) FileAggregatorSessionInfo: Error occurred while deleting temporary directoryException: System.IO.DirectoryNotFoundException: Could not find a part of the path 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileAggregator.FileAggregatorSessionInfo.DeleteTemporaryDirectory(String temporaryDirectory)

the message resource is present but the message is not found in the string/message table

Thanks

Suresh

Suresh

All replies (8)

Tuesday, March 18, 2014 6:15 AM

Hi Suresh,

Thanks for your post!

First, please check whether that Coded UI Test can run correctly in the test agent machine in the VS.

Secondly, what’s the detail version of your VS? Is it higher than VS2010? For VS2010, it doesn’t supported IE 10. More information, please refer to:

# Supported Configurations and Platforms for Coded UI Tests and Action Recordings

http://msdn.microsoft.com/en-us/library/dd380742(v=vs.100).aspx

Thirdly, please try to do the other automated test and check the result.

On the other hand, please provide the test agent log or MTM log.

Thanks

Best Regards

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Tuesday, March 18, 2014 9:50 AM

Hi Starain,

I have executed  coded ui tests through "Developers command prompt for VS2013" in the test agent machine all tests are passed.

We are using VS 2013 (premium) and IE 10.0  scripts have been created on the same versions. It is working fine  on developers command prompt but the same test are getting failed in lab center.

test agent log:

QTAgentService.exe, AgentService: calling AgentObject.RunEndFileCopyComplete
QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: waiting for agents to start.
QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Successfully called 'Cleanup' on the test agent
QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Calling 'StopDataCollection(int)' on the data collection agent
QTAgentService.exe, AgentProcessManager.IsDataCollectionAgentNeeded: IsExecutedOutOfProc? True
QTAgentService.exe, AgentPro
QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
QTAgentService.exe, AgentService: Connection to controller is up.

Thanks

Suresh


Wednesday, March 19, 2014 8:00 AM

Hi Suresh,

Can you find any error message in the Event Viewer on the Build Agent machine?

Thanks.

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Wednesday, March 19, 2014 10:51 AM

Hi Vicky,

I got the below error message in the event viewer

Error Message :

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: 

(mtm.exe, PID 5240, Thread 4) FileAggregatorSessionInfo: Error occurred while deleting temporary directoryException: System.IO.DirectoryNotFoundException: Could not find a part of the path 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileAggregator.FileAggregatorSessionInfo.DeleteTemporaryDirectory(String temporaryDirectory)

Suresh


Friday, March 21, 2014 5:14 AM

Hi Suresh,

I have reported your issue to our senior engineers, may they can help you out.

Thanks.

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Friday, March 21, 2014 6:55 AM

Hi,

Can any one help me on the below issue ?

while executing automated test case in test center it is showing as test case is in progress, then i navigated to virtual machine (where the test agent is online), there Internet explore has opened automatically and my test case execution started, but with in a seconds IE has closed . However, in test center, test case status is showing as in progress, after  2 or 3 min  some of  test cases getting passed and some are failed.

Here my question is in lab center-->virtual machine, IE has opened automatically and navigated the 2 or 3  links and with in seconds IE has getting closed. Why IE is getting closed without completing execution?

Error Message :

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: 

(mtm.exe, PID 5240, Thread 4) FileAggregatorSessionInfo: Error occurred while deleting temporary directoryException: System.IO.DirectoryNotFoundException: Could not find a part of the path 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at Microsoft.VisualStudio.TestTools.Execution.Aggregation.FileAggregator.FileAggregatorSessionInfo.DeleteTemporaryDirectory(String temporaryDirectory)

the message resource is present but the message is not found in the string/message table

We are using VS 2013 (premium) and IE 10.0,  scripts have been created on the same versions. It is working fine  on developers command prompt but the same tests are getting failed in lab center test agent machine

test agent log:

QTAgentService.exe, AgentService: calling AgentObject.RunEndFileCopyComplete
QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: waiting for agents to start.
QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Successfully called 'Cleanup' on the test agent
QTAgentService.exe, AgentProcessManager.PerformActionIgnoringExceptions: Calling 'StopDataCollection(int)' on the data collection agent
QTAgentService.exe, AgentProcessManager.IsDataCollectionAgentNeeded: IsExecutedOutOfProc? True
QTAgentService.exe, AgentPro
QTAgentService.exe, AgentProcessManager.WaitForDataCollectionAgentProcessToStart: Agents started.
QTAgentService.exe, AgentService: Connection to controller is up.

Thanks

Suresh


Monday, March 31, 2014 7:05 AM

Hi,

From a support perspective this is really beyond what we can do here in the forums. If you cannot determine your answer here or on your own, consider opening a support case with us. Visit this link to see the various support options that are available to better meet your needs:  http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone.

Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Jun Zh - MSFT Microsoft Online Community Support


Wednesday, February 4, 2015 12:08 AM

Did you ever get an answer to this? We are experiencing the exact same problem, and opened a CSS case and no one has been able to figure out the issue.

Angela Dugan