Hi.
I'm trying to get the selected items (more precisely the values of their
label properties) of a qx.ui.form.List with Selenium RC. When I call
getSelectedValues or getSelectedLabels with the qxh locator of my list,
I get the following error :
ERROR: Specified element is not a Select (has no options)
I also tried to get the selected values of other similar widgets, like
qx.ui.form.ComboBox or qx.ui.form.SelectBox, but got the same error.
I tried qxObjectExecFunction("qxh=*/mylist", "getSelection"), but it
only gives me the class names of the selected items, with something that
looks like a unique identifier (e.g.
qx.ui.form.ListItem[dx],qx.ui.form.ListItem[dq]).
Maybe I could use this identifier (if it's one) to get the label of the
selected ListItem, but I don't know how. And I already failed to obtain
the string value of the label property of a ListItem that I can locate.
Does someone know how to get the selected values of one of those Widgets ?
Thanks.
--
Loic - Novlog
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel