Forum Discussion

xuanphuoc2411's avatar
xuanphuoc2411
Occasional Contributor
6 years ago

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

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    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.