Re: [qooxdoo-devel] QooxDoo + Selenium Webdriver + Nunit
Brought to you by:
ecker,
martinwittemann
From: Daniel W. <dan...@1u...> - 2013-05-29 12:58:29
|
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 > |