Selenium on Rails

なかなか良さそうだ。
まず、テスト用のデータベースを作る。

mysql> create database ***_test;

Selenium on Railsのインストール

> ruby script/plugin install http://svn.openqa.org/svn/selenium-on-rails/selenium-on-rails

Testスイートの作成

> script/generate selenium login

サーバをテストモードで再起動

> script/server -e test

以下にアクセス

http://locahost:3000/selenium

あとは、

test/selenium/login.sel

を適当に書き換える。