commonwatir 3.0.0.rc3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/README +24 -0
  2. data/Rakefile +3 -14
  3. data/commonwatir.gemspec +18 -0
  4. data/lib/watir.rb +1 -14
  5. metadata +19 -131
  6. data/CHANGES +0 -712
  7. data/LICENSE +0 -34
  8. data/README.rdoc +0 -101
  9. data/VERSION +0 -1
  10. data/lib/watir/assertions.rb +0 -44
  11. data/lib/watir/browser.rb +0 -149
  12. data/lib/watir/browsers.rb +0 -13
  13. data/lib/watir/element_extensions.rb +0 -69
  14. data/lib/watir/exceptions.rb +0 -50
  15. data/lib/watir/matches.rb +0 -23
  16. data/lib/watir/options.rb +0 -56
  17. data/lib/watir/testcase.rb +0 -97
  18. data/lib/watir/util.rb +0 -35
  19. data/lib/watir/version.rb +0 -4
  20. data/lib/watir/wait.rb +0 -41
  21. data/lib/watir/wait_helper.rb +0 -12
  22. data/lib/watir/waiter.rb +0 -98
  23. data/unittests/attach_to_existing_window_test.rb +0 -70
  24. data/unittests/browser_test.rb +0 -38
  25. data/unittests/buttons_test.rb +0 -288
  26. data/unittests/dd_test.rb +0 -84
  27. data/unittests/dl_test.rb +0 -82
  28. data/unittests/dt_test.rb +0 -82
  29. data/unittests/element_collections_test.rb +0 -22
  30. data/unittests/element_test.rb +0 -24
  31. data/unittests/em_test.rb +0 -81
  32. data/unittests/form2_test.rb +0 -22
  33. data/unittests/html/blankpage.html +0 -11
  34. data/unittests/html/buttons1.html +0 -40
  35. data/unittests/html/buttons2.html +0 -60
  36. data/unittests/html/definition_lists.html +0 -48
  37. data/unittests/html/elements.html +0 -13
  38. data/unittests/html/emphasis.html +0 -12
  39. data/unittests/html/entertainment_com.html +0 -667
  40. data/unittests/html/frame_buttons.html +0 -4
  41. data/unittests/html/images/button.jpg +0 -0
  42. data/unittests/html/pass.html +0 -10
  43. data/unittests/html/phrase_elements.html +0 -15
  44. data/unittests/html/select_lists.html +0 -18
  45. data/unittests/html/utf8.html +0 -12
  46. data/unittests/html/visibility.html +0 -90
  47. data/unittests/html/wait.html +0 -15
  48. data/unittests/html/watir_unit_tests.css +0 -64
  49. data/unittests/html/whitespace.html +0 -29
  50. data/unittests/options.yml.example +0 -13
  51. data/unittests/select_list_test.rb +0 -19
  52. data/unittests/setup.rb +0 -17
  53. data/unittests/setup/browser.rb +0 -14
  54. data/unittests/setup/capture_io_helper.rb +0 -17
  55. data/unittests/setup/filter.rb +0 -24
  56. data/unittests/setup/lib.rb +0 -22
  57. data/unittests/setup/options.rb +0 -29
  58. data/unittests/setup/testUnitAddons.rb +0 -8
  59. data/unittests/setup/watir-unittest.rb +0 -78
  60. data/unittests/strong_test.rb +0 -46
  61. data/unittests/utf8_test.rb +0 -24
  62. data/unittests/visibility_test.rb +0 -47
  63. data/unittests/wait_test.rb +0 -126
  64. data/unittests/whitespace_test.rb +0 -46
data/README ADDED
@@ -0,0 +1,24 @@
1
+ You're probably wondering why this directory is here. If a user does not have
2
+ a previous release of watir in their local gem repository, it doesn't really
3
+ matter. If, however, they have a previous watir installation then we could
4
+ get into an issue that would prevent this code from running.
5
+
6
+ When you require 'watir', ruby looks through each directory to see if a
7
+ lib/watir.rb exists *independent* of the name of the gem. Watir is a pretty
8
+ old project and at the point it was supporting firefox, safari and ie, a new
9
+ gem was created to handle common code. This was the commonwatir gem and it had
10
+ a lib/watir.rb which would load watir (not from the watir gem).
11
+
12
+ So now we're moving to watir being the gem with the lib/watir.rb and we want to
13
+ retain the ability to require 'watir'. If a user has an old watir build then
14
+ ruby will find the older commonwatir first and run it from
15
+ commonwatir/lib/watir.rb instead of the new location watir/lib/watir.rb. That
16
+ results in the older version of watir loading even though a newer gem is
17
+ installed.
18
+
19
+ To make sure this doesn't happen we release a new commonwatir gem with a higher
20
+ version number so it gets picked up instead of the older version. The watir.rb
21
+ in commonwatir just delegates to watir/loader.rb
22
+
23
+
24
+
data/Rakefile CHANGED
@@ -1,15 +1,4 @@
1
- require 'rubygems'
2
- require 'rake'
3
- require 'rake/clean'
4
- require 'rake/gempackagetask'
1
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
5
2
 
6
- task :default => :package
7
-
8
- CLEAN << 'pkg' << 'rdoc'
9
-
10
- gemspec = eval(File.read('commonwatir.gemspec'))
11
- Rake::GemPackageTask.new(gemspec) do |p|
12
- p.gem_spec = gemspec
13
- p.need_tar = false
14
- p.need_zip = false
15
- end
3
+ require 'bundler'
4
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ $:.push File.expand_path("../../watir/lib", __FILE__)
4
+ require "watir/version"
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "commonwatir"
8
+ s.version = Watir::BUNDLE_VERSION
9
+ s.platform = Gem::Platform::RUBY
10
+ s.authors = ["Bret Pettichord"]
11
+ s.email = ["bret@pettichord.com"]
12
+ s.homepage = "http://github.com/watir/watir"
13
+ s.summary = %q{Common library for Watir}
14
+ s.description = %q{This library is included so older versions of commonwatir are not activated}
15
+ s.rubyforge_project = "watir"
16
+ s.files = %x{git ls-files}.split("\n")
17
+ s.require_paths = ["lib"]
18
+ end
@@ -1,14 +1 @@
1
- #--
2
- # The 'watir' library loads the common watir code, common to all watir
3
- # implementations. The 'watir/browser' library will autoload the actual
4
- # implementations.
5
-
6
- require 'watir/version'
7
- require 'watir/waiter' # this will be removed in some future version
8
- require 'watir/wait'
9
- require 'watir/wait_helper'
10
- require 'watir/element_extensions'
11
- require 'watir/util'
12
- require 'watir/exceptions'
13
- require 'watir/matches'
14
- require 'watir/browser'
1
+ require 'watir/loader'
metadata CHANGED
@@ -1,101 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonwatir
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc3
5
- prerelease: 6
4
+ version: 3.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bret Pettichord
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-18 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: user-choices
16
- requirement: &2381184 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *2381184
25
- description: Common library for Watir and FireWatir.
26
- email: bret@pettichord.com
12
+ date: 2012-04-23 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: This library is included so older versions of commonwatir are not activated
15
+ email:
16
+ - bret@pettichord.com
27
17
  executables: []
28
18
  extensions: []
29
- extra_rdoc_files:
30
- - README.rdoc
19
+ extra_rdoc_files: []
31
20
  files:
32
- - lib/watir/assertions.rb
33
- - lib/watir/browser.rb
34
- - lib/watir/browsers.rb
35
- - lib/watir/element_extensions.rb
36
- - lib/watir/exceptions.rb
37
- - lib/watir/matches.rb
38
- - lib/watir/options.rb
39
- - lib/watir/testcase.rb
40
- - lib/watir/util.rb
41
- - lib/watir/version.rb
42
- - lib/watir/wait.rb
43
- - lib/watir/waiter.rb
44
- - lib/watir/wait_helper.rb
45
- - lib/watir.rb
21
+ - README
46
22
  - Rakefile
