Yes, don't work on the generated HTML, work with the qooxdoo controls. If you have a button, call the execute method of the button. For some controls you may need to create an event for execute and inside that event call the click method (assuming you defined an event listener for click).
Can I ask what tool you are going to use for testing? We are using TestComplete for our testing. Jim www.D4PHP.org www.D4PHP-Hosting.com On 8/7/07, Chris Bowlds <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > We are attempting to automate testing of a new commercial product with a > Qooxdoo based interface. The testing tool emulates user actions by sending > browser events. For example, click on a button, select an entry from a > select list, click on a checkbox, etc. These events are fired via > JavaScript, and additional arbitrary JavaScript may also be utilized when > these fundamental events will not suffice. > > > > This event firing technique does not work for some Qooxdoo components, > such as qx.ui.toolbar.MenuButton. When we send a click event to the DIV > tag which is generated by the MenuButton, Qooxdoo does not react. My theory > is that the Qooxdoo event handling must work in a different way; perhaps by > capturing mouse events and then converting the x/y coordinates into an event > on the appropriate component? > > > > Can someone who understands the Qooxdoo event model give some advice on > how a qx.ui.toolbar.MenuButton can be programmatically clicked at runtime > via JavaScript? > > > > Regards, > > chris > > > > Chris Bowlds > > Solution Architect > > The Fanfare Group > > 1091 N. Shoreline Blvd. > > Mountain View, CA 94043 > > [EMAIL PROTECTED] > > > > > > > > ------------------------------------------------------------------------- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >
<<inline: image001.jpg>>
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
