No description, website, or topics provided.
Clone or download
halkeye Add support for SAUCE_BUILD_NAME as thats what i'm adding to vsts (#13)
* Add support for SAUCE_BUILD_NAME so vsts will work (and hopefully standardize in the future)
Latest commit 7074f0c Feb 9, 2017


Travis Status

This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub. For questions regarding Sauce Labs integration, please see the Sauce Labs documentation at This framework is not maintained by Sauce Labs Support.

Environment Setup

  1. Global Dependencies
    $ brew install maven
  2. Sauce Labs Credentials
    • In the terminal, export your Sauce Labs credentials as environmental variables:
    $ export SAUCE_USERNAME=<your Sauce Labs username>
    $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key>
  3. Project Dependencies
    • Check that packages are available
    $ cd Java-Junit-Selenium
    $ mvn test-compile
    • You may also want to run the command below to check for outdated dependencies. Please be sure to verify and review updates before editing your pom.xml file as they may not be compatible with your code.
    $ mvn versions:display-dependency-updates

Running Tests

#####Testing in Parallel:

$ mvn test

Sauce Labs Dashboard


  1. It may be useful to use a Java IDE such as IntelliJ or Eclipse to help troubleshoot potential issues.
  2. There may be additional latency when using a remote webdriver to run tests on Sauce Labs. Timeouts and/or waits may need to be increased.


Sauce Labs Documentation
SeleniumHQ Documentation
Junit Documentation
Java Documentation
Stack Overflow
  • A great resource to search for issues not explicitly covered by documentation.