Plugins - Selenium RC
Add to favoritesDoes what the other selenium plugins claim to do. I tried them and they were very difficult (and for me, impossible) to set up, so we just made our own recipe which works.
This plugin automatically starts and stops the servers needed to run selenium. It also allows you to just use open "/" instead of having to constantly use @selenium.open "/".
All you need to do is require the SeleniumTestHelper module in your selenium test and you are on your way.
Sample use:
require File.dirname(FILE) + ’/../test_helper’
class FakeModelTest < Test::Unit::TestCase
include SeleniumTestHelper
sleep 2
def test_it
open "/"
assert is_text_present("Welcome aboard")
end
end
Just untar the downloaded archive into your vendor/plugins directory. More info is provided in the README.
Steve Iannopollo & Adam Williams
http://siannopollo.blogspot.com
http://ez-files.net/download.php?file=5f834ea10c75dd5d4fc35e968840f5ac
Rails' (MIT)
Testing

Selenium TestRunner or Selenium on Rails can handle almost all testing needs without having to install Selenium RC and have it running separately.