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