It looks like you close your browser at the end of the loop, then you attempt to go to a URL.
Perhaps replacing line 2 with this will do the trick: ie.start("http://yourwebsitehere") HTH, George On Jun 24, 2:46 pm, Adam <xyza...@gmail.com> wrote: > My code grabs data from a spreadsheet, then uses this data to populate > fields on a form, then submits that data and scrapes the information > from the next screen. > > The script is (was) working. Whenever I start adding loops, I get the > following error: > > C:/Ruby186/lib/ruby/gems/1.8/gems/waitr-1.6.5/lib/watir/ie-class.rb: > 354:in 'method_missing': unknown property or method 'navigate' > <WIN32OLERuntimeError> > HRESULT error code:0x800706b5 > The interface is unknown. > from C:/Ruby186/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ie- > class.rb:354:in 'goto' from works.rb:47 > > The code (seems to be breaking at line 47, or line 2 in the > pastie)http://pastie.org/1017931 > > I looked through the forums and couldn't find anything. Help would be > much appreciated. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com