Hi,
ziepf schrieb:
> Hi,
>
> is it possible in qooxdoo 1.2.1 to add ID's automatically ?
No. qooxdoo 0.7 used the object registry's IDs for this, but since 0.8
these can be reused so there's no guarantee the IDs would be unique.
> I build a small test page with buttons, textfields, radiobuttons etc.
> Also the locator I get via inspector is very short qx.ui.form.Button - so
> the locator is not the problem for that tests. I also extended the
> user-extensions.js to get the text of a textfield - that's not the problem
> but how can I get the label of a button or a radiobutton ?
The user extensions proved a method "getQxObjectFunction" that you can
use to call any method on a widget. It's called "qxObjectExecFunction"
in the Java (and Python) bindings:
qxObjectExecFunction("qxh=qx.ui.form.Button", "getLabel")
>
> The idea behind this is to test the labeling of all buttons and tabs of my
> app.
>
> Any Ideas ?
>
> ziepf
>
Regards,
Daniel
------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:
WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel