cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the object which is interacting in Error event

xuanphuoc2411
Occasional Contributor

How to get the object which is interacting in Error event

Hi all,

Do we have any way to get the object which TestComplete is interacting in Log Error event or not?

Thanks.

1 REPLY 1
tristaanogre
Community Hero

Re: How to get the object which is interacting in Error event

I'm sorry... I don't understand the question.  

Basically, OnLogError intercepts any time an Error is written to the TestComplete log.  What is available within OnLogError is anything associated with that error message.  If you're looking to access the application control/component that failed to operate, then I believe the answer is "no" because that is not part of logging the error.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors