How To Running Locally:

  1. Enable JUnit test environment plugin (if not already enabled)
    File -> Settings -> IDE Settings -> Plugins
    Check the checkboxes JUnit
  2. Create Run Configuration for test:
  3. Run or Debug the test from the Run Configuration

Currently the selenium tests do not work with Firefox version 32 and higher.  Either downgrade Firefox or use Chrome.

Running Locally with Chrome:

 

How To Run a Selenium Test on Saucelabs.

  1. Signup for your free Saucelabs.com account.
  2. Recompile Smoke Tests:
  3. mvn -f rice-middleware/sampleapp/pom.xml test-compile
  4. Using your sauce credentials (username and key from My Account) and the first maven command line way above, append configuration values for:

    -Dremote.driver.saucelabs -Dsaucelabs.platform=Windows_2003 -Dsaucelabs.browser=ie -Dsaucelabs.browser.version=8 -Dsaucelabs.user=saucelabs_user -Dsaucelabs.key=saucelabs_key

How To Run a Selenium Test through a Selenium hub

  1. Using command line from above, append configuration values for:

    -Dremote.public.hub=hub.ip:4444