Unable to execute Selenium RC example

I installed Selenium RC in lib folder of my project. When I execute the
downloaded ruby example, I see error like:

application-root>ruby
lib\selenium-remote-control-1.0-beta-1\selenium-ruby-
client-driver-1.0-beta-1\selenium_example.rb
lib/selenium-remote-control-1.0-beta-1/selenium-ruby-client-driver-1.0-beta-1/se
lenium_example.rb:20:in `require’: no such file to load – selenium
(LoadError)
from
lib/selenium-remote-control-1.0-beta-1/selenium-ruby-client-driver-
1.0-beta-1/selenium_example.rb:20

There is a selenium.rb file located at
application-root\lib\selenium-remote-control-1.0-beta-1\selenium-ruby-client-driver-1.0-beta-1

Should I be doing something different?

Thanks!

On 12 May 2008, at 00:15, Irene S. wrote:

lenium_example.rb:20:in `require’: no such file to load – selenium
(LoadError)
from
lib/selenium-remote-control-1.0-beta-1/selenium-ruby-client-driver-
1.0-beta-1/selenium_example.rb:20

There is a selenium.rb file located at
application-root\lib\selenium-remote-control-1.0-beta-1\selenium-
ruby-client-driver-1.0-beta-1

If you cd’d into lib\selenium-remote-control-1.0-beta-1\selenium-ruby-
client-driver-1.0-beta-1 ruby would probably find the correct file.

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs