Changes between Version 50 and Version 51 of DeveloperGuidelines/Testing/Selenium


Ignore:
Timestamp:
12/13/12 15:48:45 (12 years ago)
Author:
somayjain
Comment:

Improving documentation for running automated test scripts

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/Selenium

    v50 v51  
    4343}}}
    4444
     45For the whole test suite, uncomment the following line in {{{models/000_config.py}}}:
     46{{{
     47settings.base.prepopulate = ["IFRC_Train"]
     48}}}
     49
     50Make sure that {{{settings.base.migrate = True}}} and {{{settings.base.debug = True}}} in the config file.
     51
     52Then you will need to re-populate: delete the contents of databases/* , errors/* and sessions/*
     53
     54{{{
     55cd web2py/applications/eden
     56rm databases/* sessions/* errors/*
     57}}}
     58
    4559Start the Web2py server at 127.0.0.1:8000. (Selenium will start a captive browser,
    4660which it will direct to contact the server at 127.0.0.1:8000.)
    47 
    48 For the whole test suite, it is assumed that you are using:
    49 {{{
    50 deployment_settings.base.prepopulate = ["IFRC_Train"]
    51 }}}
    5261
    5362Run the whole test suite for the Eden application: