If you can find a way to reproduce this with a single test please send it and i'll take a look at it.

I'm wondering if Watir shouldn't automatically be calling IE#wait before returning from IE#goto. Of course, you could call it explicitly as a workaround.

Bret

On 2/10/06, Dmitri Dolguikh <[EMAIL PROTECTED]> wrote:
Hmmm,

I'm getting assertion failure (in my code) :). Nothing on the console.
It looks like goto just times out, hence the assertion failure  since
the content I'm expecting is not there.

Also, I noticed that url in the location bar doesn't get updated.
Another interesting thing is that when I run this test alone, it
passes. When it's being executed as a part of a suite (and not the
first test in the suite) goto call times out.

Thanks,
-Dmitri


On 2/10/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> This works fine for me. What errors are you getting?
>
>
> On 2/10/06, Dmitri Dolguikh < [EMAIL PROTECTED] > wrote:
> >
> > Hi list,
> >
> > I'm finding that using goto on Watir::IE is not reliable: when goto is
> > called first time it is *always* successful (provided the url was
> > valid of course). However on subsequent calls it may or may not fail.
> > I tried adding sleep and Watir::IE.wait calls between goto's without
> > consistent results.
> >
> > In fact, for code like this
> >
> > @ie.goto(url1)
> > @ie.goto(url2)
> >
> > second goto call is almost guaranteed to fail.
> >
> >
> > Any ideas, anybody?
> >
> > Thanks,
> > -Dmitri
> >
> > _______________________________________________
> > Wtr-general mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/wtr-general
> >
>
>
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to