How to use Selenium from Rails

I caught two different approaches to integrate Selenium to Rails:

http://svn.viney.net.nz/things/rails/plugins/selenium_testing/README

It seems that the first makes it easy to right the tests, and the second
makes it easy to run them. Am I correct?

Any chance of the two hooking up and cross polinating?

List R. wrote:

I caught two different approaches to integrate Selenium to Rails:
http://svn.viney.net.nz/things/rails/plugins/selenium_testing/README
SEO & Sökmotoroptimering - Så fungerar det - And then nothing

It seems that the first makes it easy to right the tests, and the second
makes it easy to run them. Am I correct?

You can use Selenium IDE[1] to write tests for Selenium on Rails, and I
think that’s the best option. However, I will probably add pure Ruby
test cases as well and will look at the other solutions out there, like
Jonathan’s that you mention and Erik’s patch[2].

/Jonas

[1] SEO & Sökmotoroptimering - Så fungerar det - And then nothing
[2]
Selenium on Rails, Reloaded: Client-Side Tests in Ruby | Random Hacks

It would be great to see some work on combining my approach with
selenium-on-rails. I think it would be possible to have the best of both
worlds, but it may require a bit of creative thinking :).

-Jonathan.

You can use Selenium IDE[1] to write tests for Selenium on Rails, and I
think that’s the best option. However, I will probably add pure Ruby
test cases as well and will look at the other solutions out there, like
Jonathan’s that you mention and Erik’s patch[2].

/Jonas

I’ve done some more work on this today, so you should be seeing a new
version of the plugin out pretty soon which tries to get the best of
both worlds.

-Jonny.

Jonathan V. wrote:

It would be great to see some work on combining my approach with
selenium-on-rails. I think it would be possible to have the best of both
worlds, but it may require a bit of creative thinking :).

-Jonathan.

You can use Selenium IDE[1] to write tests for Selenium on Rails, and I
think that’s the best option. However, I will probably add pure Ruby
test cases as well and will look at the other solutions out there, like
Jonathan’s that you mention and Erik’s patch[2].

/Jonas