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>”.
1) Download the Learnexa_Framework
Demo - learnexa_framework.zip
2) Open terminal and go to the following directory “Learnexa_Framework”
3) Before running the test cases,changes data in testdata.xls file,as if required ,it is located in that dirctory
[As if required, Changes the Browser,Site url,Un , pwd and Report title in xl sheet file]
4) Reports will be present ,in Html_Reports folder in that directory,report generation it using the following “ < path of the
Html_reports> title
Ex: /home/seshu/Learnexa_Framework/ffreports[before runing the test cases,need to change path on html reports row in xl sheet]
5) Individual test cases files ,will be present in that directory, run it using the following command “ruby <file_name> path of The xlsheet“
Ex: ruby login.rb /home/seshu/Learnexa_Framework/Testdata.xls
6) All test cases files ,will be present in Multipletests.rb file, in that directory, run it using the following command “ruby <file_name>
path of the xl sheet"
Ex: ruby Multipletests.rb /home/seshu/Learnexa_Framework/Testdata.xls