Hi,

My script Opened the browser. Navigated to Google.Tried to Maximize
the browser(IE 8).
Below error Came while i executed the script.

Watir Version:1.9.1

Please let me know.

UiaDll: CoCreateInstance failed. hr = 0x80040154D:/Ruby187/lib/ruby/
gems/1.8/gems/ffi-1.0.9-x86-mingw32/lib/ffi/library.rb:75:in
`ffi_lib': Could not open library 'D:/Ruby187/lib/ruby/gems/1.8/gems/
rautomation-0.6.0/lib/rautomation/adapter/win_ffi/
ms_uia/../../../../../ext/UiaDll/Release/UiaDll.dll': A dynamic link
library (DLL) initialization routine failed.
 (LoadError)
        from D:/Ruby187/lib/ruby/gems/1.8/gems/ffi-1.0.9-x86-mingw32/lib/ffi/
library.rb:54:in `map'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/ffi-1.0.9-x86-mingw32/lib/ffi/
library.rb:54:in `ffi_lib'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/rautomation-0.6.0/lib/
rautomation/adapter/win_ffi/ms_uia/uia_dll.rb:8
        from D:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `gem_original_require'
        from D:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `require'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/rautomation-0.6.0/lib/
rautomation/adapter/win_ffi.rb:22
        from D:/Ruby187/lib/ruby/gems/1.8/gems/rautomation-0.6.0/lib/
rautomation/window.rb:66:in `const_get'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/rautomation-0.6.0/lib/
rautomation/window.rb:66:in `initialize'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.9.1/lib/watir/ie-
class.rb:459:in `new'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.9.1/lib/watir/ie-
class.rb:459:in `rautomation'
        from D:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.9.1/lib/watir/ie-
class.rb:430:in `maximize'

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to