itvrdeich
13 years agoContributor
Closing down Tested Application
My tests involve 2 applications that require lots of application restarts and so on.
When running the tests using Test Complete I shut down the applications via our own application Exit button and it closes properly and the process ends.
When I run the same tests on another machine using Test Execute, it seems that sometimes (30% of the time) it doesnt end the process which means i cant restart the tested application. The applications shuts down but the process is still running.
I have a feeling SmartBear is using hooks in tcuihook.dll and the unload method in that library is not working correctly.
I have also tried other ways of closing the application using the TestedApps object in test complete.
I tried termination the process if its still alive, but by doing this windows will throw an exception that the tcuihook.dll was the faulting module.
Any ideas please?
Thanks.
When running the tests using Test Complete I shut down the applications via our own application Exit button and it closes properly and the process ends.
When I run the same tests on another machine using Test Execute, it seems that sometimes (30% of the time) it doesnt end the process which means i cant restart the tested application. The applications shuts down but the process is still running.
I have a feeling SmartBear is using hooks in tcuihook.dll and the unload method in that library is not working correctly.
I have also tried other ways of closing the application using the TestedApps object in test complete.
I tried termination the process if its still alive, but by doing this windows will throw an exception that the tcuihook.dll was the faulting module.
Any ideas please?
Thanks.