Introduction
...
An active account with valid user name / password
Sufficient balance of execution hours.
Info |
---|
After logging to Sauce Labs, click Data Center located at the top-right corner, and select the Time Zone to USE West 1. |
Execution Guidelines
You must create execution profiles that are solely used for execution on Saucelabs platform from Qualitia Client or offline package. In those execution profiles, you must define the settings that are mandatory for test suite execution.
Mandatory Settings in the Associated Execution Profile
Do the following in the order listedTo execute tests on Sauce Labs, follow these steps:
Open Qualitia Automation Studio and login.
Go to the Execute tab.
Click Execution Profile.
Click the plus icon to add new Execution Profile.
Provide a name for the Execution Profile.
Under Execution Configuration > Web Environment select Sauce Labs
Under Web Execution Platform select Sauce Labs.
In the Desired Capabilities window, enter all the following mandatory fields by selecting the checkbox:
Url
username
accesskey
You can find the URL in the User Settings option present under the Account menu.Username and Access key are present under the Username & Access key menu.
Select the browser under Browser and enter the version in the Desired Capabilities section.
Navigate to the Suite Execution tab.
Create a test suite and test case.
Select the Execution Profile you created.
Go to Sauce Labs.
From the left navigation panel, select Automated > Test Results and verify the execution.
You can also see the video recording as shown in the following screenshot:
Execution of Tests Running Behind Firewall (on Private Networks)
...
Open the associated execution profile.
Under Edit Additional Capabilities, set the desired value for slw.tunnelIdentifier.
The value set here for this key will be required when executing sc.exe in step 6. For more information on configuring this property, refer Sauce Labs documentation.Download the Sauce Connect Proxy on any machine in the network using following url:
https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+ProxyExtract the folder at the suitable location.
You will find the sc.exe file in the bin folder.Open Command Prompt and navigate to the folder where sc.exe file exists.
Enter the following command.
Code Block sc -u <sauce_username> -k <accesskey> -i <tunnelID> For example: sc -u john.doe -k 8becc95c-4559-4582-a617-7d38544797a2 -i tunnel-1232
Press Enter.
...