Pieter Degraeuwe wrote: > > This seems to be quite useful. > > However, do you have a solution to avoit the 'sleep(...)' methods for ajax > calls? > When you have a lot of these tests, your testcyclus will be too long... > (Maybe there is a way to detect when the ajax calls are ended?) >
The call to sleep() method is used to simulate a slow responding method. It is not needed at all. The detection is done by selenium.waitForCondition(<some javascript>). ----- -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://http://agileskills2.org) -- View this message in context: http://old.nabble.com/Re%3A-Testing-AjaxSubmitLink-onSubmit%28%29-with-WicketTester-%40L-tp26947384p26954770.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
