Click to See Complete Forum and Search --> : Program to detect Javascript errors.


alice
08-16-2004, 08:07 PM
First, I would like to express my sincere appreciation for those responsible for creating this website. You have definitely made a positive impact to web developers all over the world. Thank you.:)

Now comes my question. I have a list of about 100 URL. I need to check these URL if they generate a Javascript error when somebody tries to access them. Does anyone have any idea or have wrote a program to do just this. It will definitely save a lot of time for those doing QA like me. Is this even possbile? If so, do you have any suggestion on the approach to the problem?

Basically, what the program will do is take in a text file with a list of URL:

www.webdeveloper.com
www.yahoo.com
www.google.com

After running the program, it will flag the URL that generated a Javascript (scripting) error. It will produce a file with the flag on the URL that had errors.

Thank you in advance.

Willy Duitt
08-16-2004, 10:31 PM
Using javascript, I do not think this will be possible if the URL you are trying to check is in/on another domain...

Cross-Site scripting security and all....

.....Willy

alice
08-19-2004, 07:13 PM
Thank you.