watir 1.6.5 → 1.6.6.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. data/CHANGES +461 -326
  2. data/VERSION +1 -0
  3. data/bin/watir-console +6 -6
  4. data/lib/changes.rb +3 -3
  5. data/lib/license.rb +38 -38
  6. data/lib/readme.rb +140 -140
  7. data/lib/watir/WindowHelper.rb +49 -49
  8. data/lib/watir/camel_case.rb +66 -66
  9. data/lib/watir/clickJSDialog.rb +19 -19
  10. data/lib/watir/close_all.rb +37 -37
  11. data/lib/watir/collections.rb +392 -344
  12. data/lib/watir/container.rb +857 -815
  13. data/lib/watir/contrib/enabled_popup.rb +20 -20
  14. data/lib/watir/contrib/ie-new-process.rb +27 -27
  15. data/lib/watir/contrib/page_checker.rb +29 -29
  16. data/lib/watir/cookiemanager.rb +55 -55
  17. data/lib/watir/core.rb +28 -0
  18. data/lib/watir/core_ext.rb +17 -17
  19. data/lib/watir/datahandler.rb +107 -107
  20. data/lib/watir/dialog.rb +46 -46
  21. data/lib/watir/element.rb +351 -343
  22. data/lib/watir/element_collections.rb +97 -97
  23. data/lib/watir/form.rb +170 -170
  24. data/lib/watir/frame.rb +59 -59
  25. data/lib/watir/html_element.rb +22 -0
  26. data/lib/watir/ie-class.rb +1006 -1009
  27. data/lib/watir/ie-process.rb +39 -39
  28. data/lib/watir/ie.rb +70 -133
  29. data/lib/watir/image.rb +130 -130
  30. data/lib/watir/input_elements.rb +614 -572
  31. data/lib/watir/irb-history.rb +30 -30
  32. data/lib/watir/link.rb +64 -64
  33. data/lib/watir/locator.rb +200 -176
  34. data/lib/watir/logger.rb +19 -19
  35. data/lib/watir/modal_dialog.rb +122 -122
  36. data/lib/watir/module.rb +37 -0
  37. data/lib/watir/non_control_elements.rb +145 -145
  38. data/lib/watir/page-container.rb +116 -107
  39. data/lib/watir/popup.rb +29 -29
  40. data/lib/watir/process.rb +19 -19
  41. data/lib/watir/screen_capture.rb +115 -115
  42. data/lib/watir/setFileDialog.rb +16 -16
  43. data/lib/watir/table.rb +395 -362
  44. data/lib/watir/watir_simple.rb +475 -475
  45. data/lib/watir/win32.rb +35 -35
  46. data/lib/watir/win32ole.rb +14 -14
  47. data/lib/watir/winClicker.rb +496 -496
  48. data/rakefile.rb +70 -0
  49. data/unittests/all_tests.rb +10 -10
  50. data/unittests/buttons_xpath_test.rb +69 -69
  51. data/unittests/checkbox_test.rb +179 -179
  52. data/unittests/checkbox_xpath_test.rb +107 -107
  53. data/unittests/click_no_wait_test.rb +21 -0
  54. data/unittests/core_tests.rb +17 -17
  55. data/unittests/css_test.rb +42 -35
  56. data/unittests/defer_test.rb +46 -46
  57. data/unittests/dialog_test.rb +77 -77
  58. data/unittests/div2_xpath_test.rb +21 -21
  59. data/unittests/div_test.rb +188 -188
  60. data/unittests/div_xpath_test.rb +96 -96
  61. data/unittests/element_test.rb +49 -0
  62. data/unittests/errorchecker_test.rb +32 -22
  63. data/unittests/filefield_test.rb +39 -39
  64. data/unittests/filefield_xpath_test.rb +33 -33
  65. data/unittests/form_test.rb +280 -280
  66. data/unittests/form_xpath_test.rb +252 -252
  67. data/unittests/frame_test.rb +155 -155
  68. data/unittests/google_form_test.rb +15 -15
  69. data/unittests/html/JavascriptClick.html +39 -39
  70. data/unittests/html/blankpage.html +11 -11
  71. data/unittests/html/buttons1.html +40 -40
  72. data/unittests/html/checkboxes1.html +89 -89
  73. data/unittests/html/click_no_wait.html +14 -0
  74. data/unittests/html/complex_table.html +36 -36
  75. data/unittests/html/cssTest.html +42 -42
  76. data/unittests/html/depot_store.html +59 -59
  77. data/unittests/html/div.html +93 -93
  78. data/unittests/html/div_xml.html +20 -20
  79. data/unittests/html/fileupload.html +45 -45
  80. data/unittests/html/formTest1.html +38 -38
  81. data/unittests/html/forms2.html +44 -44
  82. data/unittests/html/forms3.html +131 -131
  83. data/unittests/html/forms4.html +27 -27
  84. data/unittests/html/frame_buttons.html +3 -3
  85. data/unittests/html/frame_links.html +3 -3
  86. data/unittests/html/frame_multi.html +4 -4
  87. data/unittests/html/google_india.html +119 -119
  88. data/unittests/html/iframeTest.html +12 -12
  89. data/unittests/html/iframeTest1.html +6 -6
  90. data/unittests/html/iframeTest2.html +5 -5
  91. data/unittests/html/images1.html +66 -66
  92. data/unittests/html/javascriptevents.html +35 -35
  93. data/unittests/html/link_pass.html +10 -10
  94. data/unittests/html/links1.html +38 -38
  95. data/unittests/html/links2.html +10 -10
  96. data/unittests/html/links_multi.html +14 -14
  97. data/unittests/html/list_matters.html +720 -720
  98. data/unittests/html/lists.html +17 -17
  99. data/unittests/html/map_test.html +31 -31
  100. data/unittests/html/modal_dialog.html +10 -10
  101. data/unittests/html/modal_dialog_launcher.html +11 -11
  102. data/unittests/html/nestedFrames.html +6 -6
  103. data/unittests/html/new_browser.html +16 -16
  104. data/unittests/html/pass.html +12 -12
  105. data/unittests/html/popups1.html +59 -59
  106. data/unittests/html/pre.html +27 -27
  107. data/unittests/html/radioButtons1.html +71 -71
  108. data/unittests/html/select_tealeaf.html +54 -54
  109. data/unittests/html/selectboxes1.html +52 -52
  110. data/unittests/html/simple_table.html +26 -26
  111. data/unittests/html/simple_table_buttons.html +104 -104
  112. data/unittests/html/simple_table_columns.html +76 -76
  113. data/unittests/html/table1.html +181 -181
  114. data/unittests/html/tableCell_using_xpath.html +19 -19
  115. data/unittests/html/table_and_tablerow_to_a.html +174 -0
  116. data/unittests/html/textarea.html +30 -30
  117. data/unittests/html/textfields1.html +88 -88
  118. data/unittests/html/textsearch.html +44 -44
  119. data/unittests/html/wallofcheckboxes.html +1003 -1003
  120. data/unittests/html/xpath_nbsp.html +12 -12
  121. data/unittests/ie_exists_test.rb +33 -33
  122. data/unittests/ie_mock.rb +94 -94
  123. data/unittests/ie_test.rb +51 -51
  124. data/unittests/images_test.rb +157 -157
  125. data/unittests/images_xpath_test.rb +91 -91
  126. data/unittests/links_multi_test.rb +48 -48
  127. data/unittests/links_test.rb +175 -175
  128. data/unittests/links_xpath_test.rb +39 -39
  129. data/unittests/lists_test.rb +32 -32
  130. data/unittests/map_test.rb +98 -98
  131. data/unittests/minmax_test.rb +31 -31
  132. data/unittests/navigate_test.rb +39 -39
  133. data/unittests/nbsp_xpath_test.rb +16 -16
  134. data/unittests/non_core_tests.rb +12 -12
  135. data/unittests/other/WindowLogonExample.rb +27 -27
  136. data/unittests/other/WindowLogonExtra.rb +6 -6
  137. data/unittests/other/all_tests_concurrent.rb +57 -57
  138. data/unittests/other/jscriptExtraAlert.rb +6 -6
  139. data/unittests/other/jscriptExtraConfirmCancel.rb +6 -6
  140. data/unittests/other/jscriptExtraConfirmOk.rb +6 -6
  141. data/unittests/other/jscriptPushButton.rb +6 -6
  142. data/unittests/other/jscript_test.rb +63 -63
  143. data/unittests/other/navigate_exception_test.rb +24 -24
  144. data/unittests/other/rexml_unit_test.rb +27 -27
  145. data/unittests/other/screen_capture_test.rb +54 -54
  146. data/unittests/other/testcase_method_order_test.rb +35 -35
  147. data/unittests/other/testcase_verify_test.rb +24 -24
  148. data/unittests/other/wait_until_test.rb +99 -99
  149. data/unittests/pagecontainstext_test.rb +69 -69
  150. data/unittests/parent_child_test.rb +43 -43
  151. data/unittests/perf_test.rb +20 -20
  152. data/unittests/popups_test.rb +43 -43
  153. data/unittests/pre_test.rb +53 -53
  154. data/unittests/radios_test.rb +212 -212
  155. data/unittests/radios_xpath_test.rb +101 -101
  156. data/unittests/security_setting_test.rb +23 -23
  157. data/unittests/selectbox_test.rb +148 -148
  158. data/unittests/selectbox_xpath_test.rb +113 -113
  159. data/unittests/setup.rb +87 -77
  160. data/unittests/speed_settings_test.rb +67 -67
  161. data/unittests/table_and_tablerow_to_a_test.rb +117 -0
  162. data/unittests/table_cell_using_xpath_test.rb +35 -35
  163. data/unittests/table_test.rb +376 -376
  164. data/unittests/table_xpath_test.rb +110 -110
  165. data/unittests/test_tests.rb +9 -9
  166. data/unittests/textarea_test.rb +92 -92
  167. data/unittests/textarea_xpath_test.rb +78 -78
  168. data/unittests/textfield_for_ch_char_test.rb +31 -31
  169. data/unittests/textfields_test.rb +218 -218
  170. data/unittests/textfields_xpath_test.rb +111 -111
  171. data/unittests/window_tests.rb +10 -10
  172. data/unittests/windows/attach_to_existing_window_test.rb +53 -53
  173. data/unittests/windows/attach_to_new_window_test.rb +83 -83
  174. data/unittests/windows/close_window_test.rb +20 -20
  175. data/unittests/windows/frame_links_test.rb +25 -25
  176. data/unittests/windows/ie-each_test.rb +47 -47
  177. data/unittests/windows/iedialog_test.rb +54 -54
  178. data/unittests/windows/js_events_test.rb +42 -55
  179. data/unittests/windows/modal_dialog_test.rb +128 -128
  180. data/unittests/windows/new_test.rb +57 -57
  181. data/unittests/windows/open_close_test.rb +18 -18
  182. data/unittests/windows/send_keys_test.rb +33 -33
  183. data/unittests/xpath_tests.rb +10 -10
  184. metadata +85 -31
  185. data/lib/watir/utils.rb +0 -20
  186. data/lib/watir/version.rb +0 -5
