search for: timeout_in_second

Displaying 2 results from an estimated 2 matches for "timeout_in_second".

2010 Jun 08
0
How to use Selenium RC in Rails
...ium-client" class SeleniumTest attr_reader :browser def initialize @browser = Selenium::Client::Driver.new \ :host => "localhost", :port => 4444, :browser => "*firefox", :url => "http://www.google.com", :timeout_in_second => 60 end end In a controller file, I create an instance of this class. o=SeleniumTest.new When I run rails, it returns an error: LoadError in LoginsController#create no such file to load -- selenium-client I tried to add the following require settings in /config/ development.rb. No...
2010 Feb 25
0
SocketError: getaddrinfo: Name or service not known --> error while running test case
...Test::Unit::TestCase def setup @verification_errors = [] @selenium = Selenium::Client::Driver.new \ :host => "http://127.0.0.1", :port => 4444, :browser => "*firefox", :url => "http://www.google.com/", :timeout_in_second =>60 #start browser session @selenium.start @selenium.set_context("test1") end def teardown @selenium.stop assert_equal [], @verification_errors end Let me know if you need any other additional information. Thanks for your help in advance :) .. --...