Hi,
I know this question has been asked before, but I didn't see a
resolution in the list archives...

I have just installed Watir onto two different machines.  On one,
everything works fine (and Watir's tests all pass).  But on the other
I have a problem.  Firstly, the Watir gem's tests don't pass:

ERROR:  154 tests, 147 assertions, 40 failures, 84 errors

(although there's no detail as to what assertions failed etc).  Then
there's a problem when I run Watir itself.  Here's an irb session to
illustrate:

C:\...> irb
irb(main):001:0> require 'watir'
=> true
irb(main):002:0> ie = Watir::IE.new
=> #<Watir::IE:0x2ddb68c ...>
irb(main):003:0> ie.goto 'http://google.com'
=> 1.312
irb(main):004:0> ie.show_all_objects
-----------Objects in  page -------------
RuntimeError: failed to get IEnum Interface
    HRESULT error code:0x80004002
      No such interface supported
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1586:in
`each'
        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./watir.rb:1586:in
`show_all_objects'
        from (irb):4

(The choice of URL in the goto() is irrelevant, btw.)  Can anyone
suggest what's wrong?
Many thanks,
     Kevin
-- 
http://silkandspinach.net
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to