|
I found what is causing the problem. In
setup.rb if you comment out the top line (#END {$ie.close if $ie;
Watir::IE.quit} # close ie at completion of the tests) All of the “The object invoked has
disconnected from its clients” messages disappear. -Linda From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Linda Derezinski Brett, Thanks for uploading the new version but
I’m still seeing the same behavior. xpath_tests.rb fails and
individual tests work fine. I did a fresh install of ruby182-15.exe then
gem install watir-1.5.0.945.gem. Here is the first Error there are a total
of 87 errors C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.0.945\unittests>xpath_tests.rb Loaded suite
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/xpath_tests Started EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE. Finished in 0.05 seconds. 1) Error: test_Button_Enabled(TC_Buttons_XPath): WIN32OLERuntimeError: Unknown property or
method `navigate' HRESULT error
code:0x80010108 The object
invoked has disconnected from its clients.
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/../watir.rb:1343:in
`method_missing'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/../watir.rb:1343:in
`goto'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/../unittests/buttons_xpath_test.rb:11:in
`setup' This works: C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.0.945\unittests>buttons_xpath_test.rb Loaded suite
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/buttons_xpath_test Started F..... Finished in 3.195 seconds. 1) Failure: test_Button_Enabled(TC_Buttons_XPath)
[C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/../watir/testUnitAddons.rb:5:in
`assert_false'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/../watir/testUnitAddons.rb:3:in
`_wrap_assertion'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/../watir/testUnitAddons.rb:3:in
`assert_false'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/unittests/buttons_xpath_test.rb:62:in
`test_Button_Enabled']: <true> is not false. 6 tests, 24 assertions, 1 failures, 0
errors Here is my version information for ruby
and watir ruby -e 'require "watir"; puts
Watir::IE::VERSION' 1.5.0.945 ruby --version ruby 1.8.2 (2004-12-25) [i386-mswin32] Thanks, Linda From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Linda, |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
