Skip to content

sauceaaron/saucelabs-java-testng-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

saucelabs-java-testng-example

This project shows how to use Sauce Labs with TestNG using the SauceOnDemand Jenkins plugin:

For a single browser, it sets the following environment variables:

SELENIUM_PLATFORM SELENIUM_BROWSER SELENIUM_VERSION

For multiple browsers, it sets the environment variable:

SAUCE_ONDEMAND_BROWSERS

This contains a JSON array with information about each browser:

The sample tests use a DataProvider class to get the WebDriver capabilities set by SaucenDemand Jenkins plugin. Tests then run in parallel across all browsers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages