Forum Discussion
rraghvani
Champion Level 3
3 months agoHave a look at the sample code shown here https://support.smartbear.com/testcomplete/docs/testing-with/tested-apps/closing.html
If you manually close your application, does it close without crashing?
What version of TestComplete are you using?
TestComplete includes the DbgServices plugin that lets you run tested applications in the Debug mode, see https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/about.html