Hi Markus,

On 29.05.2013 12:02, Markus Schneiders wrote:
> Hi Daniel,
>
> implementation shows some progress.  I ported you test sample and it seems to 
> work with contentButton.Click()

that's great to hear!

>
> I double checked some stuff and find out, that Selected always returns false. 
> This can be an known issue, cause the Button has TagName="div", but this must 
> be an <input>.
> See also : https://code.google.com/p/selenium/issues/detail?id=2627
>
> Is this the same with your java Version, or is there something wrong with my 
> implementation?

qooxdoo's radio buttons and checkboxes are divs instead of input 
elements, so yes, you're running into the same problem as described in 
that bug report. The Java lib works around this by checking if the 
widget associated with the located DOM element implements 
qx.ui.form.IBoolean and providing its own isSelected implementation 
which queries the widget's "value" property:

https://github.com/qooxdoo/qxwebdriver-java/blob/master/src/main/java/org/oneandone/qxwebdriver/ui/form/IBooleanForm.java


Regards,
Daniel

>
> Thx in advance
> Markus
>

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to