Hi all,

I've made a release candidate for Watir 1.9.1. This release includes *only*
IE9-specific changes:

* fix event handling for keyboard and mouse events in fire_event and add
missing mouse events
* add !doctype to all html tags in the test cases. This makes IE8 use IE8
Document Standards and IE9 use IE9 Document Standards. A lot of bugs were
then exposed by this change (and detected the xpath issue we missed,
reported on Watir General)
* xpath matching on text values was broken cases because IE9 adds lots of
additional #text nodes. IE9 also changed ole_object.toString (silently
failed). Further, toString was not returning the actual text in IE9 so in
that case we're now using ole_object.wholeText
* fixed forms from blowing up if the name was not an attribute of the html
* non-control elements stopped displaying the name in ole_object.name so
using the getAttribute('name') instead. Made this the case for all elements
to avoid putting an ugly corner case in locator.rb
* fast location using getElementById works differently in IE9 so added check
to make sure the type of the object was what we expected or we fall back to
standard locators

I think things are pretty good now - I ran tests on IE8 and IE9 in Win7 and
they all look great and will use the RC for a day or two before releasing. I
don't anticipate any other changes at this time, so hopefully this will be
the only RC this time :).

Thanks!
Hugh

IE9, why do you silently fail? why?
_______________________________________________
Wtr-development mailing list
Wtr-development@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to