when test case fails in test complete, how to close the desktop application.
In our desktop application, it has multiple windows.
When we do a regression group run, if a test case fails, multiple windows remain open and this affects other test case execution, causing more failures. So, when test case fails immediately it should close all windows opened in testcase. So, that it will not affect other test cases.
How to achieve this using Python in a Test Complete.