Skip to content

ndmanvar/Java-Junit-Selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alt

Java-Junit-Selenium

This code is presented as an example only, since your tests and testing environments may require specialized scripting. This information should be taken only as an illustration of how one would set up tests with Sauce Labs, and any modifications will not be supported. For questions regarding Sauce Labs integration, please see our documentation at https://wiki.saucelabs.com/.

Environment Setup

  1. Global Dependencies
    $ brew install maven
    
  2. Sauce 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 Availalbe
    $ cd Java-Junit-Selenium
    $ mvn test-compile
    

Running Tests

Tests in Parallel: $ mvn test Sauce Labs Dashboard: https://saucelabs.com/beta/dashboard/

Advice/Troubleshooting

  1. It may be useful to use a Java IDE such as IntelliJ or Eclipse to help troubleshoot potential issues.

Resources

Sauce Labs Documentation:
SeleniumHQ Documentation:
Junit Documentation:
Java Documentation:
Stack Overflow:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages