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?)
Pieter On Tue, Dec 29, 2009 at 8:43 AM, Kent Tong <k...@cpttm.org.mo> wrote: > > > alecswan1 wrote: > > > > So, how do I test AjaxSubmitLink#onSubmit(AjaxRequestTarget target, Form > > form) method? > > > > You may try using to test it instead. > It > supports real AJAX. > > ----- > -- > 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-tp26947384p26951953.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pieter Degraeuwe Systemworks bvba Belgiƫlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be