Re: [Wtr-general] ie.back
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
[Wtr-general] ie.back
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 --- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person. --- ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] ie.back
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. -CharleyOn 8/10/06, Adrian Lewis [EMAIL PROTECTED] wrote: HI, The version of watir is shown in the err msg below. The browser isdefinitely 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---This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system.If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person. ---___Wtr-general mailing list Wtr-general@rubyforge.orghttp://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general