Hi,

the qxh locators work with the objects of the qooxdoo application, not 
DOM objects.

The qxh locator steps are explained in the wiki[1], but to answer your 
question, yes, you can locate qooxdoo objects using their class names or 
any of their properties. Check out the qooxdoo application in the 
Simulator contrib and the corresponding simulation script 
(tool/selenium/simulation/custom/simulation.js) for some examples.

However, you can only check for one condition per step, so you couldn't 
search for your TextField using both visibility and its label text.

Feel free to ask if you have any further questions, although I'm afraid 
I've never really used the Simulator for qooxdoo 0.7-based apps.

Regards,
Daniel

[1]http://qooxdoo.org/contrib/project/simulator/selenium-user-extension

Cecilla Müller schrieb:
> Hi,
> 
> I'm using Selenium with the 0.1 version of the qooxdoo user extension to test 
> a RAP application. I would like to use the qxh locator, but I just don't 
> understand how to use it properly. The examples I find use only the 
> properties "label" and "page" e.g. testing 
> http://demo.qooxdoo.org/0.7.2/showcase/index.html#Tab. What kind of 
> properties are these? Using Firebug I can't find a property "label" in the 
> DOM for example. If these are names of the classes, how do I refer to a 
> textField (qx.ui.form.TextField)? Can I locate a TextField which has to be 
> visible an whose ID starts with "Test"?
> 
> Thanks for any hint.
> 
> Regards,
> 
> Fabian
> ____________________________________________________________________
> Neu: WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und
> Telefonanschluss für 17,95 Euro/mtl.!* http://produkte.web.de/go/02/
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to