Selenium API framework errors, need help

Hello All,

I am new to Ruby and using selenium automation framework but ended with
following errors.

I have attached the framework API (main.rb) and sample google file

Can you help me please.

Loaded suite C:/Selenium/RubyWorkingLib/Main
Finished in 21.011101 seconds.

  1) Error:
Errno::ETIMEDOUT: A connection attempt failed because the connected
party did not properly respond after a period of time, or established
connection failed because connected host has failed to respond. -
`block in remote_control_command'
    C:/Selenium/RubyWorkingLib/Main.rb:29:in `setup'

  2) Error:
NameError: uninitialized class variable @@excel in NewTest
    C:/Selenium/RubyWorkingLib/Main.rb:38:in `teardown'

1 tests, 1 assertions, 0 failures, 2 errors, 0 skips

Test run options: --seed 60730



I have tried with simple google but still getting the same protocol
errors.. it seems like not recognising the protocol utility but I do not
have any idea how to force to use.
Please advise me.


Posted via


require 'selenium-webdriver'
require 'selenium/client

@selenium =“”,8080,
"*firefox", “”, 10000);
where your selenium-rc server?

your code read test scripts from exel file?

do this ever run? tell please what this all must do


Posted via