Skip to content

Selenium sample testsuite which uses my Zont framework and some other custom ruby scripts to make deployment of your testsuite lightening fast.

Notifications You must be signed in to change notification settings

lazyxiong/selenium-ruby-kickstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements to run automated tests:
----------------

-Java 1.5+
-Ant  1.6+
-Ruby 1.8.6
-Ruby gems


Automated env setup:
--------------------

Use bundler:

1. sudo gem install bundler
2. sudo bundle install


1. running single test at a time

     a) "ant start-rc"                : start selenium server
     b) ruby tests/whatever_test.rb   : run your test
     c) "ant stop-rc"                 : stop selenium server

2. run specific tests using Rake

     a) "ant start-rc"                : start selenium server
     b) "rake KEYWORDS=whatever"      : run tests corresponding to keyword=whatever
     c) "ant stop-rc"                 : stop selenium server

3. run everything using Ant

     "ant ci -Dtest.base.url=http://valid_url -Dqa.reports=/path/to/output"  :
                        this will start selenium server, execute all available tests, prepare reports  and stop selenium server


Write new tests:
----------------

   - create your test case in: <test_suite_root>/tests/ (eg: logout_test.rb)

Alexandre Berman

About

Selenium sample testsuite which uses my Zont framework and some other custom ruby scripts to make deployment of your testsuite lightening fast.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages