Hi all!

We are starting out with WebTest and would appreciate some help... :)

1) we are making AJAX calls and found that you had to use <sleep> to wait for 
the call to finish. Now, this is awkward - why would someone ever want to do 
something in a test before AJAX finished? Is there any wait to say "wait for 
all AJAX to finish"?

2) we are using Flotr library for drawing graphs. However, it doesn't play 
nicely with WebTest:
TypeError: Cannot find function scale in object [object 
CanvasRenderingContext2D].
Since we do not intend to test Flotr charts at this point, we would like 
WebTest to skip Flotr.draw() JS function. The only way I can think of is to 
set a cookie in test files and then check for cookie before calling 
Flotr.draw. Is there a nicer way to do it?
Of course, tips on how to fix JS support for Flotr would be even better... :)

Thanks,

Anze
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to