rwebspec 3.1.4 → 4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +453 -450
- data/MIT-LICENSE +0 -0
- data/README +0 -0
- data/Rakefile +109 -100
- data/lib/extensions/rspec_extensions.rb +0 -0
- data/lib/extensions/watir_extensions.rb +0 -0
- data/lib/extensions/webdriver_extensions.rb +9 -0
- data/lib/extensions/window_script_extensions.rb +0 -0
- data/lib/plugins/testwise_plugin.rb +16 -0
- data/lib/{rwebspec → rwebspec-common}/assert.rb +394 -386
- data/lib/{rwebspec → rwebspec-common}/clickJSDialog.rb +15 -15
- data/lib/{rwebspec → rwebspec-common}/context.rb +24 -24
- data/lib/{rwebspec → rwebspec-common}/database_checker.rb +0 -0
- data/lib/{rwebspec → rwebspec-common}/load_test_helper.rb +0 -0
- data/lib/{rwebspec → rwebspec-common}/matchers/contains_text.rb +0 -0
- data/lib/{rwebspec → rwebspec-common}/popup.rb +0 -0
- data/lib/{rwebspec → rwebspec-common}/rspec_helper.rb +96 -96
- data/lib/{rwebspec → rwebspec-common}/test_script.rb +0 -0
- data/lib/{rwebspec → rwebspec-common}/test_utils.rb +432 -432
- data/lib/{rwebspec → rwebspec-common}/using_pages.rb +0 -0
- data/lib/{rwebspec → rwebspec-common}/web_page.rb +107 -108
- data/lib/{rwebspec → rwebspec-common}/web_testcase.rb +38 -38
- data/lib/{rwebspec → rwebspec-watir}/driver.rb +759 -772
- data/lib/{rwebspec → rwebspec-watir}/web_browser.rb +611 -611
- data/lib/rwebspec-webdriver/driver.rb +745 -0
- data/lib/rwebspec-webdriver/element_locator.rb +86 -0
- data/lib/rwebspec-webdriver/web_browser.rb +735 -0
- data/lib/rwebspec.rb +99 -59
- metadata +85 -87
data/CHANGELOG
CHANGED
@@ -1,450 +1,453 @@
|
|
1
|
-
CHANGELOG
|
2
|
-
=========
|
3
|
-
|
4
|
-
|
5
|
-
-
|
6
|
-
|
7
|
-
3.1.
|
8
|
-
-
|
9
|
-
|
10
|
-
3.1
|
11
|
-
-
|
12
|
-
|
13
|
-
3.
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
[
|
32
|
-
|
33
|
-
2.1.
|
34
|
-
[
|
35
|
-
|
36
|
-
2.1.
|
37
|
-
[Change]
|
38
|
-
|
39
|
-
2.1
|
40
|
-
|
41
|
-
|
42
|
-
2.
|
43
|
-
[
|
44
|
-
|
45
|
-
2.0.
|
46
|
-
[
|
47
|
-
|
48
|
-
2.0.
|
49
|
-
[
|
50
|
-
|
51
|
-
2.0.
|
52
|
-
[Fixes]
|
53
|
-
|
54
|
-
|
55
|
-
[
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
[
|
60
|
-
|
61
|
-
1.9.
|
62
|
-
[
|
63
|
-
|
64
|
-
1.9.
|
65
|
-
[
|
66
|
-
|
67
|
-
1.9
|
68
|
-
[
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
1.8.
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
[
|
81
|
-
[
|
82
|
-
[
|
83
|
-
[
|
84
|
-
[
|
85
|
-
[New]
|
86
|
-
|
87
|
-
|
88
|
-
[New]
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
[
|
94
|
-
|
95
|
-
1.6.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
1.6.
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
1.
|
114
|
-
|
115
|
-
|
116
|
-
1.5.
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
[
|
135
|
-
|
136
|
-
|
137
|
-
[
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
[
|
143
|
-
|
144
|
-
|
145
|
-
[New]
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
1.2.
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
-
|
194
|
-
|
195
|
-
|
196
|
-
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
1.1.
|
206
|
-
|
207
|
-
|
208
|
-
1.1.
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
1.0.
|
230
|
-
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
1.0
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
Firefox:
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
-
|
252
|
-
|
253
|
-
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
0.9.
|
259
|
-
[Feature]
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
[
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
[
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
- add
|
276
|
-
-
|
277
|
-
-
|
278
|
-
|
279
|
-
|
280
|
-
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
-
|
285
|
-
|
286
|
-
== 0.9.
|
287
|
-
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
-
|
292
|
-
|
293
|
-
== 0.9.
|
294
|
-
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
- support
|
300
|
-
|
301
|
-
== 0.9 (2008-05-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
end
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
== 0.8.
|
315
|
-
- support
|
316
|
-
|
317
|
-
== 0.8.
|
318
|
-
- support
|
319
|
-
|
320
|
-
== 0.8.
|
321
|
-
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
-
|
335
|
-
|
336
|
-
== 0.8.
|
337
|
-
- fixed
|
338
|
-
|
339
|
-
== 0.8
|
340
|
-
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
-
|
345
|
-
|
346
|
-
-
|
347
|
-
|
348
|
-
|
349
|
-
- Fixes
|
350
|
-
|
351
|
-
== 0.7 (2007-12-
|
352
|
-
-
|
353
|
-
|
354
|
-
== 0.
|
355
|
-
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
-
|
360
|
-
|
361
|
-
-
|
362
|
-
|
363
|
-
|
364
|
-
- support watir
|
365
|
-
|
366
|
-
== 0.
|
367
|
-
-
|
368
|
-
|
369
|
-
== 0.5.
|
370
|
-
- fixed
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
- added
|
375
|
-
|
376
|
-
== 0.5.
|
377
|
-
-
|
378
|
-
|
379
|
-
-
|
380
|
-
-
|
381
|
-
-
|
382
|
-
-
|
383
|
-
-
|
384
|
-
-
|
385
|
-
-
|
386
|
-
-
|
387
|
-
|
388
|
-
|
389
|
-
-
|
390
|
-
|
391
|
-
== 0.
|
392
|
-
|
393
|
-
|
394
|
-
== 0.4.
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
1
|
+
CHANGELOG
|
2
|
+
=========
|
3
|
+
|
4
|
+
4.0
|
5
|
+
- Merge rwebspec-webdriver with rwebspec!
|
6
|
+
|
7
|
+
3.1.4
|
8
|
+
- rename try_until to try_for (previous syntax still works)
|
9
|
+
|
10
|
+
3.1.3
|
11
|
+
- changed rows => trs, cells => tds with Watir 3
|
12
|
+
|
13
|
+
3.1 (may break existing test)
|
14
|
+
- Support RSpec 2
|
15
|
+
|
16
|
+
3.0.1
|
17
|
+
- fixed not loading watir properly - not calling windows_extensions.rb
|
18
|
+
|
19
|
+
WATIR CHANGES
|
20
|
+
[web_browser.rb]
|
21
|
+
- remove waitForIE
|
22
|
+
- select_list(...).set => select_list().select
|
23
|
+
- cell removed.
|
24
|
+
[assert.rb] assert_radio_option_checked (isSet? => set?)
|
25
|
+
|
26
|
+
[TestWise]
|
27
|
+
- can take screenshot, but not shown in report
|
28
|
+
|
29
|
+
2.2.0
|
30
|
+
[Change] Drop support for firewatir
|
31
|
+
[Enhancement] Set limit on message size sent to TestWise IDE
|
32
|
+
|
33
|
+
2.1.3
|
34
|
+
[Fix] Page object to include Utils module
|
35
|
+
|
36
|
+
2.1.2
|
37
|
+
[Change] add @browser instance to page objects
|
38
|
+
|
39
|
+
2.1.1
|
40
|
+
[Change] use Global variable for retry settings (instead of class variables)
|
41
|
+
|
42
|
+
2.1
|
43
|
+
[Change] Move try_until, fail_safe from driver.rb to utils.rb
|
44
|
+
|
45
|
+
2.0.4
|
46
|
+
[Replace] added 'average_of' and 'sum_of' in test_utils to replace Array's overidding, which might not be safe
|
47
|
+
|
48
|
+
2.0.3
|
49
|
+
[Deprecate] try() {} changed to try_until as cucumber use try constant, will remove from RWebSpec 3
|
50
|
+
|
51
|
+
2.0.2
|
52
|
+
[Fixes] select_file_upload
|
53
|
+
|
54
|
+
2.0.1
|
55
|
+
[Fixes] loading watir gem on non-windows platform
|
56
|
+
2.0
|
57
|
+
[Update] Deprecate support for FireWatir, speed up loading
|
58
|
+
[Update] Drop constant naming RWebUnit
|
59
|
+
[Refactoring] internal folder structure like extensions and plugins
|
60
|
+
|
61
|
+
1.9.3
|
62
|
+
[Enhacement] take_screenshot with to_dir arguments
|
63
|
+
|
64
|
+
1.9.2
|
65
|
+
[Update] TestWise 2 Constants
|
66
|
+
|
67
|
+
1.9.1
|
68
|
+
[Fix] test_utils sentences and paragraphs
|
69
|
+
|
70
|
+
1.9
|
71
|
+
[Upgrade] support Watir 2 syntax
|
72
|
+
[Update] alias tr row
|
73
|
+
[Update] alias a link
|
74
|
+
|
75
|
+
|
76
|
+
1.8.2
|
77
|
+
Add javascript_dialog in driver to support Watir 1.9
|
78
|
+
|
79
|
+
1.8.1
|
80
|
+
[Upgrade] new take screenshot library
|
81
|
+
[Fix] only take screenshot on failed assertions if $task_screenshot is set
|
82
|
+
[Enhancement] add close_all for firefox browser (pass by argument)
|
83
|
+
[Enhancement] refactored driver.close_all_browsers
|
84
|
+
[New] background_visit now works new http-client version
|
85
|
+
[New] element_by_id() for firefox
|
86
|
+
[New] web_page.url
|
87
|
+
[Fix] More correctly detect platform: mswin or mingw
|
88
|
+
[New] add Array.sum methods
|
89
|
+
|
90
|
+
1.7.1
|
91
|
+
[New] New version scheme, matching Watir versioning, appending minor number
|
92
|
+
[New] background_visit method, visit url in background, useful for function such as reset database
|
93
|
+
[Fix] in latest Watir, no all operations return true any more, refactor try{ }
|
94
|
+
|
95
|
+
1.6.5
|
96
|
+
[Fixes] load Firewatir first, in case new version of ActiveSupport is loaded first
|
97
|
+
|
98
|
+
1.6.4
|
99
|
+
added WebBrwoser.modal_dialog
|
100
|
+
added many watir ie methods such as :elements, :divs....
|
101
|
+
|
102
|
+
1.6.3
|
103
|
+
Add base_authentication for Celerity
|
104
|
+
should contains only return maximum 256 characters in error stack trace, for full using should include
|
105
|
+
|
106
|
+
1.6.2
|
107
|
+
add helper method: basic_authentication for IE and Firefox
|
108
|
+
|
109
|
+
1.6.1 (2010-07-08)
|
110
|
+
Update load test installer
|
111
|
+
Extend Watir to support calling JScript/VBscript in IE
|
112
|
+
|
113
|
+
1.6 (2010-04)
|
114
|
+
Include ScreenCapture
|
115
|
+
|
116
|
+
1.5.4
|
117
|
+
Add syntax click_link("Duplicate Link", :index => 2) # second link
|
118
|
+
|
119
|
+
1.5.3 (2010-01-06)
|
120
|
+
rename itest_plugin -> testwise_plugin
|
121
|
+
remove dependency on test-unit
|
122
|
+
|
123
|
+
1.5.2
|
124
|
+
add contains matcher to driver and page
|
125
|
+
in page, page_text renamed to page_specific_text
|
126
|
+
more unit tests
|
127
|
+
|
128
|
+
1.5.1
|
129
|
+
[Load Test helper
|
130
|
+
assert_text_present changed to check text view of web pages
|
131
|
+
detect ILOAD2 environment to determine to preview load test or not
|
132
|
+
|
133
|
+
1.5
|
134
|
+
[New] Supports Watir 1.6.5
|
135
|
+
[Fixes] Array@sum conflicts with ActiveSupport
|
136
|
+
[New] New database_checker
|
137
|
+
[Other] load_table define class under ITEST::Module
|
138
|
+
|
139
|
+
1.4.2
|
140
|
+
[New] average, sum for array objects, such as [1,2,3,4].average
|
141
|
+
[New] support date format with today(:us), yesterday("%d/%m/%Y")
|
142
|
+
[TODO] click security alerts
|
143
|
+
|
144
|
+
1.4.1
|
145
|
+
[New] Added LoadTestHelper
|
146
|
+
[New] add expect_page to web_browser
|
147
|
+
[Fix] nil error in random_str (test_utils.rb)
|
148
|
+
[New] Add alias methods for select_list (alias)
|
149
|
+
|
150
|
+
1.4.0.2
|
151
|
+
Fixed: reuse browser does not work
|
152
|
+
Add gem dependency (Watir/Firewatir) depends on platforms
|
153
|
+
Patch Unicode by default
|
154
|
+
More rdoc update
|
155
|
+
|
156
|
+
1.4.0
|
157
|
+
Renamed to rwebspec
|
158
|
+
1.9 compliance
|
159
|
+
TODO: support JRuby to run against Firefox and Celerity
|
160
|
+
|
161
|
+
1.3.1
|
162
|
+
[Enhancement] better absolutize the hyperlinks in dumped page source
|
163
|
+
[Fixes] logic in allowing method
|
164
|
+
|
165
|
+
1.3
|
166
|
+
add new syntax for including pages
|
167
|
+
extend RWebSpec::UsingPages
|
168
|
+
pages :login_page, :receipt_page, :page_dir => 'c:/temp'
|
169
|
+
|
170
|
+
1.2.4
|
171
|
+
Generate new rdoc
|
172
|
+
|
173
|
+
1.2.3
|
174
|
+
New - support_unicode
|
175
|
+
More alias assert_select_label_not_present assert_option_not_present
|
176
|
+
New - click_button_with_name
|
177
|
+
|
178
|
+
1.2.2
|
179
|
+
|
180
|
+
save_current_page save to ITEST2
|
181
|
+
|
182
|
+
1.2.1 (2009-04-02)
|
183
|
+
|
184
|
+
Fixes - base_url is file://
|
185
|
+
New - set_hidden_field
|
186
|
+
New - allowing
|
187
|
+
New - try { } handles boolean values as well
|
188
|
+
Doc update
|
189
|
+
|
190
|
+
1.2
|
191
|
+
REVISIT all APIs
|
192
|
+
- assertions
|
193
|
+
- assert_not (new)
|
194
|
+
- assert_text_field_value (new)
|
195
|
+
- assert_text_present_in_table (renamed)
|
196
|
+
- assert_element_present (removed, use assert div(:id, "").exists?)
|
197
|
+
- driver.rb
|
198
|
+
- wait_until (new)
|
199
|
+
- repeat_try_util (new)
|
200
|
+
- try (add more clear messages when block failed)
|
201
|
+
- add unit tests
|
202
|
+
- run unit test against the test page in Firefox Browser
|
203
|
+
- major documentation update
|
204
|
+
|
205
|
+
1.1.3
|
206
|
+
add open_existing_browser
|
207
|
+
|
208
|
+
1.1.2 (2009-03-13)
|
209
|
+
added goto_url
|
210
|
+
|
211
|
+
1.1.1
|
212
|
+
add open_browser.rb, check for firefox with jssh is running
|
213
|
+
added assert_exists, assert_not_exists
|
214
|
+
|
215
|
+
1.1
|
216
|
+
|
217
|
+
Changed dependency (Assertions) for test-unit 2.0.2, ruby 1.9.1 ready
|
218
|
+
Extract popup.rb out
|
219
|
+
Added repeat_try in driver.rb
|
220
|
+
remove should_not_allow, should_allow. Important!!! don't define methods start with should_not_, should_
|
221
|
+
|
222
|
+
1.0.4
|
223
|
+
Added: WebBrowser.html WebBrowser.text
|
224
|
+
Added: random method in test_utils
|
225
|
+
Enhancement: close_browser works even no browser started in the test
|
226
|
+
move open_browser to driver.rb
|
227
|
+
fixed include rwebspec causing stack too deep error
|
228
|
+
|
229
|
+
1.0.3
|
230
|
+
- New set of samples (real life tests)
|
231
|
+
|
232
|
+
1.0.2
|
233
|
+
- add more unit tests
|
234
|
+
Fixes cell_with_id
|
235
|
+
|
236
|
+
1.0.1
|
237
|
+
[Enhancement] Normalize windows file path before setting upload
|
238
|
+
|
239
|
+
1.0 (2008-11-25)
|
240
|
+
|
241
|
+
TODO:
|
242
|
+
Firefox: check the element is hidden or showing,
|
243
|
+
Checkfor driver.rb: ajax_call_complete_after_element_hidden
|
244
|
+
does not support outerHtml yet
|
245
|
+
Firefox: attach browser,
|
246
|
+
Unfortundately, Firewatir does not support attaching current window
|
247
|
+
Firefox Workaround: element_by_id
|
248
|
+
|
249
|
+
0.10.3
|
250
|
+
- added label_with_id, span_with_id, cell_with_id
|
251
|
+
- better fixes for enabled_popup
|
252
|
+
|
253
|
+
0.10.1 (2008-11-08)
|
254
|
+
- Upgrade to support Firewatir 1.6.2
|
255
|
+
- Work around Firefox reuse one window browser issue
|
256
|
+
- Exclude watir/contrib/enabled_popup, user can add themselves
|
257
|
+
|
258
|
+
0.9.10 (2008-10-28)
|
259
|
+
[Feature] Better support reuse IE window for testing
|
260
|
+
|
261
|
+
0.9.9.1
|
262
|
+
[Feature] Support pausing in iTest2
|
263
|
+
|
264
|
+
== 0.9.9
|
265
|
+
[Fixes] add "area" method for running tests against Firefox
|
266
|
+
[Enhancement] Pass browser type and base_utl when calling attach_browser
|
267
|
+
|
268
|
+
== 0.9.8
|
269
|
+
[New] 'assert_title' to check page title
|
270
|
+
[Fixes] Not same two same messages to iTest in a row
|
271
|
+
|
272
|
+
== 0.9.7
|
273
|
+
[TODO] support should.contains?(JAMEs)
|
274
|
+
[WORKING] maybe yield to suport
|
275
|
+
- add prepare_to_click_button_in_popup() in driver.rb
|
276
|
+
- refactor web_tester.rb to use dynamicly create test cases
|
277
|
+
- rename web_tester.rb to web_browser.rb
|
278
|
+
- add alias visit (goto_page)
|
279
|
+
- WebBrowser.attach_browser return rWebUnit WebBrowser instance instead of Watir or Firefox
|
280
|
+
- expect_page(Class, argument) added to support one more additional argument
|
281
|
+
|
282
|
+
== 0.9.6
|
283
|
+
- using global variable instead of environment variable passing between rwebspec and iTest
|
284
|
+
- add debug()
|
285
|
+
|
286
|
+
== 0.9.5
|
287
|
+
- Add support for iTest to trace execution
|
288
|
+
|
289
|
+
== 0.9.4 (2008-08-20)
|
290
|
+
- change test_context => context, avoid confusing Ruby test
|
291
|
+
- refactored driver.rb
|
292
|
+
|
293
|
+
== 0.9.3
|
294
|
+
- add method failsafe {}
|
295
|
+
|
296
|
+
== 0.9.2
|
297
|
+
- sleep 0.5 seconds after clicking popup window
|
298
|
+
- save current page
|
299
|
+
- (0.9.1.1) support rspec 1.1.4: at exit hook
|
300
|
+
|
301
|
+
== 0.9.1 (2008-05-26)
|
302
|
+
- support storing page source during execution
|
303
|
+
|
304
|
+
== 0.9 (2008-05-21)
|
305
|
+
- support new syntax
|
306
|
+
spec "" do
|
307
|
+
scenario "1" do
|
308
|
+
end
|
309
|
+
|
310
|
+
story "2" do
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
== 0.8.9
|
315
|
+
- support Watir 1.5.4 zippy mode, set it as default
|
316
|
+
|
317
|
+
== 0.8.8
|
318
|
+
- support iTest hiding browse option
|
319
|
+
|
320
|
+
== 0.8.7
|
321
|
+
- support delay between operations (must be click_... type operation) for iTest2
|
322
|
+
|
323
|
+
== 0.8.6
|
324
|
+
- Add dependency on activesupport 2.0.x, xml_simple to support 1.days.ago
|
325
|
+
- RSpec Helper, overwrite rspec patch
|
326
|
+
|
327
|
+
== 0.8.5
|
328
|
+
- click button with image
|
329
|
+
- better handling new pop up window
|
330
|
+
- fixes links_with_text
|
331
|
+
|
332
|
+
== 0.8.4
|
333
|
+
- better support for iTest
|
334
|
+
- for firefox support, don't do slow typing, just set text in textfield
|
335
|
+
|
336
|
+
== 0.8.2
|
337
|
+
- fixed assert_link_not_present has .Text
|
338
|
+
|
339
|
+
== 0.8.1
|
340
|
+
- fixed attach_browser issue
|
341
|
+
|
342
|
+
== 0.8 (2008-01-18)
|
343
|
+
- change click_link to click_link_with_text, to for id click, use click_link_with_id
|
344
|
+
- change click_button to click_button_with_text, to for id click, use click_button_with_id
|
345
|
+
|
346
|
+
== 0.7.2 (2007-12-31)
|
347
|
+
- Change dependency from Watir => Watir or FireWatir
|
348
|
+
Now can run on Mac or Linux
|
349
|
+
- Fixes: shall_not_allow syntax error
|
350
|
+
|
351
|
+
== 0.7.1 (2007-12-24)
|
352
|
+
- Fixes error when firefox is not available
|
353
|
+
|
354
|
+
== 0.7 (2007-12-18)
|
355
|
+
- support Firefox using FireWatir
|
356
|
+
|
357
|
+
== 0.6.9
|
358
|
+
- add shall_not_allow
|
359
|
+
- more watir wrapper methods
|
360
|
+
|
361
|
+
== 0.6.4 (2007-11-30)
|
362
|
+
- updated rwebspec 0.6.4
|
363
|
+
- support javascript window
|
364
|
+
- support watir td, tr...
|
365
|
+
|
366
|
+
== 0.6.0 (2007-11-18)
|
367
|
+
- support watir convenient methods
|
368
|
+
|
369
|
+
== 0.5.4 (2007-11-12)
|
370
|
+
- fixed element_by_id
|
371
|
+
|
372
|
+
== 0.5.3 (2007-11-07)
|
373
|
+
- fixed ajax_wait_element with web_tester changes
|
374
|
+
- added wait_for_element
|
375
|
+
|
376
|
+
== 0.5.2 (2007-09-27)
|
377
|
+
- added element_text
|
378
|
+
|
379
|
+
== 0.5.1 (2007-09-21)
|
380
|
+
- add wrap of Watir methods, such as buttons, button(...)
|
381
|
+
- expose Watir low level methods to test/spec through Driver.rb
|
382
|
+
- removed old way using array and comparison to access individual control
|
383
|
+
- renamed html_title to page_title
|
384
|
+
- add method contains_text
|
385
|
+
- make faster checkbox operations
|
386
|
+
- make faster radio operations
|
387
|
+
- added radio operation in driver.rb
|
388
|
+
- renamed ajax_wait_for_element
|
389
|
+
- added some comments
|
390
|
+
|
391
|
+
== 0.5.0
|
392
|
+
- Support Watir 1.5.2
|
393
|
+
|
394
|
+
== 0.4.5
|
395
|
+
- support checkboxes with same name
|
396
|
+
|
397
|
+
== 0.4.2
|
398
|
+
|
399
|
+
New Features
|
400
|
+
- Drop support for java syntax methods
|
401
|
+
- remove assert helper methods in web_tester
|
402
|
+
- improve support for RSpecs
|
403
|
+
|
404
|
+
== 0.4.0 (2007-05-29)
|
405
|
+
|
406
|
+
New features
|
407
|
+
- Support RSpec
|
408
|
+
|
409
|
+
== 0.3.1 (2007-04-18)
|
410
|
+
|
411
|
+
Bug fix reelase
|
412
|
+
|
413
|
+
== 0.3.0 (2007-02-16)
|
414
|
+
|
415
|
+
New features
|
416
|
+
- Deprecated Java like method name, use ruby naming convention instead, beginAt => begin_at
|
417
|
+
- More ajax related calls: ajax_wait_for_element_show, ajax_wait_for_element_hide, assert_position_in_list
|
418
|
+
|
419
|
+
== 0.2.0 (2006-11-28)
|
420
|
+
|
421
|
+
New features:
|
422
|
+
- wait_ajax_udpate(elem_id, seconds) - use indicator image id to determine whether the ajax request is completed or not
|
423
|
+
- browser_opened?
|
424
|
+
|
425
|
+
A number of general fixes and code improvements.
|
426
|
+
|
427
|
+
== 0.1.1
|
428
|
+
|
429
|
+
New jWebUnit API methods implemented:
|
430
|
+
assertOptionEquals(selectName, optionLabel)
|
431
|
+
assertOptionValueEquals(selectName, optionValue)
|
432
|
+
assertCheckboxNotSelected(checkBoxName)
|
433
|
+
assertCheckboxSelected(checkBoxName)
|
434
|
+
assertLinkPresentWithExactText(linkText)
|
435
|
+
assertLinkNotPresentWithExactText(linkText)
|
436
|
+
assertRadioOptionNotPresent(radioGroup, radioOption)
|
437
|
+
assertRadioOptionPresent(radioGroup, radioOption)
|
438
|
+
assertRadioOptionSelected(radioGroup, radioOption)
|
439
|
+
assertRadioOptionNotSelected(radioGroup, radioOption)
|
440
|
+
assertTextInTable(tableId, text)
|
441
|
+
assertTextNotInTable(tableId, text)
|
442
|
+
|
443
|
+
API methods modified:
|
444
|
+
assertLinkPresentWithText(linkText):
|
445
|
+
assertLinkNotPresentWithText(linkText):
|
446
|
+
|
447
|
+
New rWebUnit API :
|
448
|
+
clickRadioOption(radioGroup, radioOption): this method is protected in jWebUnit
|
449
|
+
|
450
|
+
== 0.1.0
|
451
|
+
|
452
|
+
* Initial release.
|
453
|
+
* Most common web actions and assertions implemented.
|