[Wtr-development] [JIRA] Resolved: (WTR-192) wait needs timeouts (sample code provided)

Charley Baker (JIRA) watirjira at gmail.com
Sat Oct 2 15:07:30 EDT 2010


     [ http://jira.openqa.org/browse/WTR-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charley Baker resolved WTR-192.
-------------------------------

         Assignee: Charley Baker
       Resolution: Fixed
    Fix Version/s:     (was: Soon)
                   1.6.6

Fixed for 1.6.6, closing. 

> wait needs timeouts (sample code provided)
> ------------------------------------------
>
>                 Key: WTR-192
>                 URL: http://jira.openqa.org/browse/WTR-192
>             Project: Watir
>          Issue Type: Bug
>          Components: Wait
>    Affects Versions: 1.5.3
>            Reporter: Charley Baker
>            Assignee: Charley Baker
>            Priority: Major
>             Fix For: 1.6.6
>
>
> There are a few loops inside wait that need to have timeouts added. 
>         while @ie.busy # XXX need to add time out
>           sleep a_moment
>         end
>         until @ie.readyState == READYSTATE_COMPLETE do   # need time out
>           sleep a_moment
>         end
>           until doc.readyState == "complete" do  # need time out
>             sleep a_moment
>           end
> Otherwise if ie doesn't return the right value Watir hangs.
> Noticed this on yahoo's finance page when streaming quotes are turned on: 
> http://finance.yahoo.com/q?s=ROST

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Wtr-development mailing list