Forum Discussion

tobello's avatar
tobello
Contributor
10 years ago
Solved

JScript StackTrace

Hi there,

Just want to know if there's a way to trace the stack when an error/exception is raised other than in debug mode using JScript...

The raison is that all my test functions raise exceptions but I need to make sure I caugth them where they had happened exactly. Thus, I can quickly trigged the faulty lines whatsoever...



The only thing I know so far is the standard AQTime package/Namespace (never used either) that only works in debug mode (asper SmartBear docs). G

It looks great but my tests are only ran using TestExecute and no TestComplete...

My purpose is to log the trace in the execution log file whenever something bad happens...



Hope my request's been clear enough...



Any example will be great...!!!



Regards,

Ted B.