Hi,
it looks like your application uses qooxdoo's translation feature. In that
case, the button's label is an instance of qx.locale.LocalizedString instead
of a plain JavaScript String. qxObjectExecFunction doesn't know how to deal
with those, but you can use getRunInContext instead:
getRunInContext('qxh=child[0]/child[0]/qx.ui.container.Composite/child[1]',
'return this.getLabel().translate().toString()')
This will get the LocalizedString from the widget, translate it to the
currently active locale's language and return the string value.
By the way, I almost missed your message because it only appears on Nabble,
not on the actual qooxdoo-devel mailing list. Please subscribe to the list
to make sure everyone can see your posts.
Regards,
Daniel
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Qooxdoo-tests-with-selenium-tp5800295p5841223.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel