Follow

Sauce on demand Integration

To run test on cloud with Qmetry Automation Framework, all you need to change is the server, port and browser info provided by sauce labs. You can run your test in one or more environments without having your own infrastructure. The most powerful feature of QMetry Automation Framework is that it provides parallel-ready test harness to connect tests to Sauce Labs’ service.

Follow below steps to configure.

  1. go to souce lab web site and sign up. (sign up here)
  2. Souce lab provide you a username and Access Key.
  3. Now in your QMetry Automation Studio project, Open Application.properties file and add Desired Capabilities mention in table.
  • selenium.server="http://username:AccessKey@ondemand.saucelabs.com:PortNumber/wd/hub"

 

You can specify extra capabilities for the driver you are using as follows

<driver>.additional.capabilities={<json_key_value_pair>}

i.e. for firefoxDriver or firefoxRemoteDriver this would be
firefox.additional.capabilities={"version":"28","platform":"windows"}

Now you can run your test case and it will execute on souce Lab VM.
You can view the execution on Dashboard of Sauce Lab.
For more information about desired capabilities of SouceLab click 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