I run Brad's code with no problem (thanks for the example!).

Googling, I find that "IEnum interface" is an error coming from Ruby's
WIN32OLE library.  The root cause seems to be some kind of error in
the interface between Ruby and Windows on the particular machine.

One very suggestive issue is that Kevin Rutherford's error said
"failed" and not "Failed", and this site
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/3213
suggests that Rutherford has a Ruby WIN32OLE library from 2004 or
earlier.

Based on what we've learned so far, I'll suggest that either the Ruby
installation is flawed, or Windows itself on these particular machines
has a flawed OLE of some sort.

Without more information, my best suggestion is to uninstall and
reinstall Ruby, then re-install Watir on top of the new Ruby.   Make
sure you're using the Ruby one-click installer.

On 3/26/07, Brad <[EMAIL PROTECTED]> wrote:
> I'm seeing the same error on my environment.  Here is the same code along 
> with the error.
>
> Code:
>
> require 'rubygems'
> require 'watir'
> include Watir
> #require 'watir_ext' # extension to watir for 'visible?'
> #include Watir
> require 'test/unit'
> require 'csv'
>
>
> puts Watir::IE::VERSION  # check for WATIR version
>
> class TC_recorded < Test::Unit::TestCase
> def test_recorded
>         ie = IE.new
>         ie.goto('http://wtr.rubyforge.org/watir_user_guide.html')
>         ie.button(:name, 'clickme').click
>         ie.goto('http://wtr.rubyforge.org/watir_user_guide.html')
>         ie.text_field(:name, 'typeinme').set('Watir World')
>         end
> end
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to