Follow

How to run test on suace lab using QAS

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:token@ondemand.saucelabs.com:80/wd/hub

where "username" = sauce lab user name , "token" = 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://hirenpan123:a3c53906-5257-483f-b7f7-fbd43a3e2693@ondemand.saucelabs.com:80/wd/hub

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

Sample of application.properties and testrun_config.xml file is attached here.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk