commonwatir 1.9.1 → 1.9.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,4 +1,15 @@
1
- == Version 1.9.1 - 2011/07/
1
+ == Version 1.9.2 - 2011/xx/xx
2
+
3
+ === IE improvements
4
+ * Bump RAutomation dependency version to 0.6.2 to:
5
+ - fix/improve Watir::IE#send_keys.
6
+ - fix Watir::IE loading for certain Windows XP environments (http://jira.openqa.org/browse/WTR-484).
7
+ * Restored Watir::IE#autoit method to use RAutomation's AutoIt adapter with a deprecation warning.
8
+ * Cache IE.version result to not access registry with each execution - was causing slowness in TextField#set for example.
9
+ * Do not raise UnknownObjectException if parent element doesn't exist when calling Element#exists?
10
+ * Element#flash highlights elements again (http://jira.openqa.org/browse/WTR-478)
11
+
12
+ == Version 1.9.1 - 2011/06/30
2
13
 
3
14
  * Bug fixes for IE9
4
15
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.1
1
+ 1.9.2.rc1
@@ -0,0 +1,24 @@
1
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED
2
+ require 'unittests/setup'
3
+
4
+ class TC_Elements < Test::Unit::TestCase
5
+ include Watir::Exception
6
+ location __FILE__
7
+
8
+ def setup
9
+ @html_dir = "#{File.dirname(__FILE__)}/html"
10
+ uses_page "elements.html"
11
+ end
12
+
13
+ def test_objects_in_element_exists
14
+ assert browser.div(:id => "buttons1").exists?
15
+ assert browser.button(:name => "b1").exists?
16
+ assert browser.div(:id => "buttons1").button(:name => "b1").exists?
17
+
18
+ assert !browser.div(:id => "buttons1").button(:id => 'doesntexist').exists?
19
+ assert !browser.div(:id => "doesntexist").button(:name => "b1").exists?
20
+ assert !browser.div(:id => "doesntexist").button(:id => "doesntexist").exists?
21
+ end
22
+
23
+ end
24
+
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <!doctype html>
3
+ <head>
4
+ <title>Test page for Elements in general</title>
5
+ </head>
6
+ <body>
7
+
8
+ <div id="buttons1">
9
+ <input type="button" name="b1" value="Button 1"/>
10
+ </div>
11
+
12
+ </body>
13
+ </html>
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonwatir
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
5
- prerelease:
4
+ hash: 15424183
5
+ prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
+ - 2
10
+ - rc
9
11
  - 1
10
- version: 1.9.1
12
+ version: 1.9.2.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Bret Pettichord
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2011-06-30 00:00:00 Z
20
+ date: 2011-07-09 00:00:00 Z
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
21
23
  name: user-choices
@@ -66,12 +68,14 @@ files:
66
68
  - unittests/dl_test.rb
67
69
  - unittests/dt_test.rb
68
70
  - unittests/element_collections_test.rb
71
+ - unittests/element_test.rb
69
72
  - unittests/em_test.rb
70
73
  - unittests/form2_test.rb
71
74
  - unittests/html/blankpage.html
72
75
  - unittests/html/buttons1.html
73
76
  - unittests/html/buttons2.html
74
77
  - unittests/html/definition_lists.html
78
+ - unittests/html/elements.html
75
79
  - unittests/html/emphasis.html
76
80
  - unittests/html/entertainment_com.html
77
81
  - unittests/html/frame_buttons.html
@@ -121,16 +125,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
125
  required_rubygems_version: !ruby/object:Gem::Requirement
122
126
  none: false
123
127
  requirements:
124
- - - ">="
128
+ - - ">"
125
129
  - !ruby/object:Gem::Version
126
- hash: 3
130
+ hash: 25
127
131
  segments:
128
- - 0
129
- version: "0"
132
+ - 1
133
+ - 3
134
+ - 1
135
+ version: 1.3.1
130
136
  requirements: []
131
137
 
132
138
  rubyforge_project: wtr
133
- rubygems_version: 1.7.2
139
+ rubygems_version: 1.8.4
134
140
  signing_key:
135
141
  specification_version: 3
136
142
  summary: Common library for Watir and FireWatir
@@ -142,12 +148,14 @@ test_files:
142
148
  - unittests/dl_test.rb
143
149
  - unittests/dt_test.rb
144
150
  - unittests/element_collections_test.rb
151
+ - unittests/element_test.rb
145
152
  - unittests/em_test.rb
146
153
  - unittests/form2_test.rb
147
154
  - unittests/html/blankpage.html
148
155
  - unittests/html/buttons1.html
149
156
  - unittests/html/buttons2.html
150
157
  - unittests/html/definition_lists.html
158
+ - unittests/html/elements.html
151
159
  - unittests/html/emphasis.html
152
160
  - unittests/html/entertainment_com.html
153
161
  - unittests/html/frame_buttons.html