Hello Adam,

Yes, of course I am thinking that this bug shouldn't happen that the
page is not loading completely, but somehow I couldn't reproduce this
bug manually, so I thought it is something watir causes.
Have you heard about something like that?

The refresh idea is what I suggested in my first post, but the problem
is that after the refresh, the page will be in its initial loading,
and it is not always the case.
My question was, how can I retrieve the last watir command I sent?


On Jul 13, 7:22 am, Adam Reed <[email protected]> wrote:
> My first approach would be to resolve why the application is not
> loading completely or call it a 'failure' and talk to you developers
> or network architects...
>
> Another approach would be to check to see if the last visible element
> on the page has loaded (whatever element is missing 100% of the time
> when the page doesn't finish loading), and if it does not exist,
> @browser.refresh.
>
> Adam
>
> On Jul 13, 5:23 am, Shlomit Gazit <[email protected]> wrote:
>
>
>
> > Is there any way to redo the last command of the test?
>
> > The problem is that sometimes I see that in my application the page is
> > not loading completely so I need to refresh the page.
>
> > I was thinking as a solution to check for a certain word every page
> > load, and if the word doesn't appear, the page will be refreshed. The
> > problem is that I need to redo the last command that was running, for
> > example that an anchor will be open.
>
> > Any idea?
>
> > Shlomit

-- 
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