Hi Everyone, I've got a problem to run watir on a VM guest Windows XP Pro SP3.
I've try all the recent ruby windows packages, but I always receive the same error. Here the details: Ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32] gem list: *** LOCAL GEMS *** addressable (2.3.2) bigdecimal (1.1.0) builder (3.0.0) childprocess (0.3.5) commonwatir (3.0.0) ffi (1.1.5) hoe (3.0.8) io-console (0.3) json (1.5.4) libwebsocket (0.1.5) mini_magick (3.2.1) minitest (2.5.1) multi_json (1.3.6) nokogiri (1.5.5 x86-mingw32) rake (0.9.2.2) rautomation (0.7.2) rdoc (3.9.4) rubyzip (0.9.9) s4t-utils (1.0.4) selenium-webdriver (2.25.0) subexec (0.0.4) user-choices (1.1.6.1) watir (3.0.0) watir-classic (3.1.0) watir-webdriver (0.6.1) win32-api (1.4.8 x86-mingw32) win32-process (0.7.0) win32screenshot (1.0.7) windows-api (0.4.2) windows-pr (1.2.2) xml-simple (1.1.1) yajl-ruby (1.1.0 x86-mingw32) The automation script: require 'watir' ENV['DT_AE_AGENTACTIVE'] = 'true' ENV['DT_AE_SESSIONNAME'] = 'Watir Sample Test' ENV['DT_AE_SERVERHOST'] = '127.0.0.1' ENV['DT_AE_SERVERPORT'] = '9988' ENV['DT_AE_CLEARCACHE'] = 'true' browser = Watir::Browser.new browser.goto('http://www.mysite.it') browser.text_field(:id, "txt_userName").set("username") browser.text_field(:id, "txt_passWord").set("password") browser.image(:alt, "Enter").click And here's the error: C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/process/functions.rb:12:in `attach_pfunc' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/process/functions.rb:64:in `<module:Functions>' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/process/functions.rb:8:in `<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-process-0.7.0/lib/win32/process.rb:1:in `<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/ie-process.rb:1:in `<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/ie.rb:4:in `<top (required)>' from (eval):1:in `klass' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `klass' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:79:in `set_options' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:142:in `set_sub_options' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:64:in `new' from test.rb:10:in `<main>' thanks in advance to those who will help me! Bye -- 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