Re: [Wtr-general] ie.back

2006-08-11 Thread Bret Pettichord
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

[Wtr-general] ie.back

2006-08-10 Thread Adrian Lewis
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

Re: [Wtr-general] ie.back

2006-08-10 Thread Charley Baker
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