Forum Discussion
Gadzilla
15 years agoContributor
Thanks Jared for your answer! I will try to find some solution.
Might be you can answer one more question.
I have created some jscript, which I run with WScript. In this script I use TestComplete's COM (integration object) to retrieve main window object of my tested application and to check caption of this window. I run this script automatically when I start test cases execution from TestComplete (e.g. I have added run of this external script to the "OnStartTestCase" event) So when my test cases starts in TestComplete, this external script also starts throw command line and it checks whether main window of my tested application contains "Not Responding" string in the window caption.
The problem is that my external script alway return only real caption of my window at runtime even in case this window contains "Not Responding" string (e.g. external script return caption of the window without "Not Responding"). TestComplete see caption of the hung window correctly in case I stop scripts execution, and navigate to my hung window in Object tree.
Could you please tell me why this happens and how can I catch window with "Not Responding" caption at runtime?
Might be you can answer one more question.
I have created some jscript, which I run with WScript. In this script I use TestComplete's COM (integration object) to retrieve main window object of my tested application and to check caption of this window. I run this script automatically when I start test cases execution from TestComplete (e.g. I have added run of this external script to the "OnStartTestCase" event) So when my test cases starts in TestComplete, this external script also starts throw command line and it checks whether main window of my tested application contains "Not Responding" string in the window caption.
The problem is that my external script alway return only real caption of my window at runtime even in case this window contains "Not Responding" string (e.g. external script return caption of the window without "Not Responding"). TestComplete see caption of the hung window correctly in case I stop scripts execution, and navigate to my hung window in Object tree.
Could you please tell me why this happens and how can I catch window with "Not Responding" caption at runtime?