Cool, glad it worked.  ie.start should have opened a new browser (like
Watir::IE.new) and go to the URL specified.  Not sure why that didn't
work for you.




On Jun 24, 3:18 pm, Adam <[email protected]> wrote:
> I tried ie.start("yourwebsite...")
>
> It didnt' work, but it got me thinking that I needed to instantiate
> the object within the loop maybe... so I tried this and it worked:
>
> http://pastie.org/1017983
>
> On Jun 24, 3:10 pm, George <[email protected]> wrote:
>
>
>
> > 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 <[email protected]> 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: [email protected]
To unsubscribe: [email protected]

Reply via email to