skip to main |
skip to sidebar
Setting Ruby/Watir Environment - Chapter 11
Summary of Unit Test Run Results (FAQ)- (A) Modal Dialog issues -"only supported in older version"
- (B) Tagged Tests - no documentation on how to tag tests.
- (C) Registering AutoItX3 issues
- (D) Unit Tests must come from SVN, not gem - edited watir wiki/DONE
- (E) Attach (Part of IV) ("windows" tests)
- (F) Actual Context security setting
- (G) Pop-up Blocker must be turned off -Pop Up Wiki Page
- (H) Add "watir/ie" to top level "rb" script file.
- (I) Open new Windows setting (not tabs)
- (J) Only run Unit Tests as administrator.
- (K) Correctly set environment variables, such as RUBYLIB, PATH, RUBYOPTS, GEM_HOME, and LOAD_PATH. -- Still not sure about this.
Bad tests (after removed "other" and "windows" tests)- test_tests.rb -- see (V) above.
- checkbox_test.rb - try G (turn off popup blocker)
- ==== checkbox_test.rb ====================
Loaded suite ./checkbox_test
Started
F.............
Finished in 10.816 seconds.
1) Failure:
test_CheckBox_Exists(TC_CheckBox) [./checkbox_test.rb:64]:
is not true.
14 tests, 108 assertions, 1 failures, 0 errors
- images_test.rb - C (AutoItX3) - It saves triangle.jpg in Pictures directory.
- ==== images_test.rb ====================
Loaded suite ./images_test
Started
.....E
Finished in 8.644 seconds.
1) Error:
test_save_local_image(TC_Images):
Errno::ENOENT: No such file or directory - C:/cygwin/home/jasnow/WATIR/trunk/watir/unittests/sample.img.dat
c:/deepdive/InstantRails-2.0-win/ruby/lib/ruby/1.8/ftools.rb:133:in `stat'
c:/deepdive/InstantRails-2.0-win/ruby/lib/ruby/1.8/ftools.rb:133:in `compare'
./images_test.rb:142:in `test_save_local_image'
6 tests, 90 assertions, 0 failures, 1 errors
- speed_settings_test.rb - had reference to attach_timeout, so maybe should be moved to "other"
- ==== speed_settings_test.rb ====================
Loaded suite ./speed_settings_test
Started
.F..
Finished in 5.345 seconds.
1) Failure:
test_class_defaults(TC_class_options) [./speed_settings_test.rb:38]:
<{:visible=>true, :attach_timeout=>22.0, :speed=>:fast}> expected but was
<{:visible=>true, :speed=>:fast}>.
4 tests, 13 assertions, 1 failures, 0 errors
- popups_test.rb - A (model dialog) - tagged as unreliable
- ==== popups_test.rb ====================
Loaded suite ./popups_test
Started
Starting start rubyw C:\cygdrive\c\deepdive\INSTAN~1.0-W\ruby\gems\WATIR-~1.2\lib\watir\watir\clickJSDialog.rb OK 0.5
Starting start rubyw C:\cygdrive\c\deepdive\INSTAN~1.0-W\ruby\gems\WATIR-~1.2\lib\watir\watir\clickJSDialog.rb Cancel 0.5
FStarting start rubyw C:\cygdrive\c\deepdive\INSTAN~1.0-W\ruby\gems\WATIR-~1.2\lib\watir\watir\clickJSDialog.rb OK 0.5
.
Finished in 9.156 seconds.
1) Failure:
test_confirm(TC_PopUps) [./popups_test.rb:35]:
is not true.
2 tests, 2 assertions, 1 failures, 0 errors
- dialog_test.rb - C (AutoItX3)
- ==== dialog_test.rb ====================
Loaded suite ./dialog_test
Started
EEF...
Finished in 17.148 seconds.
1) Error:
test_alert_without_bonus_script(TC_Dialog_Test):
Watir::Exception::UnknownObjectException:
C:/cygwin/home/jasnow/WATIR/trunk/watir/lib/watir/dialog.rb:38:in `click'
./dialog_test.rb:26:in `test_alert_without_bonus_script'
2) Error:
test_button_name_not_found(TC_Dialog_Test):
Watir::Exception::UnknownObjectException:
C:/cygwin/home/jasnow/WATIR/trunk/watir/lib/watir/dialog.rb:38:in `click'
./dialog_test.rb:34:in `test_button_name_not_found'
3) Failure:
test_confirm_ok(TC_Dialog_Test) [./dialog_test.rb:61]:
is not true.
6 tests, 4 assertions, 1 failures, 2 errors
- minmax_test.rb - C (AutoItX3) -- Fixed/Clean/DONE
- filefield_xpath_test.rb - C (AutoItX3) -- Fixed/Clean/DONE
- filefield_test.rb - C (AutoItX3) -- Fixed/Clean/DONE
- xpath_tests.rb -- "these should pass" -- Clean/DONE
No comments:
Post a Comment