First of all user must required valid sauce lab account which user can create from sauce lab web site.

To run QAS test on Sauce Lab user required to add following keys either in application.properties or in testrun_config.xml


driver.name=remotedrivername

where “remotedrivername” can be “firefoxRemoteDriver”,”chromeRemoteDriver” or any other valid remote driver


remote.server=http://<username>:<access-key>@ondemand.saucelabs.com:80/wd/hub

where “username” = sauce lab user name , “access-key” = sauce lab access key

User can also provide additional properties of driver using “browser.additional.capabilities” key

where “browser” can be “firefox”, “chrome” or any other browser

Given below keys with proper values


driver.name=firefoxRemoteDriver

remote.server=http://<username>:<access-key>@ondemand.saucelabs.com:80/wd/hub

firefox.additional.capabilities={'name':'SampleTestOnFirefox','platform':'Windows 8','version':'40.0'}