Hello everybody,

Help.! ;) I’m a watir/jenkins/OpenSuse beginner; my goal is to launch watir 
tests from Jenkins under OpenSuse 11(Opensuse no graphical) knowing that 
OpenSuse is a 
virtual machine VMware under Windows XP . For that I installed ruby 1.8.7 
and rubygems 1.5.0, but when I tried to launch this:

require 'watir-webdriver'include Selenium
capabilities = WebDriver::Remote::Capabilities.htmlunit(:javascript_enabled 
=> true)
b = Watir::Browser.new(:remote, :url => 'http://127.0.0.1:4444/wd/hub', 
:desired_capabilities => capabilities)
b = Watir::Browser.new :firefox
b.goto "www.google.com"
b.text_field(:name => "q").set "Watir-WebDriver"
b.button(:name => "btnG").click
b.div(:id => "resultStats").wait_until_present
puts "Displaying page: '#{b.title}' with results: '#{b.div(:id => 
"resultStats").text}'"
b.close


I got this error :
[WARNING] MultiJson is using the default adapter (ok_json). We recommend 
loading a different JSON library to improve performance. 
/usr/lib64/ruby/1.8/timeout.rb:60:in `rbuf_fill': execution expired 
(Timeout::Error)
  

Any idea?

Thanks 

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

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to