The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Insights

External Resources

More Info


Blog

We’re excited to announce the ability to use app name to retrieve your apps to use in automated tests. By using the app "name" field from the storage API in the "app" capability, this approach is particularly useful if you uploaded your build to Application Storage via a CI pipeline, and you either don't know the id, or you do not wish to perform JSON parsing in order to retrieve the id.

Limitations:

  • This feature is only available for Real Devices and NOT Emulators and Simulators.
  • App names are NOT unique, therefore they will always default to the latest version.
  • Currently you cannot specify the version of the app using this feature.

To read more about how to use this new capability to its full extent, please visit Using Application Storage With Automated Builds

If you have any questions or concerns, please reach out to our support team and we’ll be glad to help you with the migration or any other issue.

Happy Testing!


Return to the Product Announcements and Release Notes Blog


The Sauce Labs team is committed to providing the most secure testing experience for you and your teams. To help with that, we are making a number of updates that bring us more in line with industry standards.

To help with this change, we  have made the decision to begin the End of Life (EOL) process for the following:


  • All versions of Sauce Connect Proxy prior to 4.6.x

  • TLS protocol versions 1.0 and 1.1


This EOL will be completed on October 5, 2020.

Sauce Connect Proxy

In line with security best practices, Sauce Connect Proxy will only support certificates signed by a Public Certificate Authority going forward. All Sauce Connect Proxy versions <4.6 supporting Private Certificates will be deprecated as of October 5, 2020.

If you are currently running any version of Sauce Connect Proxy previous to 4.6.0 you will need to update prior to October 5, 2020. Download and instal the latest version of Sauce Connect Proxy here.

If applicable, please also ensure you are using the latest version of the Sauce Labs Jenkins plugin.

TLS Protocol

In keeping with industry standards, Sauce Labs will also be fully deprecating support for TLS v1.0 and TLS v1.1 protocol versions.  This will affect all https traffic connecting to Sauce Labs, including:


  • Test runners

  • API clients

  • Web browsers that access the Sauce Labs UI


As of July 2020, the great majority of https traffic to the Sauce Labs service uses TLS 1.2 (99.9% or higher).  Most customers will not need to take any advanced action. Nonetheless, we encourage our users to verify which version they are currently using before the EOL date of October 5, 2020.


For more information, please reference this helpful article.


Return to the Product Announcements and Release Notes Blog

We’re excited to announce the official launch of the 2nd phase of improved UX for real device testing. As mentioned earlier, this release offers significant improvements in the live testing and Sauce native app storage experience. These features are now available in production for all Sauce users.

In addition, we have created a new Sauce identity for customers who previously only had an account on our legacy RDC platform (also known as TestObject). All users will now be required to log into their accounts at app.saucelabs.com using their current credentials. If you have any issues logging in, please use the “Forgot Password” flow, or reach out to our support team at help@saucelabs.com.

A few more notes regarding the experience with the new set of features:

  • The main difference you will notice is the Sauce native app storage in the UI and related flows.
  • Your current test automation practices will not be interrupted. You can keep uploading apps the way you do today and reference those using test automation capabilities. However, when you are ready, you can start using the new storage APIs: upload native apps and reference those with the new Sauce storage. A significant benefit in the new Sauce Storage is that those apps WILL show in the storage view, and you will be able to use the same apps for automation AND live testing! To start using the new Sauce storage endpoints, see the Migration Guide.
  • For live testing, please note that you need to upload your apps for testing. As mentioned above, you can upload apps manually, or you can upload them using the REST API.
  • Tunnels: When you run a test (in automation or live) through the unified platform, you need to use Sauce tunnels. Please see the Migration Guide for more details. Again, existing test automation will not need to change tunnels until you migrate to the unified platform.
  • Test Data: All test data in Sauce Labs represents only the data generated in the unified platform, by region (US-West and EU-Central).
  • EmuSim: Native apps currently do not show in the Sauce Storage UI. This is on our roadmap.

If you have any questions or concerns, please reach out to our support team and we’ll be glad to help you with the migration or any other issue.

Happy Testing!


Return to the Product Announcements and Release Notes Blog

Hello Sauce user!

Sauce Labs is pleased to announce that we now support Firefox 79 and Edge 84 for testing your applications. 

Here is an example of the desired capabilities for both Firefox and Edge in Java using Selenium and W3C that we generated using our Platform Configurator:



Firefox 79
MutableCapabilities sauceOptions = new MutableCapabilities();

