i could never find a way of getting the status code easily. If you look
through the watir source it does something like use a regular expression
against the page title to try and figure it out. At one point watir would
raise an exception when the page finished loading if it was an error, I
think that is now off by default

Paul

On Wed, Apr 22, 2009 at 7:29 PM, Tony <[email protected]> wrote:

>
> Hi Paul,
>
> Would suggest you use fiddler which is a free tool.(http://
> www.fiddler2.com/fiddler2/)
> You could run fiddler while your scripts are executing and capture the
> status code, urls hit etc from a different process.
>
> You could also try httpwatch (not free) http://www.httpwatch.com/
> This supports ruby programming and could be used along with watir to
> get the results you need.
>
> If anyone has a better solution using COM, iam waiting to hear.
>
> -Tony
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to