Hi Scott, there is no waitFor like step because it should not be needed: WebTest aims to ensure that the application is on a determined state once a step has been executed. For this purpose there is the config option easyAjax. This option is not yet documented and not set per default to true because HtmlUnit currently lacks a control possibility when setInterval is used. If set to true, it makes each step take 2 seconds when the app uses continuously setInterval.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Scott F. Walter wrote: > All, > > I am a webtest newbie and would like to test my ajax-powered app. Looking > through the available steps in the manual I don't see any steps such as > "waitFor". How are you testing your ajax-powered pages? Should I just > use the the "sleep" step? > > I noticed there's an extension step called "retry". Is this a good step > to use for ajax testing? Just from reading the docs on "retry" I am > thinking I could do something like this: > > <retry maxcount="10"> > <verifyText text="hello world"/> > <sleep seconds="1"/> > </retry> > > Or perhaps there is a better approach for ajax testing with webtest that > someone could recommend. > > Thanks, Scott. > > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

