i updated to 1.6.2 and all of sudden i'm getting the following error:

c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113: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.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:413:in
`bring_to_front'
    from test.rb:34

When i do this:
------------------------------------------------------------------
1. require 'watir'
2. browser = Watir::IE.new()#(:title, /elements f/i)
3. browser.goto("file:///C:/fit/unittests/html/elements_index.html")
4. browser.bring_to_front
5. browser.text_field(:id=>"txt_description", :index=>3).flash
6. browser.select_list(:id=>"dd_status", :index=>2).flash()
----------------------------------------------------------------------------------

Error is occurring at line 4 every single time.  If i comment it out the
script works fine.

Any help is appreciated.

Thanks,
Parvinder

On Thu, May 28, 2009 at 3:32 PM, Parvinder Ghotra <
parvinder.gho...@gmail.com> wrote:

> Thanks Charlie.
> i'm running watir-1.5.6.
>
> so i should move to 1.6.2?
>
> Parvinder
>
>
> On Thu, May 28, 2009 at 2:07 PM, Charley Baker <charley.ba...@gmail.com>wrote:
>
>> Multiple attribute support for input elements is supported in the latest
>> version. Which version are you running?
>>
>> -c
>>
>>
>> On Thu, May 28, 2009 at 12:05 PM, Parvinder Ghotra <
>> parvinder.gho...@gmail.com> wrote:
>>
>>> Did watir ever provide multiple attribute support for Text fields and
>>> Drop downs.  I was very surprised to find that the following doesn't work:
>>>
>>> $ie.text_field(:id => "aaa", :index => 2)
>>>
>>> Is there plan to provide multiple attribute support for things like Text
>>> fields, drop downs, radio buttons, checkboxes and etc.
>>>
>>> Thank you!
>>>
>>> Parvinder Ghotra
>>>
>>>
>>>
>>
>> >>
>>
>
>
> --
> Parvinder Ghotra
>



-- 
Parvinder Ghotra

--~--~---------~--~----~------------~-------~--~----~
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