Forum Discussion
AlexanderM
14 years agoStaff
Hello Aleksey,
The behavior you are facing is expected. Exceptions thrown within an event handler cannot be caught in the main script.
We have a suggestion in our database to implement the ability to handle exceptions generated in event handlers, and your request has increased its rating.
The behavior you are facing is expected. Exceptions thrown within an event handler cannot be caught in the main script.
We have a suggestion in our database to implement the ability to handle exceptions generated in event handlers, and your request has increased its rating.
- karthikr10809 years agoNew Contributor
Hey Alexander,
I am using TestComplete 10.60. Is this ability implemented in this version?
I understand that the original author of this post this topic a while ago, but I still think having this ability is relevant today for bulding a custom test runner along the way described here.
What alrernatives are available in 10.60 to do this approach?
Thanks,
karthik
- karthikr10809 years agoNew Contributor
Ok, I tried this in TC 10.60. It is not working. The main script will not be able to catch an exception thrown by the OnLogError even handler routine. What alternatives are available to implement this in this version?
Thanks,
karthik
Related Content
- 4 years agokiranka
- 9 months agomortenb123
- 13 years agojitendra_1