Thursday, May 21, 2009

selenium and ruby setup

this is a good and very detailed guide as you setup a ruby and selenium to your machine, especially on those who are always doing reformat... hahaha

SELENIUM RC SERVER

* get it here
* requires JRE
* get it here

* OVERVIEW:
* launching the server
* sending commands
* server options

SELENIUM RC RUBY CLIENT DRIVER

* requires Ruby
* recommended way to install:
* Ruby 1.8.6 One-Click Installer
* Upgrade to latest version

* requires Rubygems
* get it as a tgz or zip from http://rubyforge.org/frs/?group_id=126

* extract the archive
* on the console, cd into the extracted directory, they type:
* ruby setup.rb

* get the ruby client driver as a rubygem: on the console, type:

>> * gem install selenium-client
>> * gem install rspec
>> * gem install faker
>> *gem install syntax

* OVERVIEW
* irb
* rubygems
* selenium rc client ruby client driver

* RDoc documentation


Then for the finario git hub
1. install github, bash or gui (running on cmd prompt)
2. then generate an SSH rsa >>
$ ssh-keygen -t rsa
3. copy on the documents settings ur id_rsa pub
4. paste it on the selennium_scrript personal settings of ur public_key
5. then clone >> like this example
$ git clone git@sammple.unfuddle.com:gosample/seleniumscripts.git

No comments:

Post a Comment