Logging error codes globally

Class library usage, coding and language questions.
atam
Posts: 15
Joined: Wed Jan 16, 2013 2:58 pm
Contact:

Logging error codes globally

Post by atam » Fri Apr 05, 2013 11:55 am

Hi,

We are testing a web portal and have a issue.

Sometimes error codes are generated on the webportal GUI. These can occur at any time on any page etc...

We need to collect these error codes if/when they occur. An error code could for example be one of the following

XYZ2233454544
XYZ2223332455

These error codes are echoed out in huge log files, so it would simplify troubleshooting knowing them.

Is there a way to trigger a save of these codes, without the need to convert every recording to user code and manually looking for them (which is not a feasible solution for us).

Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Logging error codes globally

Post by Support Team » Wed Apr 10, 2013 12:24 pm

Hi,

You could search for such error codes in a parallel thread, for more information please take a look at the following blog: Handling dialog and pop up windows, or you could also use PopupWatcher class in order handle the errors.

Regards,
Markus
.
Image