Hi all, There have been a lot of changes since the last release of Watir - 1.6.2, many of these being contributions we've received from various community members, core committers and others. In the effort to include Firewatir as a 1st class citizen, there are a lot compatibility changes and refactorings in this release, many platform issues have been taken care of, as well as api differences. The list of changes is included below.
This is being released as a true release candidate for the first time (given rubygems support in 1.3.2+ for this type of release) which among other reasons is why we're requesting you update rubygems . Please report any issues with detailed information - platform, ruby version, error trace, test run and html from the SUT, if this is a new failure with the current version of watir. The more platforms we can run this on the better to detect any issues. Success for running your current tests based on platform is also good to hear. Installation instructions are here. The final build will be posted on rubyforge and tagged in github, with news to update to the final version. http://wiki.openqa.org/display/WTR/Development+Builds Thanks for your help, Charley == Version 1.6.5.rc1 This is a release candidate. === New Features (Both IE and Firefox) * Browser.attach is now available. * Browser.options and Browser.set_options are now available. * Add support for definition lists, this adds these methods: dd, dt, dl, dds, dts, dls. (Jarib) * Hidden#visible? should always return false. (Jarib) * New method execute_script. * Add ElementCollections#size as alias of length. (Jarib) * Some camelCase => snake_case renames (with aliasing). (Jarib) Image#fileCreatedDate => file_created_date Image#fileSize => file_size Image#hasLoaded? => loaded? SelectList#getAllContents => options SelectList#getSelectedItems => selected_options SelectList#clearSelection => clear SelectList#includes? => include? TextField#dragContentsTo => drag_contents_to Radio/Checkbox#isSet? => set? * Patch for winclicker fix. http://jira.openqa.org/browse/WTR-279 (Derek Berner) * Add support for using a Regexp as the third argument (value) when locating checkboxes/radio buttons. (Jarib) * Add support for <strong> element. (Jarib) * Add support and tests for <em> element. (Jarib) * SelectList#select now supports Numeric arguments. (Jarib) * Additional inspect implementations for both IE and FF. (Jarib) * Added ElementCollections#{first,last}. (Jarib) * Fixes for running on Ruby 1.9. (Jarib) === Firefox Improvements * SelectList#set is now defined for Firefox. Like with IE, it is an alias for SelectList#select. [271] * Element collections are now enumerable. This allows methods such as @select@ and @map@ to be used with methods such as @divs@ and @li...@. * FireWatir.attach is now available, analogous to IE.attach. * Some Javascript errors that were being ignored, now raise Ruby exceptions. * Added event handler which resets the context of document * Fix bug that occurred when new page was automatically loaded. (Angrez, 3ef8b6) when page gets loaded automatically (Angrez) * Changed code to use document_var, body_var, window_var, browser_var instead of "document", "body", "window", "browser" variables. (Angrez) * Changed code to replace every quote (") in xpath query with (\") so that it doesn't give error while executing the xpath query (Angrez) * Fire onchange event for FireWatir file fields. Closes WTR-286. (Jarib) * Fixes for running and closing Firefox on Mac OS X * added functionality to allow Watir::Browser.attach with no arguments to open a new firefox window rather than taking over the existing focused window (Rob Aldred) * also modified some setup functions to correctly handle closed browsers, browserless windows and others (Rob Aldred) * Add test and implementation for Firefox#status http://jira.openqa.org/browse/WTR-250 (Jarib) === IE Improvements * Allow attach timeout to be accessed as an option. Thus: IE.set_options :attach_timeout => 5.0 This was previously available as class method. * Fix for Autoit auto-registration. (Bret) * Fix for IE6, 7 and 8 file downloads. (Željko Filipin & Jarmo Pertman) * Replaced REXML with Nokogiri for xml parsing. (Aidy Lewis) * Option now supports :label attribute http://jira.openqa.org/browse/WTR-297 * Patch for IE.close causing WIN32OLE errors http://jira.openqa.org/browse/WTR-304 (Tony) * Watir::IE.inspect issue fixed: http://jira.openqa.org/browse/WTR-180(Jarib) * Fix for Browser#execute_script on IE7. (Jarib) * Removed ActiveSupport dependency. (Jarib) === Structure Improvements * Lots of rework of the FireWatir code, including removing duplication and dead code, renaming variables, and simplifying code. Also a few performance improvements. * Rename source file names for consistency. === Unit Tests * Add tests demonstrating known bugs. * Make the "window" tests run more reliably. * Relocate unreliable tests. * Tag tests that are known to fail on IE or Firefox. * Fixed one test that was failing on non-English platforms. (Jarib) * New Rake task (:test) runs all tests. * Use ci_reporter to provide more detailed test results for watirbuild.com. Use xls transform to format results. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
