Displaying 5 results from an estimated 5 matches for "selenium_test".
2006 Feb 19
0
Selenium testing plugin
...ished 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
browser).
Install it with:
script/plugin install
http://svn.viney.net.nz/things/rails/plugins/selenium_testing
And check out the readme:
http://svn.viney.net.nz/things/rails/plugins/selenium_testing/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 :c...
2010 Jun 08
0
How to use Selenium RC in Rails
Hi,
I am trying to use Selenium RC in my rails application. I first
install selenium RC ruby client (>gem install selenium-client). Then
create a "selenium_test.rb" in libs folder. In the file, I create a
class "SeleniumTest".
# libs/selenium_test.rb
require "selenium-client"
class SeleniumTest
attr_reader :browser
def initialize
@browser = Selenium::Client::Driver.new \
:host => "localhost",...
2006 Feb 16
3
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
http://andthennothing.net/archives/2006/02/05/selenium-on-rails
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?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 13
9
Selenium. Replacement for traditional rails functional test?
Hi list
I''ve got a bit of a philosophical question. After just having discovered
Selenium /Selenium IDE and the rails selenium plugin I''ve realized that
it''s a whole lot easier to do functinoal testing than writing the
traditional rails functional tests.
However it implies that the development database consists of
standardized test data (e.g the test & dev
2006 Feb 09
1
Alternative take on Selenium in Rails
...rab the plugin and give it a whirl (be sure to read the README!).
Basically, my approach was to make it possible to write Selenium tests
in the same way that unit and functional tests are written. So, you end
up with test classes such as:
class PersonSeleniumTest < Test::Unit::TestCase
selenium_test
fixtures :people, :households
def setup
open ''/person/view/1''
end
def test_add_new_person
click ''add_new_person_link''
assert_visible ''add_new_person''
type ''new_person_first...