You need to register the autoitx3.

You can search the previous posts.




----- Original Message ----
From: IDIEININIIS <ideler.den...@gmail.com>
To: Watir General <watir-general@googlegroups.com>
Sent: Tuesday, March 24, 2009 10:19:04 AM
Subject: [wtr-general] Re: Maximizng the Browser


I am having the exact same error as Shweta.
I haven't used any global variables, I only have local variables.

On Mar 20, 4:25 am, Shweta <nagman...@gmail.com> wrote:
> When i am trying to maximize the ie with the folllowing code am
> getting this error message can anyone pls guide me where am doing
> mistake
>
> ie = Watir::IE.start("http://groups.google.com/group";)
> ie.goto("http://http://groups.google.com/group";)
> $ie.maximize()
>
> am getting the following error message
>
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in
> `initialize': unknown OLE server:
> `AutoItX3.Control' (WIN32OLERuntimeError)
>     HRESULT error code:0x800401f3
>       Invalid class string      from c:/ruby/lib/ruby/gems/1.8/gems/
> watir-1.6.2/lib/watir/ie.rb:113:in `new'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:
> 113:in `autoit'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 425:in `autoit'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 422:in `set_window_state'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 398:in `maximize'

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to