G
Guest
Hi,
I'm trying to come up with some sort of automatic tool to test a bunch of
HTML pages, checking that they are free of script (javascript) errors. Not
only runtime errors, but also syntax errors.
For this I'd like to do something similar to what the Microsoft Script
Debugger does: integrate somehow with IE and "listen" for script errors. I
just need to log to a file that an error occurred.
I've been able to accomplish this with FireFox. It was farily easy and I'm
quite happy with the result. But with IE, I'm hitting a wall. The
DWebBrowserEvents2 doesn't seem to contain any useful events, neither I have
been able to find useful tech documentation about how the Microsoft Script
Debugger integrates with IE and captures script errors.
Any help would be greatly appreciated!
I'm trying to come up with some sort of automatic tool to test a bunch of
HTML pages, checking that they are free of script (javascript) errors. Not
only runtime errors, but also syntax errors.
For this I'd like to do something similar to what the Microsoft Script
Debugger does: integrate somehow with IE and "listen" for script errors. I
just need to log to a file that an error occurred.
I've been able to accomplish this with FireFox. It was farily easy and I'm
quite happy with the result. But with IE, I'm hitting a wall. The
DWebBrowserEvents2 doesn't seem to contain any useful events, neither I have
been able to find useful tech documentation about how the Microsoft Script
Debugger integrates with IE and captures script errors.
Any help would be greatly appreciated!