Changes between Version 18 and Version 19 of DeveloperGuidelines/Testing/Selenium


Ignore:
Timestamp:
05/31/12 13:28:36 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/Selenium

    v18 v19  
    99Test-Driven Development is a programming style which says that you 1st write your test cases (from the [BluePrint specs]) & then proceed to make them pass.
    1010
     11== Introduction ==
    1112Selenium provides the ability to test Sahana Eden as users see it - namely through a web browser. This therefore does end-to-end Functional Testing, however it can also be used as Unit Testing
    1213
     
    1415* http://seleniumhq.org/docs/appendix_migrating_from_rc_to_webdriver.html#why-migrate-to-webdriver
    1516
    16 TestCases - List of things to test
    17 == How does it work? ==
    18 The system relies on Selenium web driver and IDE to execute and/or create automated test scripts.
    19 Selenium provides the ability to test Sahana Eden as users see it - namely through a web browser. This therefore does end-to-end Functional Testing, however it can also be sued as Unit Testing.
    20 
    21 These tests are stored in {{{eden/modules/tests}}}
     17The tests are stored in {{{eden/modules/tests}}}
    2218
    2319== Installation of the testing environment in your machine ==
     20In order to execute the automated Selenium powered test scripts, you must install the Selenium Web Drivers into Python.
    2421
    25 In order to execute the automated Selenium powered test scripts, you must install the Selenium Web Drivers into Python
    2622Download latest Selenium package:
    2723 1. http://pypi.python.org/packages/source/s/selenium/selenium-2.20.0.tar.gz
     
    6258We aim to make it as easy as possible to write additional tests, which can easily be plugged into the testing suite or/and executed separately.
    6359
    64 Use the Selenium IDE to generate python code.
    65 
    6660An example has been created: {{{eden/modules/tests/hrm/hrm001.py}}}
    6761
     
    8882
    8983== See Also ==
    90  * TestCases - User Testing - List of things to test
     84 * TestCases - List of things to test
    9185 * http://code.google.com/p/selenium/wiki/PageObjects - Style suggestion
    9286