A recurring problem I've been having while fixing Selenium drivers is
grabbing values from the more exotic form controls. As this issue is
causing the failure of at least a dozen automated tests, I'd be very
interested to know if anyone has a solution for verifying the value of
a select, select1, or range control. The current method in use is to
execute verifyValue on an XPath similar to:
/html/body/xforms:select/pe-value/input, however this always returns
an empty string. As this pattern is present within just about every
driver that uses a select/select1/range it leads me to believe that
this was once the accepted functionality. Has this feature been
accidentally broken, or is this simply a problem with the drivers? In
any eventuality, could someone please explain the proper method for
returning these values within Selenium?
A similar issue impeding test 4.6.1.a2 is that the method for changing
the value of a range control was unknown when the driver was authored.
I suspect this will be a little harder to resolve, or perhaps even
indomitable, as unlike other controls you cannot evaluate an XPath in
order to obtain a DOM element on which to simulate a click. This is in
part because the location of the click with respect to the range, and
even the slider's current position, is paramount. Any help in these
regards would be most appreciated, and should bolster conformance
considerably.
Thanks,
Scott