Issues to sync with page correctly in watir1.6.7

12 views
Skip to first unread message

alex.ikhelis

unread,
Nov 25, 2010, 10:03:51 AM11/25/10
to Watir General
Hi guys,

We have recently updated our test environments to watir1.6.7 and our
scripts start to fail waiting for page to be fully loaded. Failures
happen when a script tries to access certain html elements on the page
while it is actually still loading.

Have you noticed something similar? Can it be caused by recent wait
improvements in watir 1.6.6 / 1.6.7?

This is an urgent issue for us, so very appreciate your help.

Thank you,
Alex

alex.ikhelis

unread,
Nov 25, 2010, 10:20:10 AM11/25/10
to Watir General
My current assumption, that the reason of our failures is due to the
READYSTATE_INTERACTIVE state was added as the state to determine
browser load is complete:

ie-process.rb:
# Used internally to determine when IE has finished loading a page
READYSTATE_INTERACTIVE = 3

Wondering, what was the reason to include it?

Regards,
Alex

alex.ikhelis

unread,
Nov 25, 2010, 10:54:36 AM11/25/10
to Watir General

Darryl Brown

unread,
Dec 2, 2010, 9:02:06 PM12/2/10
to Watir General
Hi,

Are your pages using AJAX ? Watir does not wait for AJAX objects. In
our scripts, we wait until the last AJAX object to exist before
continuing.

Regards,
Darryl

On Nov 25, 10:54 am, "alex.ikhelis" <alex.ikhe...@gmail.com> wrote:
> Raised it as a tickethttp://jira.openqa.org/browse/WTR-466
Reply all
Reply to author
Forward
0 new messages