Zeljko,
I just ran through the same steps you list below and didn't have a
problem. The use of autoit for controlling the window state of ie
hasn't changed for quite some time and should be installed as part of
your install. Is it working with previous gems on the same machine?
-Charley
On 11/22/06, Željko Filipin <[EMAIL PROTECTED]> wrote:
> I have just installed watir-1.5.1.1127.gem and it crashes when I use
> ie.minimize. I do not have autoit installed. Does watir require it now?
> Should I log this to jira?
>
> Steps to reproduce:
>
> C:\Documents and Settings\limited>ruby -v
> ruby 1.8.5 (2006-08-25) [i386-mswin32]
> C:\Documents and Settings\limited>irb
> irb(main):001:0> require 'watir'
> => true
> irb(main):002:0> Watir::IE::VERSION
> => "1.5.1.1127"
> irb(main):003:0> ie = Watir::IE.start("http://www.google.com/")
> => #<Watir::IE:0x2e23130 ...>
> irb(main):004:0> ie.minimize
> WIN32OLERuntimeError: Failed to create WIN32OLE object from
> `AutoItX3.Control'
> HRESULT error code:0x8007007e
> The specified module could not be found.
> from C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1127/./watir.rb:4356:in `initialize'
> from
> C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:4356:in
> `new'
> from
> C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:4356:in
> `autoit'
> from
> C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1644:in
> `autoit'
> from
> C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1641:in
> `set_window_state'
> from C:/ruby/lib/ruby/gems/1.8/gems/watir-
> 1.5.1.1127/./watir.rb:1622:in `minimize'
> from (irb):4
>
>
> Zeljko
> --
> zeljkofilipin.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