watir 3.0.0.rc3 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +5 -0
- data/lib/watir.rb +1 -0
- data/lib/watir/loader.rb +2 -0
- data/lib/watir/version.rb +3 -0
- data/watir.gemspec +18 -54
- metadata +32 -278
- data/CHANGES +0 -712
- data/LICENSE +0 -34
- data/README.rdoc +0 -101
- data/VERSION +0 -1
- data/bin/watir-console +0 -7
- data/lib/watir/IEDialog/Release/IEDialog.dll +0 -0
- data/lib/watir/close_all.rb +0 -31
- data/lib/watir/container.rb +0 -110
- data/lib/watir/contrib/enabled_popup.rb +0 -21
- data/lib/watir/contrib/ie-new-process.rb +0 -27
- data/lib/watir/contrib/page_checker.rb +0 -29
- data/lib/watir/cookies.rb +0 -80
- data/lib/watir/core.rb +0 -43
- data/lib/watir/dialogs/file_field.rb +0 -34
- data/lib/watir/dialogs/javascript.rb +0 -43
- data/lib/watir/drag_and_drop_helper.rb +0 -68
- data/lib/watir/element.rb +0 -441
- data/lib/watir/element_collection.rb +0 -109
- data/lib/watir/form.rb +0 -96
- data/lib/watir/frame.rb +0 -47
- data/lib/watir/ie-class.rb +0 -765
- data/lib/watir/ie-process.rb +0 -47
- data/lib/watir/ie.rb +0 -20
- data/lib/watir/image.rb +0 -111
- data/lib/watir/input_elements.rb +0 -480
- data/lib/watir/irb-history.rb +0 -31
- data/lib/watir/link.rb +0 -46
- data/lib/watir/locator.rb +0 -243
- data/lib/watir/logger.rb +0 -19
- data/lib/watir/modal_dialog.rb +0 -72
- data/lib/watir/module.rb +0 -12
- data/lib/watir/non_control_elements.rb +0 -114
- data/lib/watir/page-container.rb +0 -108
- data/lib/watir/process.rb +0 -20
- data/lib/watir/screen_capture.rb +0 -115
- data/lib/watir/supported_elements.rb +0 -172
- data/lib/watir/table.rb +0 -224
- data/lib/watir/win32.rb +0 -40
- data/lib/watir/win32ole.rb +0 -16
- data/lib/watir/win32ole/1.8.7/win32ole.so +0 -0
- data/lib/watir/win32ole/1.9.3/win32ole.so +0 -0
- data/lib/watir/window.rb +0 -68
- data/lib/watir/xpath_locator.rb +0 -52
- data/rakefile.rb +0 -54
- data/unittests/all_tests.rb +0 -10
- data/unittests/buttons_xpath_test.rb +0 -68
- data/unittests/checkbox_test.rb +0 -163
- data/unittests/checkbox_xpath_test.rb +0 -106
- data/unittests/click_no_wait_test.rb +0 -23
- data/unittests/close_all_test.rb +0 -17
- data/unittests/core_tests.rb +0 -17
- data/unittests/css_selector_test.rb +0 -44
- data/unittests/css_test.rb +0 -38
- data/unittests/dialog_test.rb +0 -64
- data/unittests/div2_xpath_test.rb +0 -21
- data/unittests/div_test.rb +0 -170
- data/unittests/div_xpath_test.rb +0 -95
- data/unittests/document_standards.rb +0 -63
- data/unittests/element_collection_indexes_test.rb +0 -57
- data/unittests/element_collections_test.rb +0 -100
- data/unittests/element_test.rb +0 -47
- data/unittests/errorchecker_test.rb +0 -31
- data/unittests/filefield_test.rb +0 -43
- data/unittests/filefield_xpath_test.rb +0 -35
- data/unittests/form_test.rb +0 -282
- data/unittests/form_xpath_test.rb +0 -254
- data/unittests/frame_test.rb +0 -165
- data/unittests/google_form_test.rb +0 -15
- data/unittests/html/JavascriptClick.html +0 -39
- data/unittests/html/blankpage.html +0 -11
- data/unittests/html/buttons1.html +0 -40
- data/unittests/html/checkboxes1.html +0 -89
- data/unittests/html/click_no_wait.html +0 -14
- data/unittests/html/complex_table.html +0 -35
- data/unittests/html/cssTest.html +0 -42
- data/unittests/html/depot_store.html +0 -59
- data/unittests/html/div.html +0 -92
- data/unittests/html/div_xml.html +0 -21
- data/unittests/html/fileupload.html +0 -44
- data/unittests/html/formTest1.html +0 -38
- data/unittests/html/forms2.html +0 -44
- data/unittests/html/forms3.html +0 -131
- data/unittests/html/forms4.html +0 -26
- data/unittests/html/frame_buttons.html +0 -4
- data/unittests/html/frame_links.html +0 -4
- data/unittests/html/frame_multi.html +0 -5
- data/unittests/html/google_india.html +0 -119
- data/unittests/html/ie7_document_standards.html +0 -9
- data/unittests/html/ie8_document_standards.html +0 -9
- data/unittests/html/ie9_document_standards.html +0 -9
- data/unittests/html/iframe.html +0 -3
- data/unittests/html/iframeTest.html +0 -17
- data/unittests/html/iframeTest1.html +0 -7
- data/unittests/html/iframeTest2.html +0 -5
- data/unittests/html/images/1.gif +0 -0
- data/unittests/html/images/2.GIF +0 -0
- data/unittests/html/images/3.GIF +0 -0
- data/unittests/html/images/button.jpg +0 -0
- data/unittests/html/images/circle.jpg +0 -0
- data/unittests/html/images/map.GIF +0 -0
- data/unittests/html/images/map2.gif +0 -0
- data/unittests/html/images/minus.GIF +0 -0
- data/unittests/html/images/originaltriangle.jpg +0 -0
- data/unittests/html/images/plus.gif +0 -0
- data/unittests/html/images/square.jpg +0 -0
- data/unittests/html/images/triangle.jpg +0 -0
- data/unittests/html/images1.html +0 -65
- data/unittests/html/javascriptevents.html +0 -33
- data/unittests/html/link_pass.html +0 -11
- data/unittests/html/links1.html +0 -37
- data/unittests/html/links2.html +0 -11
- data/unittests/html/links_multi.html +0 -12
- data/unittests/html/list_matters.html +0 -720
- data/unittests/html/lists.html +0 -18
- data/unittests/html/map_test.html +0 -30
- data/unittests/html/modal_dialog.html +0 -10
- data/unittests/html/modal_dialog_launcher.html +0 -12
- data/unittests/html/multiple_specifiers.html +0 -64
- data/unittests/html/nestedFrames.html +0 -6
- data/unittests/html/new_browser.html +0 -17
- data/unittests/html/pass.html +0 -13
- data/unittests/html/popups1.html +0 -59
- data/unittests/html/pre.html +0 -29
- data/unittests/html/quirks_document_standards.html +0 -8
- data/unittests/html/radioButtons1.html +0 -71
- data/unittests/html/select_tealeaf.html +0 -54
- data/unittests/html/selectboxes1.html +0 -52
- data/unittests/html/simple_table.html +0 -25
- data/unittests/html/simple_table_buttons.html +0 -104
- data/unittests/html/simple_table_columns.html +0 -75
- data/unittests/html/table1.html +0 -179
- data/unittests/html/tableCell_using_xpath.html +0 -19
- data/unittests/html/table_and_tablerow_to_a.html +0 -174
- data/unittests/html/textarea.html +0 -30
- data/unittests/html/textfields1.html +0 -100
- data/unittests/html/textsearch.html +0 -44
- data/unittests/html/wallofcheckboxes.html +0 -1003
- data/unittests/html/xpath_nbsp.html +0 -11
- data/unittests/html/zeroindex.html +0 -11
- data/unittests/ie_exists_test.rb +0 -16
- data/unittests/ie_mock.rb +0 -94
- data/unittests/ie_test.rb +0 -54
- data/unittests/images_test.rb +0 -156
- data/unittests/images_xpath_test.rb +0 -90
- data/unittests/index_specifier_test.rb +0 -31
- data/unittests/js_events_test.rb +0 -31
- data/unittests/links_multi_test.rb +0 -34
- data/unittests/links_test.rb +0 -131
- data/unittests/links_xpath_test.rb +0 -38
- data/unittests/lists_test.rb +0 -23
- data/unittests/map_test.rb +0 -98
- data/unittests/minmax_test.rb +0 -37
- data/unittests/navigate_test.rb +0 -38
- data/unittests/nbsp_xpath_test.rb +0 -16
- data/unittests/no_wait_test.rb +0 -28
- data/unittests/non_core_tests.rb +0 -12
- data/unittests/other/all_tests_concurrent.rb +0 -57
- data/unittests/other/navigate_exception_test.rb +0 -24
- data/unittests/other/rexml_unit_test.rb +0 -27
- data/unittests/other/screen_capture_test.rb +0 -53
- data/unittests/other/testcase_method_order_test.rb +0 -36
- data/unittests/other/testcase_verify_test.rb +0 -25
- data/unittests/other/wait_until_test.rb +0 -102
- data/unittests/pagecontainstext_test.rb +0 -69
- data/unittests/parent_child_test.rb +0 -27
- data/unittests/perf_test.rb +0 -20
- data/unittests/pre_test.rb +0 -49
- data/unittests/radios_test.rb +0 -181
- data/unittests/radios_xpath_test.rb +0 -100
- data/unittests/security_setting_test.rb +0 -24
- data/unittests/selectbox_test.rb +0 -144
- data/unittests/selectbox_xpath_test.rb +0 -102
- data/unittests/setup.rb +0 -70
- data/unittests/speed_settings_test.rb +0 -67
- data/unittests/table_cell_using_xpath_test.rb +0 -34
- data/unittests/table_test.rb +0 -296
- data/unittests/table_xpath_test.rb +0 -109
- data/unittests/test_tests.rb +0 -9
- data/unittests/textarea_test.rb +0 -92
- data/unittests/textarea_xpath_test.rb +0 -77
- data/unittests/textfield_for_ch_char_test.rb +0 -32
- data/unittests/textfields_test.rb +0 -184
- data/unittests/textfields_xpath_test.rb +0 -110
- data/unittests/version_test.rb +0 -15
- data/unittests/win32ole_so_test.rb +0 -35
- data/unittests/window_tests.rb +0 -10
- data/unittests/windows/attach_to_existing_window_test.rb +0 -52
- data/unittests/windows/attach_to_new_window_test.rb +0 -74
- data/unittests/windows/close_window_test.rb +0 -20
- data/unittests/windows/frame_links_test.rb +0 -23
- data/unittests/windows/ie-each_test.rb +0 -46
- data/unittests/windows/modal_dialog_test.rb +0 -95
- data/unittests/windows/new_process_test.rb +0 -24
- data/unittests/windows/new_test.rb +0 -58
- data/unittests/windows/open_close_test.rb +0 -19
- data/unittests/windows/send_keys_test.rb +0 -26
- data/unittests/xpath_tests.rb +0 -11
- data/watir-rdoc.rb +0 -7
data/CHANGES
DELETED
@@ -1,712 +0,0 @@
|
|
1
|
-
== 3.0.0.rc3 - 2012/03/18
|
2
|
-
|
3
|
-
* all html elements are now supported (even html5 ones)
|
4
|
-
* CookieManager removed
|
5
|
-
* cookies API support added (https://github.com/watir/watirspec/blob/master/cookies_spec.rb)
|
6
|
-
* drag and drop API support added (https://github.com/watir/watirspec/blob/master/drag_and_drop_spec.rb)
|
7
|
-
* Element#(before|after)? removed
|
8
|
-
* Element#(before|after)_text removed
|
9
|
-
* Browser#cell(s) and Browser#row(s) removed
|
10
|
-
* Browser#Element camelCase methods removed, use under_score methods instead
|
11
|
-
* Browser#element(s) supports only general attributes like :id, :title, :class_name, :text, :html and such
|
12
|
-
* Browser#modal_dialog improved
|
13
|
-
* Browser#send_keys and Element#send_keys have now same syntax as specified in WatirSpec
|
14
|
-
* Element#style returns internal styles only for IE9, inline style will be returned for IE8
|
15
|
-
* Table#each removed - use Table#(trs|rows).each instead
|
16
|
-
* Table#row(s) and Table#cell(s) added which ignore inner tables - use #td/#tr for all.
|
17
|
-
* raise an Exception if more locators are specified with :xpath/:css
|
18
|
-
* searching by :xpath and :css code rewritten
|
19
|
-
|
20
|
-
== 3.0.0.rc2 - 2012/02/04
|
21
|
-
|
22
|
-
* Browser#textarea(s) method for searching <textarea> elements
|
23
|
-
* Element#focus works with IE9
|
24
|
-
* Element#focused? returns the state of focus on that element
|
25
|
-
* Element#to_subtype returns Element if non-supported tag found instead of crashing
|
26
|
-
* searching by :class will match now partially like other tools behave (e.g. jQuery)
|
27
|
-
|
28
|
-
== 3.0.0.rc1 - 2012/01/13 - more conformance with WatirSpec
|
29
|
-
|
30
|
-
* Button#text returns value if exists instead of text
|
31
|
-
* Browser#goto prepends url automatically with http:// if scheme is missing
|
32
|
-
* Browser#element(s)_by_(xpath/css) are now private methods - use #element(:css => ...) and #element(:xpath => ...) instead
|
33
|
-
* Browser#label supports searching by :for attribute
|
34
|
-
* Browser#options method for searching <option> elements
|
35
|
-
* Browser#body, #thead, #tfoot, #tbody, #frameset and #fieldset added
|
36
|
-
* Browser#window and Browser#windows added implementing window switching API (https://github.com/jarib/watirspec/blob/master/window_switching_spec.rb)
|
37
|
-
* Element#present? returns false if exception is thrown by #exists? or #visible?
|
38
|
-
* Element#style returns CSS text instead of OLE object
|
39
|
-
* Element#text returns an empty string for non-visible elements
|
40
|
-
* Element#parent returns correct instance of Element class (e.g. Div instead of Element)
|
41
|
-
* Element#focus focuses document before focusing on the element
|
42
|
-
* Element#right_click and Element#double_click added
|
43
|
-
* Element#to_subtype added which returns specific instance of Watir::Element subclass
|
44
|
-
* Element#send_keys added
|
45
|
-
* Element#eql? as an alias for Element#== added
|
46
|
-
* Element#tag_name added
|
47
|
-
* ElementCollection#[] method supports negative indexes like regular Arrays
|
48
|
-
* ElementCollection#[] returns always an object, even if the index is out of bounds
|
49
|
-
* FileField#set and Image#save uses correct Windows file path (e.g. convert "\"-es into "/"-es)
|
50
|
-
* FileField#set raises Errno::ENOENT instead of WatirException if file doesn't exist
|
51
|
-
* FileField#value= as an alias for FileField#set added
|
52
|
-
* Font#color, #face and #size added
|
53
|
-
* Form#submit triggers onSubmit event and doesn't submit the form if event's callback returns false
|
54
|
-
* Frame#execute_script added
|
55
|
-
* Image#file_size, #height and #width return integer instead of a string
|
56
|
-
* Image#save blocking fixed
|
57
|
-
* Meta#content and #http_equiv added
|
58
|
-
* Option code rewritten, causing changes in its API
|
59
|
-
* SelectList code rewritten, causing changes in its API
|
60
|
-
* SelectList#(selected_)options returns now Options collection instead of an array of strings
|
61
|
-
* Table and its subelements code rewritten, causing changes in its API
|
62
|
-
* Table#strings and #hashes added
|
63
|
-
* TextField#label added
|
64
|
-
* searching elements will find only correct types - e.g. using Browser#div returns only DIV element even if all other provided selectors match
|
65
|
-
* all selectors and tag of the element needs to match even if searching by :id
|
66
|
-
* supporting html5 data-* attributes by using :data_* for locating and #data_* for retrieving attribute values
|
67
|
-
* many other internal changes
|
68
|
-
|
69
|
-
== Version 2.0.4 - 2011/10/29
|
70
|
-
|
71
|
-
* IE#execute_script escapes multi-line JavaScript scripts
|
72
|
-
* allow css and xpath locators for element collection methods, fixes http://jira.openqa.org/browse/WTR-493
|
73
|
-
|
74
|
-
== Version 2.0.3 - 2011/10/21
|
75
|
-
|
76
|
-
* fix ElementCollections#[]
|
77
|
-
* fix IE::Process.start for IE9 when opening multiple windows
|
78
|
-
* add support for Spanish JavaScript and file upload dialogs
|
79
|
-
* fix IE#execute_script for Ruby 1.9 with IE9
|
80
|
-
|
81
|
-
== Version 2.0.2 - 2011/09/10
|
82
|
-
|
83
|
-
* added support for del, ins, font, meta and ol tags
|
84
|
-
* added support for h1, h2, h3, h4, h5, h6 and ul collection methods
|
85
|
-
* Watir::IE#execute_script returns now the value of the JavaScript evaluation
|
86
|
-
* Watir::IE#fire_event now checks for the document mode in IE9
|
87
|
-
* Watir::Table#rows method iterates correctly over rows
|
88
|
-
* speed up dealing with html elements in some situations
|
89
|
-
|
90
|
-
== Version 2.0.1 - 2011/08/10
|
91
|
-
|
92
|
-
* fixed Watir::IE#close for Ruby 1.9.2 - fixes http://jira.openqa.org/browse/WTR-481
|
93
|
-
* fixed locating elements on Ruby 1.9.2
|
94
|
-
|
95
|
-
== Version 2.0.0 - 2011/08/10
|
96
|
-
|
97
|
-
* RIP FireWatir - there won't be any new releases due to the lack of JSSH extension for Firefox 4+ versions.
|
98
|
-
* all elements are using 0-based indexing instead of old 1-based indexing:
|
99
|
-
- disable it temporarily: require "watir"; Watir.options[:zero_based_indexing] = false
|
100
|
-
* #radio and #checkbox methods doesn't allow 3 parameters anymore for locating with "value"
|
101
|
-
- use browser.radio(:name => "something", :value => "some value") syntax instead for locating with "value"
|
102
|
-
* all element methods accept now multiple-specifiers with hash syntax, for example:
|
103
|
-
- browser.element(:class => "someclass", :name => "somename")
|
104
|
-
* all elements are searchable by :xpath and :css now (note that it's usually slower than searching by other specifiers)
|
105
|
-
* #button, #form and #frame doesn't accept single string as a specifier anymore to search by name:
|
106
|
-
- use browser.frame(:name => "name") or browser.frame(:name, "name") syntax instead
|
107
|
-
* :index => 0 is used as a default specifier if nothing is specified:
|
108
|
-
- browser.div(:id => "id").table.tr is same as browser.div(:id => "id").table(:index => 0).tr(:index => 0)
|
109
|
-
* all collection methods accept now specifiers too:
|
110
|
-
- browser.divs(:class => "someclass").each {|div| puts div.class_name} # => "someclass"
|
111
|
-
* removed FormElement class
|
112
|
-
* added aliases:
|
113
|
-
- tr => row
|
114
|
-
- trs => rows
|
115
|
-
- td => cell
|
116
|
-
- tds => cells
|
117
|
-
- a => link
|
118
|
-
- as => links
|
119
|
-
- img => image
|
120
|
-
- imgs => images
|
121
|
-
|
122
|
-
== Version 1.9.3 - 2011/07/24
|
123
|
-
|
124
|
-
* Only FireWatir version released to make a dependency for commonwatir to be less strict to make it possible to use FireWatir together with Watir 2+ versions if needed.
|
125
|
-
|
126
|
-
== Version 1.9.2 - 2011/07/11
|
127
|
-
|
128
|
-
=== IE improvements
|
129
|
-
* Bump RAutomation dependency version to 0.6.2 to:
|
130
|
-
- fix/improve Watir::IE#send_keys.
|
131
|
-
- fix Watir::IE loading for certain Windows XP environments (http://jira.openqa.org/browse/WTR-484).
|
132
|
-
* Restored Watir::IE#autoit method to use RAutomation's AutoIt adapter with a deprecation warning.
|
133
|
-
* Cache IE.version result to not access registry with each execution - was causing slowness in TextField#set for example.
|
134
|
-
* Do not raise UnknownObjectException if parent element doesn't exist when calling Element#exists?
|
135
|
-
* Element#flash highlights elements again (http://jira.openqa.org/browse/WTR-478)
|
136
|
-
|
137
|
-
== Version 1.9.1 - 2011/06/30
|
138
|
-
|
139
|
-
* Bug fixes for IE9
|
140
|
-
|
141
|
-
== Version 1.9.0 - 2011/06/15
|
142
|
-
|
143
|
-
* Added support for IE9
|
144
|
-
* Updated watir/ie for Ruby 1.8.7 and are no longer supporting Ruby 1.8.6.
|
145
|
-
* Using RAutomation instead of Autoit, WinClicker and the WindowHelper
|
146
|
-
* New implementation of ie.file_field
|
147
|
-
* Replaced ie.dialog with ie.javascript_dialog
|
148
|
-
* Recompiled win32ole for 1.8.7 mingw and removed win32ole for 1.8.6
|
149
|
-
|
150
|
-
|
151
|
-
== Version 1.8.1 - 2011/04/08
|
152
|
-
|
153
|
-
=== IE improvements
|
154
|
-
|
155
|
-
* Added #frames method (Ivan Kabluchkov).
|
156
|
-
* Added Frame#exists?, #src, #name and other Element methods (Ivan Kabluchkov).
|
157
|
-
* Added multiple locators support for #frame method (Ivan Kabluchkov).
|
158
|
-
* Added *_no_wait methods (Ivan Kabluchkov).
|
159
|
-
|
160
|
-
=== Firefox improvements
|
161
|
-
|
162
|
-
* Nothing
|
163
|
-
|
164
|
-
=== General improvements
|
165
|
-
|
166
|
-
* Using Watir::Util for better compatibility with ActiveSupport used by Rails 3. Closes http://jira.openqa.org/browse/WTR-474 (Jarmo Pertman)
|
167
|
-
|
168
|
-
== Version 1.8.0 - 2011/28/02
|
169
|
-
|
170
|
-
=== IE improvements
|
171
|
-
|
172
|
-
* Improved speed of #click_no_wait by not loading RubyGems (Jarmo Pertman)
|
173
|
-
* Added check to maxlength so we don't clobber any incoming js events. (Charley Baker)
|
174
|
-
|
175
|
-
=== Firefox improvements
|
176
|
-
|
177
|
-
* Removed dependency for ActiveSupport, making it possible to use FireWatir with Rails 3 (Jarmo Pertman)
|
178
|
-
* Removed :waitTime option and try to handle better firefox startup (Jarmo Pertman)
|
179
|
-
* Added #exists? with alias #exist? to FireWatir::Firefox browser object (Jarmo Pertman)
|
180
|
-
|
181
|
-
== Version 1.7.1 - 2011/01/10
|
182
|
-
|
183
|
-
=== IE improvements
|
184
|
-
|
185
|
-
* Fixed Watir::IE.start_process/new_process. Doesn't completely close http://jira.openqa.org/browse/WTR-472 (Jarmo Pertman)
|
186
|
-
|
187
|
-
=== Firefox improvements
|
188
|
-
|
189
|
-
- Nothing
|
190
|
-
|
191
|
-
Whole Changelog is available at http://github.com/bret/watir/compare/v1.7.1...v1.7.0
|
192
|
-
|
193
|
-
== Version 1.7.0 - 2011/01/06
|
194
|
-
|
195
|
-
=== IE improvements
|
196
|
-
|
197
|
-
* Fixed Watir::IE#close_all to close all IE windows, even the ones with tabs. Closes http://jira.openqa.org/browse/WTR-463 (Jarmo Pertman)
|
198
|
-
* IE#wait waits now again until browser has a state of READYSTATE_COMPLETE due to strange timing issues. Closes http://jira.openqa.org/browse/WTR-466 (Jarmo Pertman)
|
199
|
-
* Added CSS3 selectors with usage like browser.text_field(:css => "input[name='text1']") (Jonas Tingeborn)
|
200
|
-
* Updated bundled version of AutoIt to 3.3.6.1. Closes http://jira.openqa.org/browse/WTR-440 (Jarmo Pertman)
|
201
|
-
Note: If you want to use this version of AutoIt, you'll need to manually uninstall all previously installed Watir and possibly manually installed AutoIt versions first.
|
202
|
-
When you run your Watir scripts, it will automatically install and use the new version.
|
203
|
-
|
204
|
-
=== Firefox improvements
|
205
|
-
|
206
|
-
* Fixed Element#exists? for cases where nested elements were used for locating (Alok Menghrajani)
|
207
|
-
* Ignore uppercase tags in XHTML when searching for elements (Alok Menghrajani)
|
208
|
-
|
209
|
-
=== General improvements
|
210
|
-
|
211
|
-
* Return Element#id correctly when using Element#when_present and friends methods. Closes http://jira.openqa.org/browse/WTR-469 (Jarmo Pertman)
|
212
|
-
|
213
|
-
Whole Changelog is available at http://github.com/bret/watir/compare/v1.6.7...v1.7.0
|
214
|
-
|
215
|
-
== Version 1.6.7 - 2010/10/26
|
216
|
-
|
217
|
-
=== General improvements
|
218
|
-
|
219
|
-
* added new waiting methods for Watir::Element: #when_present, #wait_until_present and #wait_while_present (Jari Bakken and Jarmo Pertman)
|
220
|
-
* added new waiting methods for Watir::IE and Watir::Firefox: #wait_until and #wait_while (Jari Bakken and Jarmo Pertman)
|
221
|
-
* added method #present? for Watir::Element (Jari Bakken and Jarmo Pertman)
|
222
|
-
* deprecated old waiting methods in Watir::Waiter which will be removed in some future version - use Watir::Wait instead (Jarmo Pertman)
|
223
|
-
|
224
|
-
=== IE improvements
|
225
|
-
|
226
|
-
* removed Watir::Simple (Željko Filipin)
|
227
|
-
* #click_no_wait was not working with frame elements. Closes http://jira.openqa.org/browse/WTR-459 (Jarmo Pertman)
|
228
|
-
|
229
|
-
=== Firefox improvements
|
230
|
-
|
231
|
-
* get_attribute_value now works with attributes named something like "foo-bar" (Alan Shields)
|
232
|
-
|
233
|
-
=== Cleanup & Maintenance
|
234
|
-
|
235
|
-
* cleaned up repo at GitHub
|
236
|
-
* merge licenses into one (Željko Filipin)
|
237
|
-
* Rakefile works now under non-Windows systems too (Alan Shields)
|
238
|
-
* Removed datahandler.rb
|
239
|
-
|
240
|
-
|
241
|
-
Whole Changelog is available at http://github.com/bret/watir/compare/v1.6.6...v1.6.7
|
242
|
-
|
243
|
-
|
244
|
-
== Version 1.6.6 - 2010/10/2
|
245
|
-
|
246
|
-
=== IE improvements
|
247
|
-
|
248
|
-
* #elements_by_xpath uses now Nokogiri's xpath method instead of search (Matt Baker)
|
249
|
-
* Element#style returns now currentStyle. Closes http://jira.openqa.org/browse/WTR-444 (Jarmo Pertman)
|
250
|
-
* Element#visible? doesn't return false anymore for disabled elements (Charley Baker)
|
251
|
-
* TH elements texts are included into Table#to_a results. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
|
252
|
-
* 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)
|
253
|
-
* 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)
|
254
|
-
* #close will close the browser even if #wait raises an Exception. Closes http://jira.openqa.org/browse/WTR-443 (Jarmo Pertman)
|
255
|
-
* Added #element and #elements methods for locating non-specific elements. Closes http://jira.openqa.org/browse/WTR-103 (Hugh McGowan)
|
256
|
-
* #click_no_wait fixes and improvements. Closes http://jira.openqa.org/browse/WTR-320 and http://jira.openqa.org/browse/WTR-449 (Jarmo Pertman)
|
257
|
-
* #wait will raise a Timeout::Error if page hasn't been loaded within 5 minutes. Closes http://jira.openqa.org/browse/WTR-452 (Bret)
|
258
|
-
* Fixed a problem when #wait blocked forever. Closes http://jira.openqa.org/browse/WTR-446 (Jarmo Pertman)
|
259
|
-
|
260
|
-
=== Firefox improvements
|
261
|
-
|
262
|
-
* Added close_all method to firefox. Closes http://jira.openqa.org/browse/WTR-222 (Angrez)
|
263
|
-
* Fixed status method for firefox. (Angrez)
|
264
|
-
* Fixed url method for firefox. Closes http://jira.openqa.org/browse/WTR-428 (Alister Scott)
|
265
|
-
* Added JRuby support (Ian Dees)
|
266
|
-
* Forcing to use ActiveSupport 2.3.9 due to incompatibilities with newer versions (Jarmo Pertman)
|
267
|
-
|
268
|
-
=== Cleanup & Maintenance
|
269
|
-
|
270
|
-
* Some rdoc cleanup (marekj)
|
271
|
-
* README changes (Željko Filipin)
|
272
|
-
* Removed Watir::Utils (Jarmo Pertman)
|
273
|
-
* It is now possible to execute unit-tests within gems with `rake test` (Jarmo Pertman)
|
274
|
-
* Don't output unnecessary information to stdout in FireWatir unit-tests (Željko Filipin)
|
275
|
-
* Update the 3 gem projects to each use the common readme file (Bret)
|
276
|
-
|
277
|
-
|
278
|
-
Whole Changelog is available at http://github.com/bret/watir/compare/v1.6.5...v1.6.6
|
279
|
-
|
280
|
-
|
281
|
-
== Version 1.6.5
|
282
|
-
|
283
|
-
Charley Baker was release manager for this release of Watir.
|
284
|
-
|
285
|
-
=== New Features (Both IE and Firefox)
|
286
|
-
|
287
|
-
* Browser.attach is now available.
|
288
|
-
* Browser.options and Browser.set_options are now available.
|
289
|
-
* Add support for definition lists, this adds these methods:
|
290
|
-
dd, dt, dl, dds, dts, dls. (Jarib)
|
291
|
-
* Added support for "visible?" method to both IE and Firefox. Closes
|
292
|
-
http://jira.openqa.org/browse/WTR-262 (Tony)
|
293
|
-
* Hidden#visible? should always return false. (Jarib)
|
294
|
-
* New method execute_script.
|
295
|
-
* Add ElementCollections#size as alias of length. (Jarib)
|
296
|
-
* Some camelCase => snake_case renames (with aliasing). (Jarib)
|
297
|
-
Image#fileCreatedDate => file_created_date
|
298
|
-
Image#fileSize => file_size
|
299
|
-
Image#hasLoaded? => loaded?
|
300
|
-
SelectList#getAllContents => options
|
301
|
-
SelectList#getSelectedItems => selected_options
|
302
|
-
SelectList#clearSelection => clear
|
303
|
-
SelectList#includes? => include?
|
304
|
-
TextField#dragContentsTo => drag_contents_to
|
305
|
-
Radio/Checkbox#isSet? => set?
|
306
|
-
* Patch for winclicker fix. http://jira.openqa.org/browse/WTR-279 (Derek Berner)
|
307
|
-
* Add support for using a Regexp as the third argument (value) when locating
|
308
|
-
checkboxes/radio buttons. (Jarib)
|
309
|
-
* Add support for <strong> element. (Jarib)
|
310
|
-
* Add support and tests for <em> element. (Jarib)
|
311
|
-
* SelectList#select now supports Numeric arguments. (Jarib)
|
312
|
-
* Additional inspect implementations for both IE and FF.
|
313
|
-
Closes http://jira.openqa.org/browse/WTR-158 (Jarib)
|
314
|
-
* Add ElementCollections#{first,last}. (Jarib)
|
315
|
-
* Fixes for running on Ruby 1.9. (Jarib)
|
316
|
-
|
317
|
-
=== Firefox Improvements
|
318
|
-
|
319
|
-
* SelectList#set is now defined for Firefox. Like with IE, it is an alias for
|
320
|
-
SelectList#select. Closes http://jira.openqa.org/browse/WTR-271 (Bret)
|
321
|
-
* Element collections are now enumerable. This allows methods such as @select@
|
322
|
-
and @map@ to be used with methods such as @divs@ and @links@.
|
323
|
-
* FireWatir.attach is now available, analogous to IE.attach. Includes http://jira.openqa.org/browse/WTR-296
|
324
|
-
* Some Javascript errors that were being ignored, now raise Ruby exceptions.
|
325
|
-
* Added event handler which resets the context of document
|
326
|
-
* Fix bug that occurred when new page was automatically loaded. (Angrez, 3ef8b6)
|
327
|
-
when page gets loaded automatically (Angrez)
|
328
|
-
* Changed code to use document_var, body_var, window_var, browser_var instead of
|
329
|
-
"document", "body", "window", "browser" variables. (Angrez)
|
330
|
-
* Changed code to replace every quote (") in xpath query with (\") so that it
|
331
|
-
doesn't give error while executing the xpath query (Angrez)
|
332
|
-
* Fire onchange event for FireWatir file fields. Closes http://jira.openqa.org/browse/WTR-286. (Jarib)
|
333
|
-
* Fixes for running and closing Firefox on Mac OS X http://jira.openqa.org/browse/WTR-272 (Jarib)
|
334
|
-
* Added functionality to allow Watir::Browser.attach with no arguments to open
|
335
|
-
a new firefox window rather than taking over the existing focused window (Rob Aldred)
|
336
|
-
* Also modified some setup functions to correctly handle closed browsers,
|
337
|
-
browserless windows and others (Rob Aldred)
|
338
|
-
* Add test and implementation for Firefox#status http://jira.openqa.org/browse/WTR-250 (Jarib)
|
339
|
-
* 2 problems fixed with .click (jubishop)
|
340
|
-
a) When chaining together element calls the @container becomes an
|
341
|
-
HTMLElement, but there's no container_var defined for HTMLElement
|
342
|
-
b) When an <a tag has no href then element_type was returning nil.
|
343
|
-
* Fix bug in Firefox#document. Change creating error class by eval in jssh
|
344
|
-
socket to creating class with ruby. (Ethan)
|
345
|
-
* Add support for Browser#frames. (Ethan)
|
346
|
-
* Make the version dependencies for Watir and FireWatir be the same. (This change
|
347
|
-
will also be backported to 1.6.3.) (Bret)
|
348
|
-
|
349
|
-
=== IE Improvements
|
350
|
-
|
351
|
-
* Allow attach timeout to be accessed as an option. Thus:
|
352
|
-
IE.set_options :attach_timeout => 5.0
|
353
|
-
This was previously available as class method.
|
354
|
-
* Fix for Autoit auto-registration. (Bret)
|
355
|
-
* Fixes http://jira.openqa.org/browse/WTR-290, http://jira.openqa.org/browse/WTR-308, http://jira.openqa.org/browse/WTR-298
|
356
|
-
* Fix for IE6, 7 and 8 file uploads. (Zeljko Filipin & Jarmo Pertman)
|
357
|
-
* Replaced REXML with Nokogiri for xml parsing. Fixes http://jira.openqa.org/browse/WTR-19 (Aidy Lewis)
|
358
|
-
* Option now supports :label attribute http://jira.openqa.org/browse/WTR-297
|
359
|
-
* Patch for IE.close causing WIN32OLE errors http://jira.openqa.org/browse/WTR-304 (Tony)
|
360
|
-
* Watir::IE.inspect issue fixed: http://jira.openqa.org/browse/WTR-180 (Jarib)
|
361
|
-
* Fix for Browser#execute_script on IE7. (Jarib)
|
362
|
-
* Removed ActiveSupport dependency. (Jarib)
|
363
|
-
* Fix Browser#status so it works even when the status bar is not visible. (Bret)
|
364
|
-
* Fix bug when using "each" with nested tables.
|
365
|
-
http://jira.openqa.org/browse/WTR-324 (Alan Baird)
|
366
|
-
* Now uses UTF-8 codepage by default http://jira.openqa.org/browse/WTR-219 (Jarib)
|
367
|
-
|
368
|
-
=== Structure Improvements
|
369
|
-
|
370
|
-
* Lots of rework of the FireWatir code, including removing duplication and
|
371
|
-
dead code, renaming variables, and simplifying code. Also a few performance
|
372
|
-
improvements. (Bret & Charley)
|
373
|
-
* Rename source file names for consistency.
|
374
|
-
|
375
|
-
=== Unit Tests
|
376
|
-
|
377
|
-
* Add tests demonstrating known bugs.
|
378
|
-
* Make the "window" tests run more reliably. (Bret)
|
379
|
-
* Relocate unreliable tests. (Bret)
|
380
|
-
* Tag tests that are known to fail on IE or Firefox.
|
381
|
-
* Fixed one test that was failing on non-English platforms. (Jarib)
|
382
|
-
* New Rake task (:test) runs all tests. (Jim Matthews)
|
383
|
-
* Use ci_reporter to provide more detailed test results for watirbuild.com.
|
384
|
-
Use xls transform to format results. (Jim Matthews)
|
385
|
-
* Add WatirSpec submodule + load it in Rakefile if available. (Jarib)
|
386
|
-
|
387
|
-
== Version 1.6.2
|
388
|
-
|
389
|
-
* Changed the method of setting Watir::Browser.default when the user does not
|
390
|
-
specify a browser option. This fixes the problem where it would be 'ie' on
|
391
|
-
Mac.
|
392
|
-
|
393
|
-
* Fixed FireWatir's "text" method to return the same character's as Watir's
|
394
|
-
method. It had been returning extra spaces and other characters.
|
395
|
-
Fix included contribution from Tony. Closes #266
|
396
|
-
|
397
|
-
* Fixed "activesupport" error. Users no longer need to have the latest version
|
398
|
-
installed.
|
399
|
-
|
400
|
-
== Version 1.6.1
|
401
|
-
|
402
|
-
* Fixed install/load errors reported by Marek J and Tony.
|
403
|
-
|
404
|
-
== Version 1.6.0
|
405
|
-
|
406
|
-
This release merges the Watir and FireWatir projects. It contains many
|
407
|
-
compatibility fixes,
|
408
|
-
as well as a new browser-independent interface your tests can use to allow you
|
409
|
-
to specify the browser at run time.
|
410
|
-
|
411
|
-
We have also updated our existing support for modal dialogs so that it now works
|
412
|
-
with Ruby 1.8.6. Users who have been using Ruby 1.8.2 because of this will now
|
413
|
-
need to upgrade to Ruby 1.8.6.
|
414
|
-
|
415
|
-
This release also contains many other fixes. Details below.
|
416
|
-
|
417
|
-
Watir and FireWatir are still distributed as separate gems. Installing the
|
418
|
-
Watir gem will automatically install FireWatir. Both gems now use common code
|
419
|
-
contained in the "commonwatir" gem.
|
420
|
-
|
421
|
-
This release is fully backwards compatible with previous versions of Watir and
|
422
|
-
FireWatir. Your existing scripts should continue to run without change.
|
423
|
-
|
424
|
-
=== Installation
|
425
|
-
|
426
|
-
To install both Watir and FireWatir:
|
427
|
-
|
428
|
-
gem update --system
|
429
|
-
gem install watir
|
430
|
-
|
431
|
-
To only install FireWatir (e.g. on Mac or Linux)
|
432
|
-
|
433
|
-
gem update --system
|
434
|
-
gem install firewatir
|
435
|
-
|
436
|
-
To enable Firefox to work with Watir, you will also need to install the
|
437
|
-
JSSH plugin. See this page for details.
|
438
|
-
http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-3%29InstalltheJSSHFirefoxExtension
|
439
|
-
|
440
|
-
=== New Features
|
441
|
-
You can now replace references to Watir::IE.new (or FireWatir::Firefox.new)
|
442
|
-
with Watir::Browser.new to allow you to
|
443
|
-
specify which browser to run your tests against at run time. Details:
|
444
|
-
http://wiki.openqa.org/display/WTR/Browser.new
|
445
|
-
|
446
|
-
It takes two lines of code to allow Browser.new to support an additional Watir
|
447
|
-
implementation. The two lines necessary for SafariWatir (on Mac) are provided.
|
448
|
-
(See commonwatir/lib/watir/browsers.rb).
|
449
|
-
|
450
|
-
In addition to 'browser', options supported by Browser.new (on IE only right now)
|
451
|
-
are 'speed' and 'visible'.
|
452
|
-
|
453
|
-
Unit tests no longer run from the gems. You will need to get the source if you
|
454
|
-
want to run the unit tests.
|
455
|
-
|
456
|
-
=== Compatibility Fixes
|
457
|
-
* FireWatir now raises Watir exceptions.
|
458
|
-
* FireWatir now supports multiple attributes for most page elements.
|
459
|
-
* Watir now supports multiple attributes for most page elements.
|
460
|
-
* Added support to FireWatir for many more element types.
|
461
|
-
* Added Radio#checked? and Checkbox#checked? methods to FireWatir.
|
462
|
-
* Now firefox.radio().set will click a radio button (as does IE) even if it
|
463
|
-
is already set. This is important if there is javascript attached to the
|
464
|
-
radio button.
|
465
|
-
* TextField#set now respects the maxlength of the field. Previously, FireWatir
|
466
|
-
could overrun the limit. FireWatir::TextField.maxlength now works correctly.
|
467
|
-
* Watir::SelectList#includes? and #selected now accept regexp arguments.
|
468
|
-
This functionality is still missing from FireWatir, but it is in Celerity.
|
469
|
-
From Jari Bakken. Fixes #261.
|
470
|
-
* FireWatir::Element#disabled is fixed.
|
471
|
-
* Added method Watir::Table#row_count_excluding_nested_tables. This works like
|
472
|
-
FireWatir::Table#row_count.
|
473
|
-
* Watir#wait_until is now available to FireWatir.
|
474
|
-
* Fixed versioning. With FireWatir 1.2.1, FireWatir::Firefox::VERSION
|
475
|
-
actually reported '1.1.1.'.
|
476
|
-
* FireWatir will now automatically starts Firefox on Mac (as it did previously
|
477
|
-
on Windows and Linux).
|
478
|
-
|
479
|
-
=== IE Fixes
|
480
|
-
* Fix for: form field named "submit" causes "submit" method to not work.
|
481
|
-
Closes #223.
|
482
|
-
* Calling ie.radio().set now scrolls the page to the control, as with other
|
483
|
-
controls. Thanks to Jonathan Kohl for the fix. Closes #172.
|
484
|
-
* Fixed ie.speed, which was returning ":fast" when speed was actually ":zippy".
|
485
|
-
* Fix for visible? method not being inherited correctly. From Alan Baird.
|
486
|
-
Closes #253
|
487
|
-
* Added ie.forms method. Thanks to Jarmo P.
|
488
|
-
* Fix for "undefined method 'document'" error that was occuring when loading
|
489
|
-
pages with frames that were slow to load. Reported here:
|
490
|
-
http://groups.google.com/group/watir-general/browse_thread/thread/ddde6251e30588c9
|
491
|
-
* Fixed accessing checkboxes and radio buttons using :ole_object on IE.
|
492
|
-
Closes #217.
|
493
|
-
|
494
|
-
=== Unit Test Improvements
|
495
|
-
* Unit tests no longer can be run from a gem install. Rather, you need to run them
|
496
|
-
from a complete source tree.
|
497
|
-
* New rake targets for Watir: test and cruise, each of which runs the core tests.
|
498
|
-
* Numerous fixes and cleanup to the unit test suite.
|
499
|
-
* The unit tests both both Watir and FireWatir now use the new Browser.new
|
500
|
-
interface and can be run
|
501
|
-
against either implementation (Watir::IE or FireWatir::Firefox or others for
|
502
|
-
that matter). See this page for details.
|
503
|
-
http://wiki.openqa.org/display/WTR/Running+Unit+Tests+in+Development
|
504
|
-
* Added tagging to unit tests. Tests which have known failures are now tagged
|
505
|
-
as ":fails_on_ie" or ":fails_on_firefox".
|
506
|
-
* Added coverage modes for running unit tests. These are documented on the wiki
|
507
|
-
page cited above.
|
508
|
-
* Updated tests that were still using obsolete Watir 1.0 interfaces.
|
509
|
-
* Started merging the Watir test suites into commonwatir.
|
510
|
-
* General test clean up.
|
511
|
-
* Test failures due to not setting IE security settings will now issue
|
512
|
-
helpful error message telling you how to fix your IE security settings.
|
513
|
-
|
514
|
-
=== Structural Changes
|
515
|
-
* Moved library files into "lib" directories. Now Watir is like all the other
|
516
|
-
Ruby projects.
|
517
|
-
* Moved FireWatir classes into the FireWatir module.
|
518
|
-
* Removed examples. They are now on the wiki.
|
519
|
-
* Simplified code by removing duplication and unused code.
|
520
|
-
* The watir-console now works from the development tree.
|
521
|
-
* Renamed IE.defaults to IE.options and IE.defaults= to IE.set_options.
|
522
|
-
* Added top-level "rake gems" target. Only works on windows right now.
|
523
|
-
|
524
|
-
|
525
|
-
== Watir 1.5.6
|
526
|
-
|
527
|
-
To install this:
|
528
|
-
|
529
|
-
"gem update --system"
|
530
|
-
"gem install watir"
|
531
|
-
|
532
|
-
Installer Fix
|
533
|
-
|
534
|
-
This update fixes an installer problem in Watir 1.5.5 that affected some users.
|
535
|
-
If you installed 1.5.5 without error, there is no reason to get this update.
|
536
|
-
|
537
|
-
== Watir 1.5.5.
|
538
|
-
|
539
|
-
New Features
|
540
|
-
|
541
|
-
* Multiple attributes can now be specified for these elements:
|
542
|
-
li, ul, map, area, h1, h2, h3, h4, h5, h6. (This was claimed to work earlier,
|
543
|
-
but never did.)
|
544
|
-
http://jira.openqa.org/browse/WTR-196
|
545
|
-
|
546
|
-
Bug Fixes
|
547
|
-
|
548
|
-
* Statements such at ie.table().row() now work (no longer private).
|
549
|
-
http://jira.openqa.org/browse/WTR-117
|
550
|
-
* Fixed bug with images method when used with anything but ie. (Paul Rogers)
|
551
|
-
E.g. ie.div().images. http://jira.openqa.org/browse/WTR-211
|
552
|
-
* Fixed intermittent bug with ie.file_field().set. (Tomislav Car)
|
553
|
-
http://jira.openqa.org/browse/WTR-210
|
554
|
-
* When installing Watir 1.5.4 you could get extra, confusing
|
555
|
-
questions. This shouldn't happen anymore.
|
556
|
-
http://jira.openqa.org/browse/WTR-209
|
557
|
-
* Improved error message when element is not found using multiple attributes.
|
558
|
-
http://jira.openqa.org/browse/WTR-181
|
559
|
-
* Made examples and unit tests somewhat better examples: removed unnecessary
|
560
|
-
"include Watir" statements; started using "browser" instead of "$ie"; use
|
561
|
-
new methods 'goto_page' and 'uses_page' (this last improves performance of
|
562
|
-
unit tests).
|
563
|
-
http://jira.openqa.org/browse/WTR-159
|
564
|
-
* Moved brittle unit test that was causing cascading failures; renamed another
|
565
|
-
that was causing a namespace collision.
|
566
|
-
http://jira.openqa.org/browse/WTR-92
|
567
|
-
|
568
|
-
== Version 1.5.4
|
569
|
-
|
570
|
-
New Features
|
571
|
-
|
572
|
-
* 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.
|
573
|
-
http://svn.openqa.org/fisheye/changelog/watir/?cs=1295
|
574
|
-
* Add support for Chinese input as supplied by Vincent Xu.
|
575
|
-
http://jira.openqa.org/browse/WTR-71.
|
576
|
-
|
577
|
-
Bug Fixes
|
578
|
-
|
579
|
-
* Add dependency on windows-pr 0.6.6, which seems to be necessary on Vista.
|
580
|
-
* Fix for bug in IE.close_others provided by Paul Taylor.
|
581
|
-
http://jira.openqa.org/browse/WTR-194
|
582
|
-
* Fix for error when using verify_equal with ci_reporter, provided by Marcog.
|
583
|
-
http://svn.openqa.org/fisheye/changelog/watir/?cs=1301
|
584
|
-
|
585
|
-
== Version 1.5.3
|
586
|
-
|
587
|
-
Bug fixes and minor cleanup.
|
588
|
-
|
589
|
-
* Fix text areas bugs.
|
590
|
-
* Fix warning messages caused by redefined constants.
|
591
|
-
* Break out watir.rb into multiple files.
|
592
|
-
* Fix [WTR-90] error when running tests when installing gem.
|
593
|
-
http://jira.openqa.org/browse/WTR-90
|
594
|
-
* Fix tests.
|
595
|
-
* Update documentation.
|
596
|
-
|
597
|
-
Major Changes in 1.5.2
|
598
|
-
Support for IE's Modal Dialogs.
|
599
|
-
showModalDialog()
|
600
|
-
Any method can be used to specify an element (:text, :class, etc.).
|
601
|
-
ie.button(:class,'Button Menu').click
|
602
|
-
ie.div(:text, 'Type').text_field(:class, 'TextInput-input').set('my value')
|
603
|
-
ie.button(:text, 'Save').click
|
604
|
-
One can now use multiple attributes to specify an element.
|
605
|
-
ie.span(:class =>'Label', :text => 'Add new').click
|
606
|
-
|
607
|
-
Other Changes in 1.5.2
|
608
|
-
* 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.
|
609
|
-
* Added IE.start_process. This works like IE.start, but uses the new_process mechanism to start IE.
|
610
|
-
* Added IE.new_window and IE.start_window. This are synonyms for IE.new and IE.start.
|
611
|
-
* Added dependency on the win32-process gem.
|
612
|
-
* Added IE.each, which iterates through the various IE windows currently open.
|
613
|
-
* Updated WindowHelper and watir/dialog to work with IE7
|
614
|
-
* The wait method was completely rewritten. This should fix various errors seen in 1.5.1.1165 and 1.5.1.1158.
|
615
|
-
* Removed the "spinner".
|
616
|
-
* Fixed bug in Element#parent and updated unit test.
|
617
|
-
* HTML value attributes are checked as strings before converting, updated unit tests.
|
618
|
-
* Watir::wait_until clean up.
|
619
|
-
* Fix for winclicker when installed in directory with spaces.
|
620
|
-
* Rdoc changes and updates.
|
621
|
-
* A workaround for frame access errors in the wait command, swallowing access denied errors and rethrowing if other WIN32OLERuntimeErrors show up.
|
622
|
-
* Add support for "li" tag.
|
623
|
-
* Fix for bug in element_by_xpath. http://www.mail-archive.com/wtr-general@rubyforge.org/msg06742.html
|
624
|
-
* "Wait" method now is called recursively into nested frames. http://jira.openqa.org/browse/WTR-107
|
625
|
-
* Rdocs now only include the core Watir library (not contrib).
|
626
|
-
* Improve error reporting when IE#modal_dialog isn't found.
|
627
|
-
* Add method "ModalDialog#exists?"
|
628
|
-
* Add Watir::Win32.window_exists? method.
|
629
|
-
* Fix for winclicker setComboBoxTest and setTextBoxText http://jira.openqa.org/browse/WTR-124
|
630
|
-
* Improved Support for IE7
|
631
|
-
o Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
|
632
|
-
o Fix for IE7 with winclicker.
|
633
|
-
o Fix for check_for_http_error in IE7. http://jira.openqa.org/browse/WTR-141
|
634
|
-
* Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
|
635
|
-
* Rubyw is now used in winclicker to bypass command line windows.
|
636
|
-
* Autoit is registered before being used.
|
637
|
-
* Watir now checks for the right version of Ruby before loading our customized Win32ole library.
|
638
|
-
* ie.file_field has been fixed and unit test updated.
|
639
|
-
* rdoc generation has been fixed.
|
640
|
-
* page checker has been moved from the default behavior into contrib/page_checker.rb
|
641
|
-
* Fix for intermittent crashes occuring when using Watir with Ruby version > 1.8.2.
|
642
|
-
* Fix for http://jira.openqa.org/browse/WTR-86
|
643
|
-
This fix prevents the Watir-modified win32ole.so library (compiled against 1.8.2) from being used.
|
644
|
-
* Added Element#parent
|
645
|
-
* Add new methods Element#after? and Element#before?
|
646
|
-
* Added support for relative specifiers. E.g.:
|
647
|
-
link = $ie.link(:class => 'addtocart', :after? => @headline)
|
648
|
-
* 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.
|
649
|
-
* Open-code calls to def_creator, for easier debugging and rdoc generation of factory methods.
|
650
|
-
* Winclicker fix for too many callbacks defined error.
|
651
|
-
* Patch for rspec API changes
|
652
|
-
* You can now reference an iframe using IE#frame(:id, 'whatever'). Jira 109
|
653
|
-
* Added 'map' and 'area' element support.
|
654
|
-
* Moved Watir::Assertions into new file watir/assertions.rb so they can be used outside test cases.
|
655
|
-
* Fix and unit test for Jira 114, related to tag in HTML source.
|
656
|
-
* Added SelectList#include? and SelectList#selected?
|
657
|
-
* Added Element#visible?
|
658
|
-
* Fixes all reported bugs with contains_text.
|
659
|
-
* New Watir::TestCase#verify method (and verify_equal and verify_match).
|
660
|
-
* The click_no_wait method now works in frames.
|
661
|
-
* 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.
|
662
|
-
* Several examples have been updated.
|
663
|
-
* Moved enabled_popup to a new contrib directory.
|
664
|
-
* Added several tests.
|
665
|
-
|
666
|
-
Changes in 1.4
|
667
|
-
fix method name for accessing class name of P/Span/Div (change from style to class_name)
|
668
|
-
fix for bug 2152 (frame index in show_frames off by 1)
|
669
|
-
added alt as a property to image
|
670
|
-
added file_fields
|
671
|
-
fixed TextArea#to_s
|
672
|
-
moved reset button to buttons class
|
673
|
-
add IE#send_keys
|
674
|
-
frames can now be referenced using regexps and ids
|
675
|
-
added IE#minimize, IE#maximize, IE#restore
|
676
|
-
onChange and onBlur events now triggered by TextField#set
|
677
|
-
added default option to set for checkbox
|
678
|
-
added colspan method to tablecell
|
679
|
-
fix for bug reported by Scott P, wrong objects are sometimes found
|
680
|
-
fixed Bug with radio/checkboxes doing multiple fireevents
|
681
|
-
fix for table, id and reg exp
|
682
|
-
wait for page load before returning from IE.attach
|
683
|
-
update to select_list -- new interface still in progress
|
684
|
-
added .show method to iterators
|
685
|
-
fix for flashing objects in table cells
|
686
|
-
added flash for forms
|
687
|
-
flash returns nil instead of the curious '10'
|
688
|
-
removed ScreenCapture module from IE class
|
689
|
-
|
690
|
-
Changes in 1.3.1
|
691
|
-
Added P tag support
|
692
|
-
Bug fix for images and links in frames using each
|
693
|
-
Bug fixes for image#save
|
694
|
-
|
695
|
-
Changes in 1.3
|
696
|
-
added new row_values and column_value methods to tables
|
697
|
-
added ability to save an image - ie.image(:index,1).save('c:\temp\mypic.gif')
|
698
|
-
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>
|
699
|
-
now throws a NavigationException on 404, 500 errors
|
700
|
-
iterators now mixin Enumerable
|
701
|
-
added support for labels
|
702
|
-
added support for frames by index
|
703
|
-
added screen_capture
|
704
|
-
added hidden field support, and iterator method
|
705
|
-
table cells, span and div now act as containers, so can do ie.div(:index,1).button(:index.2).click
|
706
|
-
added index to print out from show_xx methods. Link shows img src if an image is used
|
707
|
-
added onKeyUp and onKeyDown to text_fields#set
|
708
|
-
installer now installs AutoIt to deal with javascript popups, file uploads etc
|
709
|
-
the spinner is now off by default
|
710
|
-
bug fix in text_fields iterator where it wasnt iterating through password or text ares. Added test for password fields
|
711
|
-
bug fix for flash for tables
|
712
|
-
bug fixes for images and links in cells
|