Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
automated_test_cases_updated

Setup Instructions

a) Post Deployment testing

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 -

  1. Download following plugin to put some implicit wait for an element to be present while running the test cases - https://addons.mozilla.org/en-US/firefox/addon/selenium-ide-implicit-wait/
  2. Download following plugin to highlight a particular element being clicked or focussed while running the test cases - https://addons.mozilla.org/en-US/firefox/addon/highlight-elements-selenium-id/
  3. Download following plugin to save the results of the test execution for the test suite - https://addons.mozilla.org/en-US/firefox/addon/test-results-selenium-ide/

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>”.

Running Automated Test Cases

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
automated_test_cases_updated.txt · Last modified: 2018/08/31 16:16 (external edit)