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.
- go to souce lab web site and sign up. (sign up here)
- Souce lab provide you a username and Access Key.
- Now in your QMetry Automation Studio project, Open Application.properties file and add Desired Capabilities mention in table.
You can specify extra capabilities for the driver you are using as follows
i.e. for firefoxDriver or firefoxRemoteDriver this would be
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.