[Wtr-general] Problem with Autoit?
Charley Baker
charley.baker at gmail.com
Tue Dec 26 13:26:17 EST 2006
You might need to register the dll. Open a command prompt where
AutoItX3.dllis installed. From the gem install you'll need to go to
{ruby_install}\lib\ruby\gems\1.8\gems\watir-1.5.1.1135\watir where you'll
find the dll and then run regsvr32 AutoIt3X.dll
-Charley
On 12/22/06, Galina Maralina <gmaralina at beingpresent.org> wrote:
>
> Hello,
>
>
>
> I installed water 1.5.1.1135 and can not close alert windows any more...
> something is not working with Autoit, it worked before with version 1.4.,
> code is the same:
>
>
>
> * Thread.new { system("rubyw myClicker.rb") }*
>
> * $ie.image(:name, "Delete").click*
>
> * *
>
> This is the error:
>
>
>
> *c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1135/./watir/WindowHelper.rb:5:in
> `initialize': failed to create WIN32OLE object from `AutoItX3.Control'
> (WIN32OLERuntimeError)*
>
> * HRESULT error code:0x8007007e*
>
> * The specified module could not be found. from
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1135/./watir/WindowHelper.rb:5:in
> `new'*
>
> * from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1135/./watir/WindowHelper.rb:5:in
> `initialize'*
>
> * from myClicker.rb:6:in `new'*
>
> * from myClicker.rb:6*
>
> * *
>
> How can I make it work again?
>
>
>
> Galina.
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061226/0db954e6/attachment-0001.html
More information about the Wtr-general
mailing list