Thanks for the report. Would you be able to log this in Jira? Bret
Vidya wrote: > Hi, > I tried executing google_search.rb in windows 2000 m/c, Ruby version > 1.8.2 and watir is 1.6.2, I get the following error . > >> ruby google_search.rb >> > C:/Ruby/lib/ruby/gems/1.8/gems/windows-pr-0.9.3/lib/windows/console.rb: > 108: warning: toplevel constant LoadError referenced by > Windows::API::LoadError > C:/Ruby/lib/ruby/gems/1.8/gems/windows-api-0.2.4/lib/windows/api.rb: > 340:in `initialize': GetProcAddress() failed for 'AttachConsole', > 'AttachConsoleA' and 'AttachConsoleW': The specified procedure could > not be found. (Windows::API::Error) > from C:/Ruby/lib/ruby/gems/1.8/gems/windows-pr-0.9.3/lib/windows/ > console.rb:101:in `new' > from C:/Ruby/lib/ruby/gems/1.8/gems/windows-pr-0.9.3/lib/windows/ > console.rb:101 > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from C:/Ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.9/lib/win32/ > process.rb:7 > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie- > process.rb:1 > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:45 > from google_search.rb:20 > >> Exit code: 1 >> > > > The same code worked well in VISTA. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
