Re: [wtr-general] Re: Help with Watir Page Checkers

2010-03-03 Thread Paul Rogers
the error checkers use the standard IE error page. Your app or web server can override these to display a different page to the user. Youd have to write your own checker for that. Paul On Wed, Mar 3, 2010 at 3:45 AM, yoggy samuelades...@googlemail.com wrote: Hi Marek, I did what you told me

Re: [wtr-general] Re: Help with Watir Page Checkers

2010-03-03 Thread marekj
Are you using IE8 ? or IE 7? When using IE 8 the IE#check_for_http_error doesn't raise an error as expected and always returns false. in IE7 it works. The implementation checks for IE 7 condition or assumes it's IE6 (yes, code was written before IE8 here) this line if m and m[1] =='7.0' could be

Re: [wtr-general] Re: Help with Watir Page Checkers

2010-03-02 Thread marekj
When you run those lines what happens? begin browser.add_checker PageCheckers::NAVIGATION_CHECKER browser.goto(http://www.somecrazynonexistantthing.com/reallynonexistant;) resuce= e put e end what is the value of e? marekj Watirloo: Semantic Page Objects in UseCases