FirefoxOptions browserOptions = new FirefoxOptions();
browserOptions.setCapability("platformName", "Windows 10");
browserOptions.setCapability("browserVersion", "79.0");
browserOptions.setCapability("sauce:options", sauceOptions);


Edge 84
MutableCapabilities sauceOptions = new MutableCapabilities();

EdgeOptions browserOptions = new EdgeOptions();
browserOptions.setCapability("platformName", "Windows 10");
browserOptions.setCapability("browserVersion", "84.0");
browserOptions.setCapability("sauce:options", sauceOptions);





Return to the Product Announcements and Release Notes Blog

We’re proud to announce the next phase of our improved UX for Real Device Testing on Sauce Labs! This release focuses on improving the live testing and application storage experience. These features will be available on Wednesday, July 29th 2020. Below are some changes you should expect to see:

What’s Changing:

Users will now be able to access the following from their Sauce Labs account:

Why This Matters:

  • You can now upload, download, and delete application files for use with Real Devices or Emulators and Simulators for automated or live testing.

  • You can now delete a single file or a group of files to keep applications up to date.

  • You can now group apps by id, build, or OS, making app management more precise.

  • Applications stay in storage for 60 days, as opposed to 7 days in the old storage.

  • There is a new indicator which will inform when an application is about to expire.

  • You can now change the application settings for an application in order to enable features such as facial recognition, touch ID, and image injection.

To learn more about the other features that are available in our unified platform experience, please reference our previous blog post on phase 1 improvements. You can also stay up to date on which features are available across both platforms with this helpful preview. In the upcoming weeks we plan to roll out more features as they are vetted and tested, so stay tuned for more product announcements regarding the new Real Device Testing experience.

For those of you migrating from our Legacy TestObject platform, or using testing with Emulators and Simulators and want to try the new Application Storage, there is a helpful guide to get you started: Legacy Device Platform Migration Guide.

Return to the Product Announcements and Release Notes Blog



Sauce Labs is pleased to announce that we support iOS 14 beta on the Sauce Labs Real Device Cloud as of today!

You are now able to run tests and future-proof your products on the latest iOS version enabled on devices in both our European and US data centers.

Should you encounter any issue, we encourage you to get in touch with us as soon as possible.

 

Happy Testing!

 

Karla Schoenicke

Senior Product Manager - Mobile


Return to the Product Announcements and Release Notes Blog

Hello Sauce user!

Sauce Labs is pleased to announce that we now support Chrome 84 for testing your applications. 

 

Here is an example of the desired capabilities in Java using Selenium and W3C that we generated using our Platform Configurator:

Chrome 84
MutableCapabilities sauceOptions = new MutableCapabilities();

ChromeOptions browserOptions = new ChromeOptions();
browserOptions.setExperimentalOption("w3c", true);
browserOptions.setCapability("platformName", "Windows 10");
browserOptions.setCapability("browserVersion", "84.0");
browserOptions.setCapability("sauce:options", sauceOptions);




Return to the Product Announcements and Release Notes Blog

Our team is delighted to announce an update to our platform making it easier to switch between our Virtual Cloud data centers (“US West” and “EU Central”) and Headless:

  • When you log into your Sauce Labs account, you no longer have to select which data center you would like to access. You will automatically be connected to the data center you used in your previous session.

  • To switch between the US West, EU Central and Headless data centers, simply click the drop down menu in the upper right-hand corner of the Sauce Labs dashboard, and select the appropriate data center. You will not be logged out. 

  • This feature is available for all of our customers with access to Sauce Headless, including those using the SSO and Restricted Domain features.

This change is not applicable for the following users:

Screener users: Please continue to login at https://screener.io/login.


Happy Testing,

Aneta Pietruszka

Product Manager

Return to the Product Announcements and Release Notes Blog

Hello Sauce user!

Sauce Labs is pleased to announce that we now support Firefox 78 for testing your applications. 

Here is an example of the desired capabilities in Java using Selenium and W3C for both browsers that we generated using our Platform Configurator:


Firefox 78
MutableCapabilities sauceOptions = new MutableCapabilities();

FirefoxOptions browserOptions = new FirefoxOptions();
browserOptions.setCapability("platformName", "Windows 10");
browserOptions.setCapability("browserVersion", "78.0");
browserOptions.setCapability("sauce:options", sauceOptions);



Return to the Product Announcements and Release Notes Blog

We’re proud to announce the initial release of our improved UX for Real Device Testing on Sauce Labs! This release is the first round of efforts aiming to improve and consolidate the user experience between our current platform (saucelabs.com) and our legacy Real Device Cloud (RDC) platform (TestObject). This is a huge user experience shift and listed below are some changes you should expect to see:

