Vishal Patel schrieb: > Hi, > > I am using qooxdoo 0.6.6 for my application. I have a layout and different > components are added on it. > > Let us say, I have a canvas layout and components like, a table, few > textfields and buttons are added. Now on add button click the values in the > textfields are inserted into the table. And on delete button click the > selected value is deleted from the table. > > I don’t have much idea about JSUnit. But I want to know whether is there any > way to test this add and delete functionally by JSUnit? > > Actually the key question is can we call the events on the component (like > event listener added on ‘execute’ event of the button) manually by > javascript from the test case of JSUnit? > > Thanks in advance... > Since qooxdoo 0.7 we have a qooxdoo unit testing framework but this can only test non interactive code right now. I don't think JSUnit is a better choice because it does have some of the same limitations.
You should take a look at selenium <http://www.openqa.org/selenium-ide/>, which is an open source FireFox plugin or at Squish. Squish <http://www.froglogic.com/> is a commercial program for automatically test GUIs including web applications. The have recently added support for qooxdoo as well. Best Fabian -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG Brauerstraße 48 76135 Karlsruhe Amtsgericht Montabaur HRB 6484 Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel