Ajax woes

On Mar 23, 11:19 am, “Bret P.” [email protected] wrote:

automate any complex AJAX grid usingWATIR(run test 100 times)

problem. What kinds of problems are you seeing? Are the scripts
slowing down? Are you getting intermittent failures? Memory leaks? It
sounds scary when you say it is not stable or reliable, but I’m not
getting a clear picture of what this looks like to you.

As mentioned earlier in the thread, people usingWatirto test Ajax
typically use the “wait_until” method to avoid sleep statements. I
would like to see an example where this wasn’t an option. I agree:
sleeps should be avoided.

Bret

Small correction: Watir keeps references to the element proxies. The
DOM elements are located in the IE process. Every check for the
element availability is marshalled between the processes (test script
and IE).

-Alex