What's Changing:

Users will now be able to access the following from their Sauce Labs account:

  • Appium and Selenium test automation for both virtual and real device projects.

  • Access to public and private real devices.

  • Access to Extended Team Management.

  • Access to Sauce Connect Proxy (and also IPSec VPN for enterprise customers).

    • As an extra compliance measure, Sauce is offering a feature that restricts the use of public real devices with Sauce Connect Tunnels or IPSec VPN. This setting is controlled by the organization administrator. To read more about the solution see the details on this page: Enable Sauce Connect Proxy/IPSec VPN for Public Cloud Devices.

Why This Matters:

In the upcoming weeks we plan to roll out more features as they are vetted and tested, so stay tuned for more product announcements regarding the new Real Device Testing experience.

For those of you migrating from our Legacy TestObject platform, there is a helpful guide to get you started, see Legacy Real Device Platform Migration Guide.

Return to the Product Announcements and Release Notes Blog



Hello Sauce user!

Sauce Labs is pleased to announce that we have released an update, replacing Safari 13.0 with the latest version, Safari 13.1. Please note that if your current tests are set specifically to Safari 13.0 that they will need to be reconfigured to specify 13 or 13.1 or “latest” in order for them to continue functioning. For more information on setting your capabilities, you can find additional documentation here.  



Here is an example of the desired capabilities in Java using Selenium and W3C:



Safari 13.1
MutableCapabilities sauceOptions = new MutableCapabilities();

SafariOptions browserOptions = new SafariOptions();
browserOptions.setCapability("platformName", "macOS 10.15");
browserOptions.setCapability("browserVersion", "13.1");
browserOptions.setCapability("sauce:options", sauceOptions);







Return to the Product Announcements and Release Notes Blog


Return to the Product Announcements and Release Notes Blog

Many of our customers have an internal network policy where public internet access is limited. For example, some specific websites may be banned. When using Sauce browsers and devices, we comply to the same rules. 

On the virtual side (desktop browsers and Emulators/Simulators), we have a setting in the organization administration area to set a VM in “lockdown mode”, meaning that all network traffic must tunnel through either Sauce Connect or the customers’ VPN.

In the case of real devices, setting the device proxy does not offer the same coverage because mobile apps and even device users can either override this setting or change this setting on the device. 

Instead, Sauce is offering a new ability to set private devices in a specific WiFi network that only works via Sauce Connect or the customers’ VPN.

There are a few limitations to this setting:

  • The setting applies only to private devices

  • The setting applies only to private devices that use WiFi exclusively (do not have SIM cards)

  • It is not a dynamic setting. Sauce needs to setup a device in a specific WiFi network. Therefore, this needs to be manually managed. Please contact Sauce to utilize this capability.


To read more about this setting, please visit Sauce security settings for organizations page.

Happy Testing!

Return to the Product Announcements and Release Notes Blog


Many of our users have been asking for a way to become better aware of news from Sauce: new platforms released, new features etc. We're excited to introduce the in-portal news indicator, telling you whether there are any announcements made (on this blog) since the last time you checked.

You can click on any article title to read it, or you can open the announcements blog in a new tab.

The news indicator will be rolled out on Monday, June 15th to many of our users, and will be generally available to all our users on Wednesday.

Happy testing!

We are very excited to announce the delivery of Camera Image Injection. This new capability allows for use cases that involve cheque scanning, barcodes and taking pictures for authentication purposes - especially relevant in Retail and the Banking sector. It is available for live and Appium automated testing on our Real Device Cloud, across all self-service and enterprise users.


On our blog we are covering the most common use cases and show how Camera Image Injection works for both Live Testing and Automation. And the Sauce Labs Cookbook contains a detailed guide on how to get started.


Happy Testing!


Karla Schoenicke

Senior Product Manager - Mobile


Return to the Product Announcements and Release Notes Blog


Hello, 

We have released Appium version 1.17.1 support for both iOS simulators and Android emulators. 

Here is an example of the desired capabilities in Java using Appium created using the Platform Configurator

Appium 1.17.1
DesiredCapabilities caps = DesiredCapabilities.android();
caps.setCapability("appiumVersion", "1.17.1");
caps.setCapability("deviceName","Android GoogleAPI Emulator");
caps.setCapability("deviceOrientation", "portrait");
caps.setCapability("browserName", "Chrome");
caps.setCapability("platformVersion", "10.0");
caps.setCapability("platformName","Android");


Return to the Product Announcements and Release Notes Blog