Forum: Ruby on Rails [ANN] Selenium testing plugin

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jonathan V. (Guest)
on 2006-02-19 14:08

I've just finished a new release of my Selenium testing plugin with much
tighter integration to rails. The rake selenium step has been removed as
all tests are now live (just save your test file and refresh the

Install it with:

  script/plugin install

And check out the readme:

For those who don't know, this plugin allows you to write Selenium tests
like this:

  class PersonSeleniumTest < Test::Unit::TestCase
    fixtures :people

    def setup
      open :controller => 'person', :action => 'view', :id => 1

    def test_add_new_person
      click           'add_new_person_link'
      assert_visible  'add_new_person'
      type            'new_person_first_name', 'Pixel'
      type            'new_person_last_name', 'the Cat'
      select          'new_person_gender', 'Male'
      click_and_wait  'submit_add_new_person'
      assert_text     'person_name', 'Pixel the Cat'

100% Ruby and proud of it ;)

Comments/feedback/patches welcome.

This topic is locked and can not be replied to.