Saturday, February 7, 2009

Setting Ruby/Watir Environment - Chapter 6

Here is the output from Watir Unit Test Run 1 for core_tests.rb

Loaded suite core_tests
Started
..........................................F.............EEEEEEE...............EEEEEEEEEEEEEEEEEEEEEE.................................................................................................................EE........................................EEEEE........F....................
Finished in 153.451 seconds.

1) Failure:
test_CheckBox_Exists(TC_CheckBox) [C:/cygwin/home/jasnow/WATIR/trunk/watir/unittests/checkbox_test.rb:64]:
is not true.

2) Error:
test_attribute_class_name(TC_Dd):
NoMethodError: undefined method `dd' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:24:in `test_attribute_class_name'

3) Error:
test_attribute_id(TC_Dd):
NoMethodError: undefined method `dd' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:32:in `test_attribute_id'

4) Error:
test_attribute_text(TC_Dd):
NoMethodError: undefined method `dd' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:48:in `test_attribute_text'

5) Error:
test_attribute_title(TC_Dd):
NoMethodError: undefined method `dd' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:40:in `test_attribute_title'

6) Error:
test_dd_iterator(TC_Dd):
NoMethodError: undefined method `dds' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:56:in `test_dd_iterator'

7) Error:
test_does_not_exist(TC_Dd):
NoMethodError: undefined method `dd' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:20:in `test_does_not_exist'

8) Error:
test_exists(TC_Dd):
NoMethodError: undefined method `dd' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dd_test.rb:13:in `test_exists'

9) Error:
test_attribute_class_name(TC_Dl):
NoMethodError: undefined method `dl' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:25:in `test_attribute_class_name'

10) Error:
test_attribute_id(TC_Dl):
NoMethodError: undefined method `dl' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:33:in `test_attribute_id'

11) Error:
test_attribute_text(TC_Dl):
NoMethodError: undefined method `dl' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:49:in `test_attribute_text'

12) Error:
test_attribute_title(TC_Dl):
NoMethodError: undefined method `dl' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:41:in `test_attribute_title'

13) Error:
test_dls_iterator(TC_Dl):
NoMethodError: undefined method `dls' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:57:in `test_dls_iterator'

14) Error:
test_does_not_exist(TC_Dl):
NoMethodError: undefined method `dl' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:21:in `test_does_not_exist'

15) Error:
test_exists(TC_Dl):
NoMethodError: undefined method `dl' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dl_test.rb:14:in `test_exists'

16) Error:
test_attribute_class_name(TC_Dt):
NoMethodError: undefined method `dt' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:25:in `test_attribute_class_name'

17) Error:
test_attribute_id(TC_Dt):
NoMethodError: undefined method `dt' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:33:in `test_attribute_id'

18) Error:
test_attribute_text(TC_Dt):
NoMethodError: undefined method `dt' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:49:in `test_attribute_text'

19) Error:
test_attribute_title(TC_Dt):
NoMethodError: undefined method `dt' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:41:in `test_attribute_title'

20) Error:
test_does_not_exist(TC_Dt):
NoMethodError: undefined method `dt' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:21:in `test_does_not_exist'

21) Error:
test_dts_iterator(TC_Dt):
NoMethodError: undefined method `dts' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:57:in `test_dts_iterator'

22) Error:
test_exists(TC_Dt):
NoMethodError: undefined method `dt' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/dt_test.rb:14:in `test_exists'

23) Error:
test_existing_window(TC_ExistingWindow):
TypeError: Symbol as array index
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `[]'
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `setup'

24) Error:
test_existing_window(TC_ExistingWindow):
NoMethodError: undefined method `set_options' for Watir::Browser:Module
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:18:in `teardown'

25) Error:
test_missing_window(TC_ExistingWindow):
TypeError: Symbol as array index
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `[]'
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `setup'

26) Error:
test_missing_window(TC_ExistingWindow):
NoMethodError: undefined method `set_options' for Watir::Browser:Module
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:18:in `teardown'

27) Error:
test_title_and_url_are_correct_after_reload(TC_ExistingWindow):
TypeError: Symbol as array index
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `[]'
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `setup'

28) Error:
test_title_and_url_are_correct_after_reload(TC_ExistingWindow):
NoMethodError: undefined method `set_options' for Watir::Browser:Module
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:18:in `teardown'

29) Error:
test_working_back_and_forth(TC_ExistingWindow):
TypeError: Symbol as array index
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `[]'
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:12:in `setup'

30) Error:
test_working_back_and_forth(TC_ExistingWindow):
NoMethodError: undefined method `set_options' for Watir::Browser:Module
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/attach_to_existing_window_test.rb:18:in `teardown'

31) Error:
test_exists(TC_Strong):
NoMethodError: undefined method `strong' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/strong_test.rb:13:in `test_exists'

32) Error:
test_strong_iterator(TC_Strong):
NoMethodError: undefined method `strongs' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/strong_test.rb:21:in `test_strong_iterator'

33) Error:
test_hidden_element(TC_Visibility):
NoMethodError: undefined method `visible?' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/visibility_test.rb:45:in `test_hidden_element'

34) Error:
test_initial_divs(TC_Visibility):
NoMethodError: undefined method `visible?' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/visibility_test.rb:15:in `test_initial_divs'

35) Error:
test_initial_text_fields(TC_Visibility):
NoMethodError: undefined method `visible?' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/visibility_test.rb:23:in `test_initial_text_fields'

36) Error:
test_make_display_third_div(TC_Visibility):
NoMethodError: undefined method `visible?' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/visibility_test.rb:40:in `test_make_display_third_div'

37) Error:
test_make_visible_second_div(TC_Visibility):
NoMethodError: undefined method `visible?' for #
C:/cygwin/home/jasnow/WATIR/trunk/commonwatir/unittests/visibility_test.rb:32:in `test_make_visible_second_div'

38) Failure:
test_class_defaults(TC_class_options) [C:/cygwin/home/jasnow/WATIR/trunk/watir/unittests/speed_settings_test.rb:37]:
<{:speed=>:fast, :attach_timeout=>22.0, :visible=>true}> expected but was
<{:speed=>:fast, :visible=>true}>.

285 tests, 1189 assertions, 2 failures, 36 errors

No comments:

Post a Comment