47
- - LICENSE
48
- - CHANGES
49
- - VERSION
50
- - README.rdoc
51
- - unittests/attach_to_existing_window_test.rb
52
- - unittests/browser_test.rb
53
- - unittests/buttons_test.rb
54
- - unittests/dd_test.rb
55
- - unittests/dl_test.rb
56
- - unittests/dt_test.rb
57
- - unittests/element_collections_test.rb
58
- - unittests/element_test.rb
59
- - unittests/em_test.rb
60
- - unittests/form2_test.rb
61
- - unittests/html/blankpage.html
62
- - unittests/html/buttons1.html
63
- - unittests/html/buttons2.html
64
- - unittests/html/definition_lists.html
65
- - unittests/html/elements.html
66
- - unittests/html/emphasis.html
67
- - unittests/html/entertainment_com.html
68
- - unittests/html/frame_buttons.html
69
- - unittests/html/images/button.jpg
70
- - unittests/html/pass.html
71
- - unittests/html/phrase_elements.html
72
- - unittests/html/select_lists.html
73
- - unittests/html/utf8.html
74
- - unittests/html/visibility.html
75
- - unittests/html/wait.html
76
- - unittests/html/watir_unit_tests.css
77
- - unittests/html/whitespace.html
78
- - unittests/options.yml.example
79
- - unittests/select_list_test.rb
80
- - unittests/setup/browser.rb
81
- - unittests/setup/capture_io_helper.rb
82
- - unittests/setup/filter.rb
83
- - unittests/setup/lib.rb
84
- - unittests/setup/options.rb
85
- - unittests/setup/testUnitAddons.rb
86
- - unittests/setup/watir-unittest.rb
87
- - unittests/setup.rb
88
- - unittests/strong_test.rb
89
- - unittests/utf8_test.rb
90
- - unittests/visibility_test.rb
91
- - unittests/wait_test.rb
92
- - unittests/whitespace_test.rb
93
- homepage: http://www.watir.com
23
+ - commonwatir.gemspec
24
+ - lib/watir.rb
25
+ homepage: http://github.com/watir/watir
94
26
  licenses: []
95
27
  post_install_message:
96
- rdoc_options:
97
- - --main
98
- - README.rdoc
28
+ rdoc_options: []
99
29
  require_paths:
100
30
  - lib
101
31
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -107,55 +37,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
37
  required_rubygems_version: !ruby/object:Gem::Requirement
108
38
  none: false
109
39
  requirements:
110
- - - ! '>'
40
+ - - ! '>='
111
41
  - !ruby/object:Gem::Version
112
- version: 1.3.1
42
+ version: '0'
113
43
  requirements: []
114
- rubyforge_project: wtr
115
- rubygems_version: 1.8.12
44
+ rubyforge_project: watir
45
+ rubygems_version: 1.8.21
116
46
  signing_key:
117
47
  specification_version: 3
118
- summary: Common library for Watir and FireWatir
119
- test_files:
120
- - unittests/attach_to_existing_window_test.rb
121
- - unittests/browser_test.rb
122
- - unittests/buttons_test.rb
123
- - unittests/dd_test.rb
124
- - unittests/dl_test.rb
125
- - unittests/dt_test.rb
126
- - unittests/element_collections_test.rb
127
- - unittests/element_test.rb
128
- - unittests/em_test.rb
129
- - unittests/form2_test.rb
130
- - unittests/html/blankpage.html
131
- - unittests/html/buttons1.html
132
- - unittests/html/buttons2.html
133
- - unittests/html/definition_lists.html
134
- - unittests/html/elements.html
135
- - unittests/html/emphasis.html
136
- - unittests/html/entertainment_com.html
137
- - unittests/html/frame_buttons.html
138
- - unittests/html/images/button.jpg
139
- - unittests/html/pass.html
140
- - unittests/html/phrase_elements.html
141
- - unittests/html/select_lists.html
142
- - unittests/html/utf8.html
143
- - unittests/html/visibility.html
144
- - unittests/html/wait.html
145
- - unittests/html/watir_unit_tests.css
146
- - unittests/html/whitespace.html
147
- - unittests/options.yml.example
148
- - unittests/select_list_test.rb
149
- - unittests/setup/browser.rb
150
- - unittests/setup/capture_io_helper.rb
151
- - unittests/setup/filter.rb
152
- - unittests/setup/lib.rb
153
- - unittests/setup/options.rb
154
- - unittests/setup/testUnitAddons.rb
155
- - unittests/setup/watir-unittest.rb
156
- - unittests/setup.rb
157
- - unittests/strong_test.rb
158
- - unittests/utf8_test.rb
159
- - unittests/visibility_test.rb
160
- - unittests/wait_test.rb
161
- - unittests/whitespace_test.rb
48
+ summary: Common library for Watir
49
+ test_files: []
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