I just download Selenium and make my first test case. It works like a charm. It looks so smart I don't think I will ever want to use anything else for testing Web applications !
Thanks, Martijn ! Pierre-Yves Martijn Dashorst a écrit : > Take a look at selenium. That runs inside your browser, and makes > recording of tests pretty easy with the selenium ide. The tests will > be rather slow but much faster than running them by hand. > > jWebUnit (Julien Henry) is currenlty working on integrating selenium > runner as one of the drivers. > > Martijn > > > On 9/7/06, Nino Wael <[EMAIL PROTECTED]> wrote: >> Hi >> >> We tried jWebUnit aswell and found it very slow to work with, at some point >> it just became to time consuming(it's properly fine if you have normal >> simple html pages). Currently we are wondering if we could use Jmeter for >> unit tests of the GUI, it seems doable but haven't really looked into it yet. >> >> Regards Nino >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre-Yves >> Saumont >> Sent: 7. september 2006 10:50 >> To: wicket-user@lists.sourceforge.net >> Subject: [Wicket-user] Testing Wicket application >> >> Hello, >> >> I would be interested to hear about your experience in testing Wicket >> application, particularly using Ajax. >> >> My experience, after one week trying several solutions, is not so good. >> I tried jWebUnit and ad a lot of problems with scripts. So I "downgrade" >> to HtmlUnit to found that the javascript handling seems to be much >> different from what a normal browser do. >> >> One issue is that although an Ajax call would succeed in a normal >> browser, HtmlUnit reports an error in the onFailure handler. Either the >> Ajax call fails, or the failure handler is executed even if the call >> succeeds. Furthermore, HtmlUnit reports an error in the script although >> forcing the call to fail in a normal browser produces no error. >> >> There is a similar problem with some scripts that are linked to the >> page. Although they are not executed on page load by a normal browser, >> HtmlUnit reports an error in them. The error is the same in both cases: >> null browser objects like navigator.userAgent or window.location >> >> Another issue is that when an Ajax call succeeds (after removing the >> onFailure handler), the result that is received by HtmlUnit is not the >> same as in a normal browser, ie the response displayed through >> page.asXml() is completely different from what is displayed in the Ajax >> Debug Window. I can see that it is in fact a response to Wicket Ajax >> call, but the data is not correct. After the call, in a normal browser, >> the target components are updated. In HtmlUnit, they are not. >> >> Has anyone experienced such issues? Do yo think these are HtmlUnit >> issues only and has nothing to do with Wicket? Do you know better >> solutions for testing Ajax Wicket apps? >> >> Thanks >> >> Pierre-Yves >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user