Forum Discussion

Damon_Wang's avatar
Damon_Wang
Occasional Contributor
11 years ago

How to handle error in TestComplete

Hello,



I'm facing issue is that the application under test is not stable enough, sometime the application is crashed by itself when I'm running test cases to do the UI operation. That must be a bug for my application. However I want do handle it in my script. My approach is using event handler, when the specific error message is shown, I can skip this error and restart my appliaction. Attached a png for example. But I found it doens't work at all.. Does anyone have any experience on this?

2 Replies

  • Damon_Wang's avatar
    Damon_Wang
    Occasional Contributor
    Hi Tanya,



    Thank you for your reply, but you solution doens't work for me. I doubt on log error event haven't handled it. Because if I try to log message in LogError event, there is nothing has been output in log when error occurs.