tobello
11 years agoContributor
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.
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.
- You can see the Call Stack info in the log. Have a look at this
http://support.smartbear.com/viewarticle/55408/