ie.back is tested in navigate_test.rb, which works for me in trunk. 
Aidy, does this test work for you?

Bret

Charley Baker wrote:
> Hey Aidy,
>
>    The back method does a straight call to ie's GoBack method, and 
> according to the comments throws that exception only if for some 
> reason it can't go back. If it is going back then you might want to 
> swallow the exception and add an assert for an element on the page 
> that you hoped to go back to. I don't see any inherent reason why it's 
> throwing the exception, but that's just from a quick look.
>
> -Charley
>
> On 8/10/06, *Adrian Lewis* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     HI,
>
>     The version of watir is shown in the err msg below. The browser is
>     definitely going back to the previous HTML page, yet I
>     receive this exception:
>
>     c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1054 /./watir.rb:1500:in
>     `method_missing': GoBack (WIN32OLERuntimeError)
>
>     Should I catch the exception or choose a different method?
>
>     (sorry if this has been briefed, but I cannot access the internet
>     at the
>     moment)
>
>     Cheers
>
>     Aidy
>

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to