Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Changes between Version 2 and Version 5 of Ticket #3299


Ignore:
Timestamp:
02/23/11 10:18:33 (13 years ago)
Author:
wmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3299

    • Property Status changed from new to accepted
  • Ticket #3299 – Description

    v2 v5  
    11Write Selenium tests for web, aiming for as much coverage as possible!  
    22 
    3 To get started running tests, download Selenium RC from http://seleniumhq.org/download/ unzip and run 
     3To get started running tests locally, download Selenium RC from http://seleniumhq.org/download/ unzip and run 
    44 
    55{{{ 
     
    88}}} 
    99 
     10You need to set up ice.config and various Python paths. This setup (below) works for running OmeroPy unit tests and seems to work for Selenium too.  
     11 
     12Put ice.config in components/tools/OmeroPy 
     13{{{ 
     14omero.host=localhost 
     15omero.port=4064 
     16omero.user=root 
     17omero.pass=omero 
     18omero.rootpass=omero 
     19}}} 
     20 
     21Go to components/tools/OmeroPy and do: 
     22{{{ 
     23export PYTHONPATH=`pwd`/build/lib:`pwd`/test:$PYTHONPATH 
     24export HDF5_DISABLE_VERSION_CHECK=2 
     25export ICE_CONFIG=`pwd`/ice.config 
     26}}} 
     27 
    1028Then run tests: 
    1129 
    12 E.g. to run the webmobile test  
    13 (at {{{omeroweb/webmobile/tests/seleniumtests.py}}} with Selenium server at 'localhost' and the OMERO web pages available at localhost:4080 using firefox: 
     30E.g. to run the webadmin test  
     31(at {{{omeroweb/webadmin/tests/seleniumtests.py}}} with Selenium server at 'localhost' and the OMERO web pages available at localhost:4080 using firefox: 
    1432 
    1533{{{ 
    16 $ bin/omero web seleniumtest webmobile localhost http://localhost:4080 firefox 
     34$ bin/omero web seleniumtest webadmin localhost http://localhost:4080 firefox 
    1735}}} 

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.12362 sec.)

We're Hiring!