A gem to simplify using selenium rc within a rails project
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead of mparreno:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.DS_Store
.gitignore
Gemfile
README
Rakefile
selenium-rake.gemspec

README

Add this to your gemfile.

gem 'selenium-rake'

Only prerequisite is that you need java runtime installed, to check..

java -v 

if not go to http://java.com/en

Run bundle and you will get the following...

RAKE TASKS

To start the selenium rc server.

rake rc

To stop the selenium server.

rake rc:stop

To run all tests in the test/functional folder with _selenium in the filename.

rake rc:tests

GENERATORS

To override the selenium global selenium config settings, this will make the method global_config available in your individual test cases.

rails generate config

To generate an example test that can be found in test/functional

rails generate example

Pull requests, features, improvements, comments and issues are all welcomed...