Changes between Version 90 and Version 91 of DeveloperGuidelinesTesting
- Timestamp:
- 12/06/10 16:16:58 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesTesting
v90 v91 15 15 Building the Right Code 16 16 17 We have integrated [http://seleniumhq.org/projects/ core Selenium Core] into {{{/static/selenium}}} so that Functional Tests can be run (via 'Test' menu option visible to Admins).17 We have integrated [http://seleniumhq.org/projects/remote-control/] into {{{/static/selenium}}} so that Functional Tests can be run (via 'Test' menu option visible to Admins). 18 18 19 Additional functions (e.g. Random) are added to: 20 {{{ 21 /static/selenium/core/scripts/user-extensions.js 22 }}} 19 Tests can be developed using [http://seleniumhq.org/projects/ide Selenium IDE], if desired. 23 20 24 Check for unexpected global variables: 25 * http://mankzblog.wordpress.com/2009/02/11/selenium-core-extension-for-finding-unexpected-global-variables/ 21 See the User Documentation for details on how to use this test suite. 26 22 27 23 !ToDo: create a {{{HandleResults.py}}} for storing results (to make visible to CI): 28 24 * e.g. Convert this one from PHP: http://wiki.openqa.org/display/SEL/Integrating+Selenium+And+CruiseControl.Net 29 25 * e.g. Extract from [http://jrandolph.com/selenium-plone/selenium-0.3rc2-plone.zip PloneTool]'s {{{FunctionalTestTool.py}}} 30 31 Tests can be developed using [http://seleniumhq.org/projects/ide Selenium IDE], if desired.32 33 If desired they can be maintained in a Python format using [http://joker.linuxstuff.pl/documentation/make_selenium make_selenium.py]. HTML tests run by !TestRunner are in {{{/static/selenium/tests}}}. Python format tests are in {{{/static/selenium/src}}}. Convert between these using:34 {{{35 python make_selenium.py src tests36 python make_selenium.py -p tests src37 }}}38 26 39 27 Hints on improving the stability of Selenium tests: