Re: [qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Benjamin Dreux
Follwing these advices http://manual.qooxdoo.org/current/pages/development/simulator_locators.html I've create a working locator qxhv=*/qx.ui.toolbar.ToolBar/*/[@label="my-label"] 2011/9/19 Benjamin Dreux : > Hi Daniel, > > Following your advice i tryied this locator > > qxhv=*/qx.ui.toolbar.Too

Re: [qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Benjamin Dreux
Hi Daniel, Following your advice i tryied this locator qxhv=*/qx.ui.toolbar.ToolBar/qx.ui.toolbar.Button This works fine. One step further, i want to select a specific toolbar button. My first idea was to use the label of the Button. So i used qxhv=*/qx.ui.toolbar.ToolBar/qx.ui.toolbar.Button[@

Re: [qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Daniel Wagner
Hi Benjamin, you don't need to modify your application for testing if you use the qxh and qxhv locators. They use an XPath-Style syntax to traverse the application's widget hierarchy. The locator qxh=qx.ui.toolbar.Button is interpreted as "A *child* of the application root that is an instance

[qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Benjamin Dreux
Hi I'm trying to create a test using the Selenium IDE. After reading the documentation on the topic, I tryed to use the qooxdoo user extension. I found a version of the qooxdoo user extension in the qooxdoo sdk (QOOXDOO_SDK/component/simulator/tool/user-extension/user-extension.js) I add this us