I have installed 1.4 and ran unit tests.

After core_tests.rb i get

  1) Failure:
test_http_errors(TC_Navigate)
[unittests/../unittests/../unittests/navigate_test.rb:51]:
<Watir::Exception::NavigationException> exception expected but none was
thrown.

  2) Failure:
test_button_frames(TC_show_frames)
    [unittests/../unittests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     unittests/../unittests/../unittests/frame_test.rb:125:in
`test_button_frames']:
<"there are 2 frames\nframe  index: 0 name: buttonFrame\nframe  index: 1
name: buttonFrame2\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: buttonFrame\nframe  index: 2
name: buttonFrame2\n">.

  3) Failure:
test_iframes(TC_show_frames)
    [unittests/../unittests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     unittests/../unittests/../unittests/frame_test.rb:133:in
`test_iframes']:
<"there are 2 frames\nframe  index: 0 name: senderFrame\nframe  index: 1
name: receiverFrame\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: senderFrame\nframe  index: 2
name: receiverFrame\n">.

  4) Failure:
test_show_nested_frames(TC_show_frames)
    [unittests/../unittests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     unittests/../unittests/../unittests/frame_test.rb:117:in
`test_show_nested_frames']:
<"there are 2 frames\nframe  index: 0 name: nestedFrame\nframe  index: 1
name: nestedFrame2\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: nestedFrame\nframe  index: 2
name: nestedFrame2\n">.

157 tests, 950 assertions, 4 failures, 0 errors

After all_tests.rb (and one paint window stays open - with pop up with
message C:\watir_bonus.bmp already exists. Do you want to replace it?):

  1) Failure:
test_bmp(TC_Capture)
[C:/watir_bonus/unitTests/../unittests/screen_capture_test.rb:50]:
<false> is not true.

  2) Error:
test_image_click(TC_Images):
Watir::Exception::UnknownObjectException: Unable to locate object, using
name and disabler_test
    C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:in `assert_exists'
    (eval):2:in `disabled'
    C:/watir_bonus/unitTests/../unittests/images_test.rb:56:in
`test_image_click'

  3) Failure:
test_http_errors(TC_Navigate)
[C:/watir_bonus/unitTests/../unittests/navigate_test.rb:51]:
<Watir::Exception::NavigationException> exception expected but none was
thrown.

  4) Failure:
test_button_frames(TC_show_frames)
    [C:/watir_bonus/unitTests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     C:/watir_bonus/unitTests/../unittests/frame_test.rb:125:in
`test_button_frames']:
<"there are 2 frames\nframe  index: 0 name: buttonFrame\nframe  index: 1
name: buttonFrame2\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: buttonFrame\nframe  index: 2
name: buttonFrame2\n">.

  5) Failure:
test_iframes(TC_show_frames)
    [C:/watir_bonus/unitTests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     C:/watir_bonus/unitTests/../unittests/frame_test.rb:133:in
`test_iframes']:
<"there are 2 frames\nframe  index: 0 name: senderFrame\nframe  index: 1
name: receiverFrame\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: senderFrame\nframe  index: 2
name: receiverFrame\n">.

  6) Failure:
test_show_nested_frames(TC_show_frames)
    [C:/watir_bonus/unitTests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     C:/watir_bonus/unitTests/../unittests/frame_test.rb:117:in
`test_show_nested_frames']:
<"there are 2 frames\nframe  index: 0 name: nestedFrame\nframe  index: 1
name: nestedFrame2\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: nestedFrame\nframe  index: 2
name: nestedFrame2\n">.

182 tests, 1059 assertions, 5 failures, 1 errors

I just ran some of my scripts and they work fine.

Zeljko

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Thursday, August 04, 2005 8:34 AM
To: [email protected]
Subject: [Wtr-general] Watir 1.4 is released

The Web Testing in Ruby group is pleased to announce the release of Watir 
1.4. Watir is a Ruby Library for automating web applications using the 
Internet Explorer browser.

http://rubyforge.org/frs/?group_id=104&release_id=2579

This release contains many bug fixes and new features.

- fix method name for accessing class name of P/Span/Div (change from style 
to class_name)
- fix for bug 2152 (frame index in show_frames off by 1)
- added alt as a property to image
- added file_fields
- fixed TextArea#to_s
- moved reset button to buttons class
- add IE#send_keys
- frames can now be referenced using regexps and ids
- added IE#minimize, IE#maximize, IE#restore
- onChange and onBlur events now triggered by TextField#set
- added default option to set for checkbox
- added colspan method to tablecell
- fix for bug reported by Scott P, wrong objects are sometimes found
- fixed bug with radio/checkboxes doing multiple fireevents
- fix for table, id and reg exp
- wait for page load before returning from IE.attach
- update to select_list -- new interface still in progress
- added .show method to iterators
- fix for flashing objects in table cells
- added flash for forms
- flash returns nil instead of the curious '10'
- removed ScreenCapture module from IE class

_____________________
  Bret Pettichord
  www.pettichord.com

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

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

Reply via email to