If client does not have javascript it will always use non-ajax button clicks. You can choose in WicketTester to test either with tester.executeAjax or just formTester.submit. The latter one is without "javascript".
Ofcourse wickettester cannot test if your button exists magically only because of javascript. In such case you could use HTTPUnit to test your web-app. ** Martin 2009/8/4 Per Newgro <per.new...@gmx.ch>: > Hi, > > i would like to write a test for my page. The page uses the the clientinfo > to determine if javascript is enabled. > If js is disabled a redirect should occur. But how can i simulate disabled > javascript with the wickettester? > Or is it impossible? > > Thanks for bring me the light. > Per > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org