Hi Natasha,
This script I wrote should check for 404 errors and send an email when
they are found.
http://watirmelon.wordpress.com/2008/05/15/simple-web-application-monitoring-with-watir/
I use the watir method named check_for_http_error()
Hope this helps your cause.
If you do decide to develop something and can share it on the wiki,
that would be really great.
Cheers,
Alister Scott
http://www.io.com/~wazmo/blog/archives/2008_05.html#000277
I might do an SVN checkout Matthew's code and include it in a wiki
example page.
I don't think we should expect first time Watir users looking for
example usage to install and checkout a SVN repo.
I'll ask him first, I noticed his Watir blog hasn't been updated since
Feb, does he still read this group I wonder?
Cheers,
Alister
Security:[SEC=UNCLASSIFIED]
Hi all
I've just used HttpWatch (free version ) http://httpwatch.com/ and the accompanying site-spider (http://httpwatch.com/rubywatir/) with good effect.
Cheers
Don
>>> Alister Scott 10/10/2008 7:47 am >>>
Hi Natasha,
Now I understand.
You may be able to use some of the logic in the script to iterate
objects on a page:
http://wiki.openqa.org/display/WTR/Save+All+Images+on+a+Webpage
Cheers
Alister
On Oct 9, 9:46 pm, Natasha Ranney wrote:
> Hi Alister,
>
> Thanks for sharing the script :).
>
> But this script seems to check only the main URL. I was looking for some script, which will scan through all the links for a particular website and list all those links that result in 404 errors.
>
> So basically it will scan through each page and its corresponding links. I do plan to write one, will share it on the wiki, once its ready.
>
> Thanks,
> Natasha
>
If we think this code should be made more available to people, the right
thing to do would be to create a release and post it to Rubyforge. I
actually administer this project, so have the rights to do this, or
could grant them to you.
But we really should hear from Jim first.
Bret