Has anyone discovered a solution to the following?

 

I built a test tool with Ruby/Watir (1.4). When I upgraded to Watir 1.5.1.1081 so that I could control modal dialog windows, suddenly the watir attach_browser_window call is unable to locate the main IE window by title. I tried other title names with no success. I am using Ruby 1.8.2.15, IE 6.0.3790.1830, Windows 2003 SP1. The results of running the Watir unit tests indicate 19 failures, but none related to window attaches:

 

  1) Failure: test_Button_click_only(TC_Buttons) [unittests/../unittests/../unittests/buttons_test.rb:91]: <false> is not true.

 

  2) Failure: test_button_click(TC_Buttons) [unittests/../unittests/../unittests/buttons_test.rb:101]: <false> is not true.

 

  3) Failure: test_button_using_default(TC_Buttons) [unittests/../unittests/../unittests/buttons_test.rb:86]: <false> is not true.

 

  4) Failure: test_SuccessMessage(TC_CSS) [unittests/../unittests/../unittests/css_test.rb:53]: <false> is not true.

 

  5) Failure: test_onClick(TC_CheckBox) [unittests/../unittests/../unittests/checkbox_test.rb:43]: <false> is not true.

 

  6) Failure: test_divs(TC_Divs) [unittests/../unittests/../unittests/div_test.rb:20]: <false> is not true.

 

  7) Failure: test_objects_in_div(TC_Divs) [unittests/../unittests/../unittests/div_test.rb:74]:<"button1"> expected but was <"">.

 

  8) Failure: test_objects_in_span(TC_Divs) [unittests/../unittests/../unittests/div_test.rb:140]: <"button1"> expected but was <"">.

 

  9) Failure: test_spans(TC_Divs) [unittests/../unittests/../unittests/div_test.rb:86]: <false> is not true.

 

 10) Failure: test_JS_Events(TC_Fields) [unittests/../unittests/../unittests/textfields_test.rb:150]: <"keypresskeydownkeypresskeyup"> expected but was <"">.

 

 11) Failure: test_hidden(TC_Hidden_Fields) [unittests/../unittests/../unittests/form_test.rb:239]: <"44"> expected but was<"">.

 

 12) Failure: test_Iframe(TC_IFrames) [unittests/../unittests/../unittests/frame_test.rb:101]: <false> is not true.

 

 13) Failure: test_frame(TC_NestedFrames) [unittests/../unittests/../unittests/frame_test.rb:86]: <false> is not true.

 

 14) Failure: test_onClick(TC_Radios) [unittests/../unittests/../unittests/radios_test.rb:53]: <false> is not true.

 

 15) Failure: test_selectBox_select2(TC_Selectbox) [unittests/../unittests/../unittests/select box_test.rb:139]: <false> is not true.

 

 16) Failure: test_select_list_select_using_value2(TC_Selectbox) [unittests/../unittests/../unittests/selectbox_test.rb:171]: <false> is not true.

 

 17) Failure: test_dynamic_tables(TC_Tables) [unittests/../unittests/../unittests/table_test.rb:59]: <6> expected but was <5>.

 

 18) Failure: test_simple_table_buttons(TC_Tables_Buttons) [unittests/../unittests/../unittests/table_test.rb:208]: <false> is not true.

 

 19) Failure: test_table_from_element(TC_Tables_Buttons) [unittests/../unittests/../unittests/table_test.rb:279]: <false> is not true.

 

180 tests, 965 assertions, 19 failures, 0 errors

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to