cancel
Showing results for 
Search instead for 
Did you mean: 

"The background TaskHost.exe process crashed."

SOLVED
Contributor

"The background TaskHost.exe process crashed."

Just upgraded to 12.6 yesterday.  Running a keyword script.  Getting a new error - "The background TaskHost.exe process crashed."   

 

Does anyone know what this means?  How to make sure never happens again?  

 

I'm able to run from the current step fine after closing the error.  

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: "The background TaskHost.exe process crashed."

Hrm, that is strange.  The thing is, unless you specify not to in the project, TestComplete doesn't ignore processes in the Windows environment.  So, TaskHost may have been trying to do something that, with TestComplete "looking" at it, caused a failure.

 

If you go to Tools | Current Project Properties | Open Applications | Process Filter, you can specify TestComplete ignore certain system processes.  Give this a try and see if it helps.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
4 REPLIES 4
Community Hero

Re: "The background TaskHost.exe process crashed."

Hrm, that is strange.  The thing is, unless you specify not to in the project, TestComplete doesn't ignore processes in the Windows environment.  So, TaskHost may have been trying to do something that, with TestComplete "looking" at it, caused a failure.

 

If you go to Tools | Current Project Properties | Open Applications | Process Filter, you can specify TestComplete ignore certain system processes.  Give this a try and see if it helps.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Community Hero

Re: "The background TaskHost.exe process crashed."

Was this right after your upgrade?  Perhaps TestComplete needed a reboot to clean things up.  

Contributor

Re: "The background TaskHost.exe process crashed."

Try to ignore other application apart from tested apps from Tools | Current Project Properties | Open Applications | Process Filter.
Contributor

Re: "The background TaskHost.exe process crashed."

Sorry for the late reply, all.  I took some time for Christmas.   Robert's suggestion seems to have worked.  I've not seen the issue since.  Kudos.

New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors