1) Download the Selenium IDE from the following link - http://docs.seleniumhq.org/download/
2) Open the the IDE, record the test cases and save them.
3) Run the test case through Selenium IDE in firefox.
4) Add Plugins -
5) Install ruby landuage
6) Install Selenium Webdriver using following command -
gem install selenium-webdriver
7) Install Spreadsheet using following command
gem install spreadsheet
8) Install chromedriver for running test cases in chrome browser.
9) Export the test cases in ruby language.
10) Run the test case in terminal using the following command “ruby <file_name>”.