Skip to content

Testing (deprecated)

rowenaluk edited this page Apr 19, 2012 · 1 revision

Selenium

CommCareHQ has partial Selenium test coverage, useful for testing the application beyond unit tests. To run Selenium, do the following:

  1. If you don’t have Selenium Core installed, download it and install.
  2. Run Selenium Server (selenium-server.jar)
  3. Go to
     <commcarehq-root>/tests/deployment/selenium 
  4. Run
    python hq_test.py
  5. Selenium will open two browser windows, browse the site and return with OK or FAIL message.