[Wtr-general] Checking for pending XHRs and timers
Jeff Fry
jeff.fry at gmail.com
Thu Jun 21 18:09:41 EDT 2007
On 6/21/07, Bret Pettichord <bret at pettichord.com> wrote:
>
>
> The first step is to figure out how to do it. Then we can deal with your
> other questions. We would either build the solution into Watir or else
> provide an easy to way to hook the required code in. Actually i think
> the existing error_checker hook might be able to be used for this (maybe
> it should be renamed).
Cool. I'm glad it sounds useful to you as well! I've created Feature Request
http://jira.openqa.org/browse/WTR-166 for this. Anyone here have an interest
in taking an initial stab at this?
I can provide sample public pages and write failing unit tests. I am
thinking of creating 2 pages, one with a timer that displays "Timer
complete" and another with an XHR that displays "XHR complete"...both after
about 8 seconds. I'd then write tests that expect the text to be there as
soon as the page loads. Sound good?
Jeff
--
http://testingjeff.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070621/45d9189e/attachment-0001.html
More information about the Wtr-general
mailing list