data/CHANGES CHANGED
@@ -1,326 +1,461 @@
1
- == Version 1.6.2
2
-
3
- * Changed the method of setting Watir::Browser.default when the user does not
4
- specify a browser option. This fixes the problem where it would be 'ie' on
5
- Mac.
6
-
7
- * Fixed FireWatir's "text" method to return the same character's as Watir's
8
- method. It had been returning extra spaces and other characters.
9
- Fix included contribution from Tony. Closes #266
10
-
11
- * Fixed "activesupport" error. Users no longer need to have the latest version
12
- installed.
13
-
14
- == Version 1.6.1
15
-
16
- * Fixed install/load errors reported by Marek J and Tony.
17
-
18
- == Version 1.6.0
19
-
20
- This release merges the Watir and FireWatir projects. It contains many
21
- compatibility fixes,
22
- as well as a new browser-independent interface your tests can use to allow you
23
- to specify the browser at run time.
24
-
25
- We have also updated our existing support for modal dialogs so that it now works
26
- with Ruby 1.8.6. Users who have been using Ruby 1.8.2 because of this will now
27
- need to upgrade to Ruby 1.8.6.
28
-
29
- This release also contains many other fixes. Details below.
30
-
31
- Watir and FireWatir are still distributed as separate gems. Installing the
32
- Watir gem will automatically install FireWatir. Both gems now use common code
33
- contained in the "commonwatir" gem.
34
-
35
- This release is fully backwards compatible with previous versions of Watir and
36
- FireWatir. Your existing scripts should continue to run without change.
37
-
38
- === Installation
39
-
40
- To install both Watir and FireWatir:
41
-
42
- gem update --system
43
- gem install watir
44
-
45
- To only install FireWatir (e.g. on Mac or Linux)
46
-
47
- gem update --system
48
- gem install firewatir
49
-
50
- To enable Firefox to work with Watir, you will also need to install the
51
- JSSH plugin. See this page for details.
52
- http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-3%29InstalltheJSSHFirefoxExtension
53
-
54
- === New Features
55
- You can now replace references to Watir::IE.new (or FireWatir::Firefox.new)
56
- with Watir::Browser.new to allow you to
57
- specify which browser to run your tests against at run time. Details:
58
- http://wiki.openqa.org/display/WTR/Browser.new
59
-
60
- It takes two lines of code to allow Browser.new to support an additional Watir
61
- implementation. The two lines necessary for SafariWatir (on Mac) are provided.
62
- (See commonwatir/lib/watir/browsers.rb).
63
-
64
- In addition to 'browser', options supported by Browser.new (on IE only right now)
65
- are 'speed' and 'visible'.
66
-
67
- Unit tests no longer run from the gems. You will need to get the source if you
68
- want to run the unit tests.
69
-
70
- === Compatibility Fixes
71
- * FireWatir now raises Watir exceptions.
72
- * FireWatir now supports multiple attributes for most page elements.
73
- * Watir now supports multiple attributes for most page elements.
74
- * Added support to FireWatir for many more element types.
75
- * Added Radio#checked? and Checkbox#checked? methods to FireWatir.
76
- * Now firefox.radio().set will click a radio button (as does IE) even if it
77
- is already set. This is important if there is javascript attached to the
78
- radio button.
79
- * TextField#set now respects the maxlength of the field. Previously, FireWatir
80
- could overrun the limit. FireWatir::TextField.maxlength now works correctly.
81
- * Watir::SelectList#includes? and #selected now accept regexp arguments.
82
- This functionality is still missing from FireWatir, but it is in Celerity.
83
- From Jari Bakken. Fixes #261.
84
- * FireWatir::Element#disabled is fixed.
85
- * Added method Watir::Table#row_count_excluding_nested_tables. This works like
86
- FireWatir::Table#row_count.
87
- * Watir#wait_until is now available to FireWatir.
88
- * Fixed versioning. With FireWatir 1.2.1, FireWatir::Firefox::VERSION
89
- actually reported '1.1.1.'.
90
- * FireWatir will now automatically starts Firefox on Mac (as it did previously
91
- on Windows and Linux).
92
-
93
- === IE Fixes
94
- * Fix for: form field named "submit" causes "submit" method to not work.
95
- Closes #223.
96
- * Calling ie.radio().set now scrolls the page to the control, as with other
97
- controls. Thanks to Jonathan Kohl for the fix. Closes #172.
98
- * Fixed ie.speed, which was returning ":fast" when speed was actually ":zippy".
99
- * Fix for visible? method not being inherited correctly. From Alan Baird.
100
- Closes #253
101
- * Added ie.forms method. Thanks to Jarmo P.
102
- * Fix for "undefined method 'document'" error that was occuring when loading
103
- pages with frames that were slow to load. Reported here:
104
- http://groups.google.com/group/watir-general/browse_thread/thread/ddde6251e30588c9
105
- * Fixed accessing checkboxes and radio buttons using :ole_object on IE.
106
- Closes #217.
107
-
108
- === Unit Test Improvements
109
- * Unit tests no longer can be run from a gem install. Rather, you need to run them
110
- from a complete source tree.
111
- * New rake targets for Watir: test and cruise, each of which runs the core tests.
112
- * Numerous fixes and cleanup to the unit test suite.
113
- * The unit tests both both Watir and FireWatir now use the new Browser.new
114
- interface and can be run
115
- against either implementation (Watir::IE or FireWatir::Firefox or others for
116
- that matter). See this page for details.
117
- http://wiki.openqa.org/display/WTR/Running+Unit+Tests+in+Development
118
- * Added tagging to unit tests. Tests which have known failures are now tagged
119
- as ":fails_on_ie" or ":fails_on_firefox".
120
- * Added coverage modes for running unit tests. These are documented on the wiki
121
- page cited above.
122
- * Updated tests that were still using obsolete Watir 1.0 interfaces.
123
- * Started merging the Watir test suites into commonwatir.
124
- * General test clean up.
125
- * Test failures due to not setting IE security settings will now issue
126
- helpful error message telling you how to fix your IE security settings.
127
-
128
- === Structural Changes
129
- * Moved library files into "lib" directories. Now Watir is like all the other
130
- Ruby projects.
131
- * Moved FireWatir classes into the FireWatir module.
132
- * Removed examples. They are now on the wiki.
133
- * Simplified code by removing duplication and unused code.
134
- * The watir-console now works from the development tree.
135
- * Renamed IE.defaults to IE.options and IE.defaults= to IE.set_options.
136
- * Added top-level "rake gems" target. Only works on windows right now.
137
-
138
-
139
- == Watir 1.5.6
140
-
141
- To install this:
142
-
143
- "gem update --system"
144
- "gem install watir"
145
-
146
- Installer Fix
147
-
148
- This update fixes an installer problem in Watir 1.5.5 that affected some users.
149
- If you installed 1.5.5 without error, there is no reason to get this update.
150
-
151
- == Watir 1.5.5.
152
-
153
- New Features
154
-
155
- * Multiple attributes can now be specified for these elements:
156
- li, ul, map, area, h1, h2, h3, h4, h5, h6. (This was claimed to work earlier,
157
- but never did.)
158
- http://jira.openqa.org/browse/WTR-196
159
-
160
- Bug Fixes
161
-
162
- * Statements such at ie.table().row() now work (no longer private).
163
- http://jira.openqa.org/browse/WTR-117
164
- * Fixed bug with images method when used with anything but ie. (Paul Rogers)
165
- E.g. ie.div().images. http://jira.openqa.org/browse/WTR-211
166
- * Fixed intermittent bug with ie.file_field().set. (Tomislav Car)
167
- http://jira.openqa.org/browse/WTR-210
168
- * When installing Watir 1.5.4 you could get extra, confusing
169
- questions. This shouldn't happen anymore.
170
- http://jira.openqa.org/browse/WTR-209
171
- * Improved error message when element is not found using multiple attributes.
172
- http://jira.openqa.org/browse/WTR-181
173
- * Made examples and unit tests somewhat better examples: removed unnecessary
174
- "include Watir" statements; started using "browser" instead of "$ie"; use
175
- new methods 'goto_page' and 'uses_page' (this last improves performance of
176
- unit tests).
177
- http://jira.openqa.org/browse/WTR-159
178
- * Moved brittle unit test that was causing cascading failures; renamed another
179
- that was causing a namespace collision.
180
- http://jira.openqa.org/browse/WTR-92
181
-
182
- == Version 1.5.4
183
-
184
- New Features
185
-
186
- * Add new speed, :zippy. This is like fast, but, in effect, it does a TextField#value= instead of a TextField#set. If you have specific text fields that you never want this to happen to, use ie.text_field(:how, what).requires_typing.set instead.
187
- http://svn.openqa.org/fisheye/changelog/watir/?cs=1295
188
- * Add support for Chinese input as supplied by Vincent Xu.
189
- http://jira.openqa.org/browse/WTR-71.
190
-
191
- Bug Fixes
192
-
193
- * Add dependency on windows-pr 0.6.6, which seems to be necessary on Vista.
194
- * Fix for bug in IE.close_others provided by Paul Taylor.
195
- http://jira.openqa.org/browse/WTR-194
196
- * Fix for error when using verify_equal with ci_reporter, provided by Marcog.
197
- http://svn.openqa.org/fisheye/changelog/watir/?cs=1301
198
-
199
- == Version 1.5.3
200
-
201
- Bug fixes and minor cleanup.
202
-
203
- * Fix text areas bugs.
204
- * Fix warning messages caused by redefined constants.
205
- * Break out watir.rb into multiple files.
206
- * Fix [WTR-90] error when running tests when installing gem.
207
- http://jira.openqa.org/browse/WTR-90
208
- * Fix tests.
209
- * Update documentation.
210
-
211
- Major Changes in 1.5.2
212
- Support for IE's Modal Dialogs.
213
- showModalDialog()
214
- Any method can be used to specify an element (:text, :class, etc.).
215
- ie.button(:class,'Button Menu').click
216
- ie.div(:text, 'Type').text_field(:class, 'TextInput-input').set('my value')
217
- ie.button(:text, 'Save').click
218
- One can now use multiple attributes to specify an element.
219
- ie.span(:class =>'Label', :text => 'Add new').click
220
-
221
- Other Changes in 1.5.2
222
- * Migrated IE.new_process from watir/contrib and improved its reliability. We now recommend IE.new_process over IE.new as a way to avoid numerous errors detailed in http://jira.openqa.org/browse/WTR-150.
223
- * Added IE.start_process. This works like IE.start, but uses the new_process mechanism to start IE.
224
- * Added IE.new_window and IE.start_window. This are synonyms for IE.new and IE.start.
225
- * Added dependency on the win32-process gem.
226
- * Added IE.each, which iterates through the various IE windows currently open.
227
- * Updated WindowHelper and watir/dialog to work with IE7
228
- * The wait method was completely rewritten. This should fix various errors seen in 1.5.1.1165 and 1.5.1.1158.
229
- * Removed the "spinner".
230
- * Fixed bug in Element#parent and updated unit test.
231
- * HTML value attributes are checked as strings before converting, updated unit tests.
232
- * Watir::wait_until clean up.
233
- * Fix for winclicker when installed in directory with spaces.
234
- * Rdoc changes and updates.
235
- * A workaround for frame access errors in the wait command, swallowing access denied errors and rethrowing if other WIN32OLERuntimeErrors show up.
236
- * Add support for "li" tag.
237
- * Fix for bug in element_by_xpath. http://www.mail-archive.com/wtr-general@rubyforge.org/msg06742.html
238
- * "Wait" method now is called recursively into nested frames. http://jira.openqa.org/browse/WTR-107
239
- * Rdocs now only include the core Watir library (not contrib).
240
- * Improve error reporting when IE#modal_dialog isn't found.
241
- * Add method "ModalDialog#exists?"
242
- * Add Watir::Win32.window_exists? method.
243
- * Fix for winclicker setComboBoxTest and setTextBoxText http://jira.openqa.org/browse/WTR-124
244
- * Improved Support for IE7
245
- o Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
246
- o Fix for IE7 with winclicker.
247
- o Fix for check_for_http_error in IE7. http://jira.openqa.org/browse/WTR-141
248
- * Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
249
- * Rubyw is now used in winclicker to bypass command line windows.
250
- * Autoit is registered before being used.
251
- * Watir now checks for the right version of Ruby before loading our customized Win32ole library.
252
- * ie.file_field has been fixed and unit test updated.
253
- * rdoc generation has been fixed.
254
- * page checker has been moved from the default behavior into contrib/page_checker.rb
255
- * Fix for intermittent crashes occuring when using Watir with Ruby version > 1.8.2.
256
- * Fix for http://jira.openqa.org/browse/WTR-86
257
- This fix prevents the Watir-modified win32ole.so library (compiled against 1.8.2) from being used.
258
- * Added Element#parent
259
- * Add new methods Element#after? and Element#before?
260
- * Added support for relative specifiers. E.g.:
261
- link = $ie.link(:class => 'addtocart', :after? => @headline)
262
- * Removed NAVIGATION_CHECKER from Watir.rb, added to contrib. This fixes rdoc generation and stops the frame access exception being thrown in the default installation.
263
- * Open-code calls to def_creator, for easier debugging and rdoc generation of factory methods.
264
- * Winclicker fix for too many callbacks defined error.
265
- * Patch for rspec API changes
266
- * You can now reference an iframe using IE#frame(:id, 'whatever'). Jira 109
267
- * Added 'map' and 'area' element support.
268
- * Moved Watir::Assertions into new file watir/assertions.rb so they can be used outside test cases.
269
- * Fix and unit test for Jira 114, related to tag in HTML source.
270
- * Added SelectList#include? and SelectList#selected?
271
- * Added Element#visible?
272
- * Fixes all reported bugs with contains_text.
273
- * New Watir::TestCase#verify method (and verify_equal and verify_match).
274
- * The click_no_wait method now works in frames.
275
- * Released new IE.new_process method to 'watir/contrib/ie-new-process'. This starts up a new IE process for each IE window, which is really how it should be done. To close these use IE#kill. Any one getting intermittent RPC errors when opening windows may want to use this instead.
276
- * Several examples have been updated.
277
- * Moved enabled_popup to a new contrib directory.
278
- * Added several tests.
279
-
280
- Changes in 1.4
281
- fix method name for accessing class name of P/Span/Div (change from style to class_name)
282
- fix for bug 2152 (frame index in show_frames off by 1)
283
- added alt as a property to image
284
- added file_fields
285
- fixed TextArea#to_s
286
- moved reset button to buttons class
287
- add IE#send_keys
288
- frames can now be referenced using regexps and ids
289
- added IE#minimize, IE#maximize, IE#restore
290
- onChange and onBlur events now triggered by TextField#set
291
- added default option to set for checkbox
292
- added colspan method to tablecell
293
- fix for bug reported by Scott P, wrong objects are sometimes found
294
- fixed Bug with radio/checkboxes doing multiple fireevents
295
- fix for table, id and reg exp
296
- wait for page load before returning from IE.attach
297
- update to select_list -- new interface still in progress
298
- added .show method to iterators
299
- fix for flashing objects in table cells
300
- added flash for forms
301
- flash returns nil instead of the curious '10'
302
- removed ScreenCapture module from IE class
303
-
304
- Changes in 1.3.1
305
- Added P tag support
306
- Bug fix for images and links in frames using each
307
- Bug fixes for image#save
308
-
309
- Changes in 1.3
310
- added new row_values and column_value methods to tables
311
- added ability to save an image - ie.image(:index,1).save('c:\temp\mypic.gif')
312
- new method, html that applies to objects, not just a page - ie.button(:index,1).html => <INPUT id=b2 title="this is button1" onclick="javascript:document.location='pass.html';" type=button value="Click Me" name=b1>
313
- now throws a NavigationException on 404, 500 errors
314
- iterators now mixin Enumerable
315
- added support for labels
316
- added support for frames by index
317
- added screen_capture
318
- added hidden field support, and iterator method
319
- table cells, span and div now act as containers, so can do ie.div(:index,1).button(:index.2).click
320
- added index to print out from show_xx methods. Link shows img src if an image is used
321
- added onKeyUp and onKeyDown to text_fields#set
322
- installer now installs AutoIt to deal with javascript popups, file uploads etc
323
- the spinner is now off by default
324
- bug fix in text_fields iterator where it wasnt iterating through password or text ares. Added test for password fields
325
- bug fix for flash for tables
326
- bug fixes for images and links in cells
1
+ == Version 1.6.6 - 2010/09/XX
2
+
3
+ === IE improvements
4
+
5
+ * #elements_by_xpath uses now Nokogiri's xpath method instead of search (Matt Baker)
6
+ * Element#style returns now currentStyle. Closes http://jira.openqa.org/browse/WTR-444 (Jarmo Pertman)
7
+ * Element#visible? doesn't return false anymore for disabled elements (Charley Baker)
8
+ * TH elements texts are included into Table#to_a results. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
9
+ * Added TableRow#to_a method which returns an array of the texts of the cells for the table row. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
10
+ * Added an optional numeric parameter max_depth for Table#to_a and TableRow#to_a for getting text values for nested tables. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
11
+ * #close will close the browser even if #wait raises an Exception. Closes http://jira.openqa.org/browse/WTR-443 (Jarmo Pertman)
12
+ * Added #element and #elements methods for locating non-specific elements. Closes http://jira.openqa.org/browse/WTR-103 (Hugh McGowan)
13
+ * #click_no_wait fixes and improvements. Closes http://jira.openqa.org/browse/WTR-449 (Jarmo Pertman)
14
+ * #wait will raise a Timeout::Error if page hasn't been loaded within 5 minutes. Closes http://jira.openqa.org/browse/WTR-452 (Bret)
15
+ * Fixed a problem when #wait blocked forever. Closes http://jira.openqa.org/browse/WTR-446 (Jarmo Pertman)
16
+
17
+ === Firefox improvements
18
+
19
+ * Added close_all method to firefox. Closes http://jira.openqa.org/browse/WTR-222 (Angrez)
20
+ * Fixed status method for firefox. (Angrez)
21
+ * Fixed url method for firefox. Closes http://jira.openqa.org/browse/WTR-428 (Alister Scott)
22
+ * Added JRuby support (Ian Dees)
23
+ * Forcing to use ActiveSupport 2.3.9 due to incompatibilities with newer versions (Jarmo Pertman)
24
+
25
+ === Cleanup & Maintenance
26
+
27
+ * Some rdoc cleanup (marekj)
28
+ * Removed Watir::Utils (Jarmo Pertman)
29
+
30
+ == Version 1.6.5
31
+
32
+ Charley Baker was release manager for this release of Watir.
33
+
34
+ === New Features (Both IE and Firefox)
35
+
36
+ * Browser.attach is now available.
37
+ * Browser.options and Browser.set_options are now available.
38
+ * Add support for definition lists, this adds these methods:
39
+ dd, dt, dl, dds, dts, dls. (Jarib)
40
+ * Added support for "visible?" method to both IE and Firefox. Closes
41
+ http://jira.openqa.org/browse/WTR-262 (Tony)
42
+ * Hidden#visible? should always return false. (Jarib)
43
+ * New method execute_script.
44
+ * Add ElementCollections#size as alias of length. (Jarib)
45
+ * Some camelCase => snake_case renames (with aliasing). (Jarib)
46
+ Image#fileCreatedDate => file_created_date
47
+ Image#fileSize => file_size
48
+ Image#hasLoaded? => loaded?
49
+ SelectList#getAllContents => options
50
+ SelectList#getSelectedItems => selected_options
51
+ SelectList#clearSelection => clear
52
+ SelectList#includes? => include?
53
+ TextField#dragContentsTo => drag_contents_to
54
+ Radio/Checkbox#isSet? => set?
55
+ * Patch for winclicker fix. http://jira.openqa.org/browse/WTR-279 (Derek Berner)
56
+ * Add support for using a Regexp as the third argument (value) when locating
57
+ checkboxes/radio buttons. (Jarib)
58
+ * Add support for <strong> element. (Jarib)
59
+ * Add support and tests for <em> element. (Jarib)
60
+ * SelectList#select now supports Numeric arguments. (Jarib)
61
+ * Additional inspect implementations for both IE and FF.
62
+ Closes http://jira.openqa.org/browse/WTR-158 (Jarib)
63
+ * Add ElementCollections#{first,last}. (Jarib)
64
+ * Fixes for running on Ruby 1.9. (Jarib)
65
+
66
+ === Firefox Improvements
67
+
68
+ * SelectList#set is now defined for Firefox. Like with IE, it is an alias for
69
+ SelectList#select. Closes http://jira.openqa.org/browse/WTR-271 (Bret)
70
+ * Element collections are now enumerable. This allows methods such as @select@
71
+ and @map@ to be used with methods such as @divs@ and @links@.
72
+ * FireWatir.attach is now available, analogous to IE.attach. Includes http://jira.openqa.org/browse/WTR-296
73
+ * Some Javascript errors that were being ignored, now raise Ruby exceptions.
74
+ * Added event handler which resets the context of document
75
+ * Fix bug that occurred when new page was automatically loaded. (Angrez, 3ef8b6)
76
+ when page gets loaded automatically (Angrez)
77
+ * Changed code to use document_var, body_var, window_var, browser_var instead of
78
+ "document", "body", "window", "browser" variables. (Angrez)
79
+ * Changed code to replace every quote (") in xpath query with (\") so that it
80
+ doesn't give error while executing the xpath query (Angrez)
81
+ * Fire onchange event for FireWatir file fields. Closes http://jira.openqa.org/browse/WTR-286. (Jarib)
82
+ * Fixes for running and closing Firefox on Mac OS X http://jira.openqa.org/browse/WTR-272 (Jarib)
83
+ * Added functionality to allow Watir::Browser.attach with no arguments to open
84
+ a new firefox window rather than taking over the existing focused window (Rob Aldred)
85
+ * Also modified some setup functions to correctly handle closed browsers,
86
+ browserless windows and others (Rob Aldred)
87
+ * Add test and implementation for Firefox#status http://jira.openqa.org/browse/WTR-250 (Jarib)
88
+ * 2 problems fixed with .click (jubishop)
89
+ a) When chaining together element calls the @container becomes an
90
+ HTMLElement, but there's no container_var defined for HTMLElement
91
+ b) When an <a tag has no href then element_type was returning nil.
92
+ * Fix bug in Firefox#document. Change creating error class by eval in jssh
93
+ socket to creating class with ruby. (Ethan)
94
+ * Add support for Browser#frames. (Ethan)
95
+ * Make the version dependencies for Watir and FireWatir be the same. (This change
96
+ will also be backported to 1.6.3.) (Bret)
97
+
98
+ === IE Improvements
99
+
100
+ * Allow attach timeout to be accessed as an option. Thus:
101
+ IE.set_options :attach_timeout => 5.0
102
+ This was previously available as class method.
103
+ * Fix for Autoit auto-registration. (Bret)
104
+ * Fixes http://jira.openqa.org/browse/WTR-290, http://jira.openqa.org/browse/WTR-308, http://jira.openqa.org/browse/WTR-298
105
+ * Fix for IE6, 7 and 8 file uploads. (Zeljko Filipin & Jarmo Pertman)
106
+ * Replaced REXML with Nokogiri for xml parsing. Fixes http://jira.openqa.org/browse/WTR-19 (Aidy Lewis)
107
+ * Option now supports :label attribute http://jira.openqa.org/browse/WTR-297
108
+ * Patch for IE.close causing WIN32OLE errors http://jira.openqa.org/browse/WTR-304 (Tony)
109
+ * Watir::IE.inspect issue fixed: http://jira.openqa.org/browse/WTR-180 (Jarib)
110
+ * Fix for Browser#execute_script on IE7. (Jarib)
111
+ * Removed ActiveSupport dependency. (Jarib)
112
+ * Fix Browser#status so it works even when the status bar is not visible. (Bret)
113
+ * Fix bug when using "each" with nested tables.
114
+ http://jira.openqa.org/browse/WTR-324 (Alan Baird)
115
+ * Now uses UTF-8 codepage by default http://jira.openqa.org/browse/WTR-219 (Jarib)
116
+
117
+ === Structure Improvements
118
+
119
+ * Lots of rework of the FireWatir code, including removing duplication and
120
+ dead code, renaming variables, and simplifying code. Also a few performance
121
+ improvements. (Bret & Charley)
122
+ * Rename source file names for consistency.
123
+
124
+ === Unit Tests
125
+
126
+ * Add tests demonstrating known bugs.
127
+ * Make the "window" tests run more reliably. (Bret)
128
+ * Relocate unreliable tests. (Bret)
129
+ * Tag tests that are known to fail on IE or Firefox.
130
+ * Fixed one test that was failing on non-English platforms. (Jarib)
131
+ * New Rake task (:test) runs all tests. (Jim Matthews)
132
+ * Use ci_reporter to provide more detailed test results for watirbuild.com.
133
+ Use xls transform to format results. (Jim Matthews)
134
+ * Add WatirSpec submodule + load it in Rakefile if available. (Jarib)
135
+
136
+ == Version 1.6.2
137
+
138
+ * Changed the method of setting Watir::Browser.default when the user does not
139
+ specify a browser option. This fixes the problem where it would be 'ie' on
140
+ Mac.
141
+
142
+ * Fixed FireWatir's "text" method to return the same character's as Watir's
143
+ method. It had been returning extra spaces and other characters.
144
+ Fix included contribution from Tony. Closes #266
145
+
146
+ * Fixed "activesupport" error. Users no longer need to have the latest version
147
+ installed.
148
+
149
+ == Version 1.6.1
150
+
151
+ * Fixed install/load errors reported by Marek J and Tony.
152
+
153
+ == Version 1.6.0
154
+
155
+ This release merges the Watir and FireWatir projects. It contains many
156
+ compatibility fixes,
157
+ as well as a new browser-independent interface your tests can use to allow you
158
+ to specify the browser at run time.
159
+
160
+ We have also updated our existing support for modal dialogs so that it now works
161
+ with Ruby 1.8.6. Users who have been using Ruby 1.8.2 because of this will now
162
+ need to upgrade to Ruby 1.8.6.
163
+
164
+ This release also contains many other fixes. Details below.
165
+
166
+ Watir and FireWatir are still distributed as separate gems. Installing the
167
+ Watir gem will automatically install FireWatir. Both gems now use common code
168
+ contained in the "commonwatir" gem.
169
+
170
+ This release is fully backwards compatible with previous versions of Watir and
171
+ FireWatir. Your existing scripts should continue to run without change.
172
+
173
+ === Installation
174
+
175
+ To install both Watir and FireWatir:
176
+
177
+ gem update --system
178
+ gem install watir
179
+
180
+ To only install FireWatir (e.g. on Mac or Linux)
181
+
182
+ gem update --system
183
+ gem install firewatir
184
+
185
+ To enable Firefox to work with Watir, you will also need to install the
186
+ JSSH plugin. See this page for details.
187
+ http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-3%29InstalltheJSSHFirefoxExtension
188
+
189
+ === New Features
190
+ You can now replace references to Watir::IE.new (or FireWatir::Firefox.new)
191
+ with Watir::Browser.new to allow you to
192
+ specify which browser to run your tests against at run time. Details:
193
+ http://wiki.openqa.org/display/WTR/Browser.new
194
+
195
+ It takes two lines of code to allow Browser.new to support an additional Watir
196
+ implementation. The two lines necessary for SafariWatir (on Mac) are provided.
197
+ (See commonwatir/lib/watir/browsers.rb).
198
+
199
+ In addition to 'browser', options supported by Browser.new (on IE only right now)
200
+ are 'speed' and 'visible'.
201
+
202
+ Unit tests no longer run from the gems. You will need to get the source if you
203
+ want to run the unit tests.
204
+
205
+ === Compatibility Fixes
206
+ * FireWatir now raises Watir exceptions.
207
+ * FireWatir now supports multiple attributes for most page elements.
208
+ * Watir now supports multiple attributes for most page elements.
209
+ * Added support to FireWatir for many more element types.
210
+ * Added Radio#checked? and Checkbox#checked? methods to FireWatir.
211
+ * Now firefox.radio().set will click a radio button (as does IE) even if it
212
+ is already set. This is important if there is javascript attached to the
213
+ radio button.
214
+ * TextField#set now respects the maxlength of the field. Previously, FireWatir
215
+ could overrun the limit. FireWatir::TextField.maxlength now works correctly.
216
+ * Watir::SelectList#includes? and #selected now accept regexp arguments.
217
+ This functionality is still missing from FireWatir, but it is in Celerity.
218
+ From Jari Bakken. Fixes #261.
219
+ * FireWatir::Element#disabled is fixed.
220
+ * Added method Watir::Table#row_count_excluding_nested_tables. This works like
221
+ FireWatir::Table#row_count.
222
+ * Watir#wait_until is now available to FireWatir.
223
+ * Fixed versioning. With FireWatir 1.2.1, FireWatir::Firefox::VERSION
224
+ actually reported '1.1.1.'.
225
+ * FireWatir will now automatically starts Firefox on Mac (as it did previously
226
+ on Windows and Linux).
227
+
228
+ === IE Fixes
229
+ * Fix for: form field named "submit" causes "submit" method to not work.
230
+ Closes #223.
231
+ * Calling ie.radio().set now scrolls the page to the control, as with other
232
+ controls. Thanks to Jonathan Kohl for the fix. Closes #172.
233
+ * Fixed ie.speed, which was returning ":fast" when speed was actually ":zippy".
234
+ * Fix for visible? method not being inherited correctly. From Alan Baird.
235
+ Closes #253
236
+ * Added ie.forms method. Thanks to Jarmo P.
237
+ * Fix for "undefined method 'document'" error that was occuring when loading
238
+ pages with frames that were slow to load. Reported here:
239
+ http://groups.google.com/group/watir-general/browse_thread/thread/ddde6251e30588c9
240
+ * Fixed accessing checkboxes and radio buttons using :ole_object on IE.
241
+ Closes #217.
242
+
243
+ === Unit Test Improvements
244
+ * Unit tests no longer can be run from a gem install. Rather, you need to run them
245
+ from a complete source tree.
246
+ * New rake targets for Watir: test and cruise, each of which runs the core tests.
247
+ * Numerous fixes and cleanup to the unit test suite.
248
+ * The unit tests both both Watir and FireWatir now use the new Browser.new
249
+ interface and can be run
250
+ against either implementation (Watir::IE or FireWatir::Firefox or others for
251
+ that matter). See this page for details.
252
+ http://wiki.openqa.org/display/WTR/Running+Unit+Tests+in+Development
253
+ * Added tagging to unit tests. Tests which have known failures are now tagged
254
+ as ":fails_on_ie" or ":fails_on_firefox".
255
+ * Added coverage modes for running unit tests. These are documented on the wiki
256
+ page cited above.
257
+ * Updated tests that were still using obsolete Watir 1.0 interfaces.
258
+ * Started merging the Watir test suites into commonwatir.
259
+ * General test clean up.
260
+ * Test failures due to not setting IE security settings will now issue
261
+ helpful error message telling you how to fix your IE security settings.
262
+
263
+ === Structural Changes
264
+ * Moved library files into "lib" directories. Now Watir is like all the other
265
+ Ruby projects.
266
+ * Moved FireWatir classes into the FireWatir module.
267
+ * Removed examples. They are now on the wiki.
268
+ * Simplified code by removing duplication and unused code.
269
+ * The watir-console now works from the development tree.
270
+ * Renamed IE.defaults to IE.options and IE.defaults= to IE.set_options.
271
+ * Added top-level "rake gems" target. Only works on windows right now.
272
+
273
+
274
+ == Watir 1.5.6
275
+
276
+ To install this:
277
+
278
+ "gem update --system"
279
+ "gem install watir"
280
+
281
+ Installer Fix
282
+
283
+ This update fixes an installer problem in Watir 1.5.5 that affected some users.
284
+ If you installed 1.5.5 without error, there is no reason to get this update.
285
+
286
+ == Watir 1.5.5.
287
+
288
+ New Features
289
+
290
+ * Multiple attributes can now be specified for these elements:
291
+ li, ul, map, area, h1, h2, h3, h4, h5, h6. (This was claimed to work earlier,
292
+ but never did.)
293
+ http://jira.openqa.org/browse/WTR-196
294
+
295
+ Bug Fixes
296
+
297
+ * Statements such at ie.table().row() now work (no longer private).
298
+ http://jira.openqa.org/browse/WTR-117
299
+ * Fixed bug with images method when used with anything but ie. (Paul Rogers)
300
+ E.g. ie.div().images. http://jira.openqa.org/browse/WTR-211
301
+ * Fixed intermittent bug with ie.file_field().set. (Tomislav Car)
302
+ http://jira.openqa.org/browse/WTR-210
303
+ * When installing Watir 1.5.4 you could get extra, confusing
304
+ questions. This shouldn't happen anymore.
305
+ http://jira.openqa.org/browse/WTR-209
306
+ * Improved error message when element is not found using multiple attributes.
307
+ http://jira.openqa.org/browse/WTR-181
308
+ * Made examples and unit tests somewhat better examples: removed unnecessary
309
+ "include Watir" statements; started using "browser" instead of "$ie"; use
310
+ new methods 'goto_page' and 'uses_page' (this last improves performance of
311
+ unit tests).
312
+ http://jira.openqa.org/browse/WTR-159
313
+ * Moved brittle unit test that was causing cascading failures; renamed another
314
+ that was causing a namespace collision.
315
+ http://jira.openqa.org/browse/WTR-92
316
+
317
+ == Version 1.5.4
318
+
319
+ New Features
320
+
321
+ * Add new speed, :zippy. This is like fast, but, in effect, it does a TextField#value= instead of a TextField#set. If you have specific text fields that you never want this to happen to, use ie.text_field(:how, what).requires_typing.set instead.
322
+ http://svn.openqa.org/fisheye/changelog/watir/?cs=1295
323
+ * Add support for Chinese input as supplied by Vincent Xu.
324
+ http://jira.openqa.org/browse/WTR-71.
325
+
326
+ Bug Fixes
327
+
328
+ * Add dependency on windows-pr 0.6.6, which seems to be necessary on Vista.
329
+ * Fix for bug in IE.close_others provided by Paul Taylor.
330
+ http://jira.openqa.org/browse/WTR-194
331
+ * Fix for error when using verify_equal with ci_reporter, provided by Marcog.
332
+ http://svn.openqa.org/fisheye/changelog/watir/?cs=1301
333
+
334
+ == Version 1.5.3
335
+
336
+ Bug fixes and minor cleanup.
337
+
338
+ * Fix text areas bugs.
339
+ * Fix warning messages caused by redefined constants.
340
+ * Break out watir.rb into multiple files.
341
+ * Fix [WTR-90] error when running tests when installing gem.
342
+ http://jira.openqa.org/browse/WTR-90
343
+ * Fix tests.
344
+ * Update documentation.
345
+
346
+ Major Changes in 1.5.2
347
+ Support for IE's Modal Dialogs.
348
+ showModalDialog()
349
+ Any method can be used to specify an element (:text, :class, etc.).
350
+ ie.button(:class,'Button Menu').click
351
+ ie.div(:text, 'Type').text_field(:class, 'TextInput-input').set('my value')
352
+ ie.button(:text, 'Save').click
353
+ One can now use multiple attributes to specify an element.
354
+ ie.span(:class =>'Label', :text => 'Add new').click
355
+
356
+ Other Changes in 1.5.2
357
+ * Migrated IE.new_process from watir/contrib and improved its reliability. We now recommend IE.new_process over IE.new as a way to avoid numerous errors detailed in http://jira.openqa.org/browse/WTR-150.
358
+ * Added IE.start_process. This works like IE.start, but uses the new_process mechanism to start IE.
359
+ * Added IE.new_window and IE.start_window. This are synonyms for IE.new and IE.start.
360
+ * Added dependency on the win32-process gem.
361
+ * Added IE.each, which iterates through the various IE windows currently open.
362
+ * Updated WindowHelper and watir/dialog to work with IE7
363
+ * The wait method was completely rewritten. This should fix various errors seen in 1.5.1.1165 and 1.5.1.1158.
364
+ * Removed the "spinner".
365
+ * Fixed bug in Element#parent and updated unit test.
366
+ * HTML value attributes are checked as strings before converting, updated unit tests.
367
+ * Watir::wait_until clean up.
368
+ * Fix for winclicker when installed in directory with spaces.
369
+ * Rdoc changes and updates.
370
+ * A workaround for frame access errors in the wait command, swallowing access denied errors and rethrowing if other WIN32OLERuntimeErrors show up.
371
+ * Add support for "li" tag.
372
+ * Fix for bug in element_by_xpath. http://www.mail-archive.com/wtr-general@rubyforge.org/msg06742.html
373
+ * "Wait" method now is called recursively into nested frames. http://jira.openqa.org/browse/WTR-107
374
+ * Rdocs now only include the core Watir library (not contrib).
375
+ * Improve error reporting when IE#modal_dialog isn't found.
376
+ * Add method "ModalDialog#exists?"
377
+ * Add Watir::Win32.window_exists? method.
378
+ * Fix for winclicker setComboBoxTest and setTextBoxText http://jira.openqa.org/browse/WTR-124
379
+ * Improved Support for IE7
380
+ o Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
381
+ o Fix for IE7 with winclicker.
382
+ o Fix for check_for_http_error in IE7. http://jira.openqa.org/browse/WTR-141
383
+ * Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
384
+ * Rubyw is now used in winclicker to bypass command line windows.
385
+ * Autoit is registered before being used.
386
+ * Watir now checks for the right version of Ruby before loading our customized Win32ole library.
387
+ * ie.file_field has been fixed and unit test updated.
388
+ * rdoc generation has been fixed.
389
+ * page checker has been moved from the default behavior into contrib/page_checker.rb
390
+ * Fix for intermittent crashes occuring when using Watir with Ruby version > 1.8.2.
391
+ * Fix for http://jira.openqa.org/browse/WTR-86
392
+ This fix prevents the Watir-modified win32ole.so library (compiled against 1.8.2) from being used.
393
+ * Added Element#parent
394
+ * Add new methods Element#after? and Element#before?
395
+ * Added support for relative specifiers. E.g.:
396
+ link = $ie.link(:class => 'addtocart', :after? => @headline)
397
+ * Removed NAVIGATION_CHECKER from Watir.rb, added to contrib. This fixes rdoc generation and stops the frame access exception being thrown in the default installation.
398
+ * Open-code calls to def_creator, for easier debugging and rdoc generation of factory methods.
399
+ * Winclicker fix for too many callbacks defined error.
400
+ * Patch for rspec API changes
401
+ * You can now reference an iframe using IE#frame(:id, 'whatever'). Jira 109
402
+ * Added 'map' and 'area' element support.
403
+ * Moved Watir::Assertions into new file watir/assertions.rb so they can be used outside test cases.
404
+ * Fix and unit test for Jira 114, related to tag in HTML source.
405
+ * Added SelectList#include? and SelectList#selected?
406
+ * Added Element#visible?
407
+ * Fixes all reported bugs with contains_text.
408
+ * New Watir::TestCase#verify method (and verify_equal and verify_match).
409
+ * The click_no_wait method now works in frames.
410
+ * Released new IE.new_process method to 'watir/contrib/ie-new-process'. This starts up a new IE process for each IE window, which is really how it should be done. To close these use IE#kill. Any one getting intermittent RPC errors when opening windows may want to use this instead.
411
+ * Several examples have been updated.
412
+ * Moved enabled_popup to a new contrib directory.
413
+ * Added several tests.
414
+
415
+ Changes in 1.4
416
+ fix method name for accessing class name of P/Span/Div (change from style to class_name)
417
+ fix for bug 2152 (frame index in show_frames off by 1)
418
+ added alt as a property to image
419
+ added file_fields
420
+ fixed TextArea#to_s
421
+ moved reset button to buttons class
422
+ add IE#send_keys
423
+ frames can now be referenced using regexps and ids
424
+ added IE#minimize, IE#maximize, IE#restore
425
+ onChange and onBlur events now triggered by TextField#set
426
+ added default option to set for checkbox
427
+ added colspan method to tablecell
428
+ fix for bug reported by Scott P, wrong objects are sometimes found
429
+ fixed Bug with radio/checkboxes doing multiple fireevents
430
+ fix for table, id and reg exp
431
+ wait for page load before returning from IE.attach
432
+ update to select_list -- new interface still in progress
433
+ added .show method to iterators
434
+ fix for flashing objects in table cells
435
+ added flash for forms
436
+ flash returns nil instead of the curious '10'
437
+ removed ScreenCapture module from IE class
438
+
439
+ Changes in 1.3.1
440
+ Added P tag support
441
+ Bug fix for images and links in frames using each
442
+ Bug fixes for image#save
443
+
444
+ Changes in 1.3
445
+ added new row_values and column_value methods to tables
446
+ added ability to save an image - ie.image(:index,1).save('c:\temp\mypic.gif')
447
+ new method, html that applies to objects, not just a page - ie.button(:index,1).html => <INPUT id=b2 title="this is button1" onclick="javascript:document.location='pass.html';" type=button value="Click Me" name=b1>
448
+ now throws a NavigationException on 404, 500 errors
449
+ iterators now mixin Enumerable
450
+ added support for labels
451
+ added support for frames by index
452
+ added screen_capture
453
+ added hidden field support, and iterator method
454
+ table cells, span and div now act as containers, so can do ie.div(:index,1).button(:index.2).click
455
+ added index to print out from show_xx methods. Link shows img src if an image is used
456
+ added onKeyUp and onKeyDown to text_fields#set
457
+ installer now installs AutoIt to deal with javascript popups, file uploads etc
458
+ the spinner is now off by default
459
+ bug fix in text_fields iterator where it wasnt iterating through password or text ares. Added test for password fields
460
+ bug fix for flash for tables
461
+ bug fixes for images and links in cells