Forum Discussion

tim_faron's avatar
tim_faron
Contributor
9 years ago

catching exception and logging relevant information

using jScript we have out TestComplete scripts wrapped in a try/catch ..

 

On failure, we log out e.message/e.additionalInformation but in most cases it's a generic object message which is not helpful at all.

 

Anyone know a solution to getting any relivant infomation out of the exception, for example Line Number, stack traces?

 

Thanks

Tim