Forum Discussion

krisss's avatar
krisss
Occasional Contributor
7 years ago

Is it possible to catch Testcomplete error (not script exception) ?

Hello ! I use the last version of testComplete 12.5 on windows 10 I would like to know if is it possible to catch a testComplete error. Not a script exception, but an error thrown by a testComplete...
  • tristaanogre's avatar
    7 years ago

    In your OnLogError event handler, add the following line

     

    LogParams.Locked = true;

    This will suppress the logging of the error itself.  All other errors will log, but this one will simply just not log anymore.