Blog from May, 2018

We are happy to announce that Google Play Services has been updated to version 12.5.21 on all emulators.

 

Return to the Product Announcements and Release Notes Blog

 

Every Sauce virtual environment is a brand new, clean test environment designed to reduce test flake. The cost of this approach is the additional time taken to create a fresh, clean environment. But now you can have the best of both worlds, we optimized Appium setup process to cut test startup time by 30 seconds. The below chart compares average test startup time before and after the optimization.

 


Return to the Product Announcements and Release Notes Blog

 

We added new emulators for the following Samsung Galaxy S devices.

  • S7, S7 Edge
  • S8, S8+
  • S9, S9+

The above devices support three different resolutions - HD, Full HD and Wide angle quad HD. Below is a screenshot from a real S7 device showing the three available resolutions. 

 

The new emulators allow users to select both the device and the resolution. Below is the full list of new emulators along with their screen size and resolution. Please use Sauce Platform Configurator to look up the desired capabilities for the below emulators.

 

Real DeviceScreen SizeResolutionEmulator Name
S9+6.2"WQHD+ (2960 x 1440)Samsung Galaxy S9 Plus WQHD GoogleAPI Emulator
FHD+ (2220 x 1080)Samsung Galaxy S9 Plus FHD GoogleAPI Emulator
HD+ (1480 x 720)Samsung Galaxy S9 Plus HD GoogleAPI Emulator
    
S95.8"WQHD+ (2960 x 1440)Samsung Galaxy S9 WQHD GoogleAPI Emulator
FHD+ (2220 x 1080)Samsung Galaxy S9 FHD GoogleAPI Emulator
HD+ (1480 x 720)Samsung Galaxy S9 HD GoogleAPI Emulator
    
S8+6.2"WQHD+ (2960 x 1440)Samsung Galaxy S8 Plus WQHD GoogleAPI Emulator
FHD+ (2220 x 1080)Samsung Galaxy S8 Plus FHD GoogleAPI Emulator
HD+ (1480 x 720)Samsung Galaxy S8 Plus HD GoogleAPI Emulator
    
S85.8"WQHD+ (2960 x 1440)Samsung Galaxy S8 WQHD GoogleAPI Emulator
FHD+ (2220 x 1080)Samsung Galaxy S8 FHD GoogleAPI Emulator
HD+ (1480 x 720)Samsung Galaxy S8 HD GoogleAPI Emulator
    
S7 Edge5.5"WQHD (2560 x 1440)Samsung Galaxy S7 Edge WQHD GoogleAPI Emulator
FHD (1920 x 1080)Samsung Galaxy S7 Edge FHD GoogleAPI Emulator
HD (1280 x 720)Samsung Galaxy S7 Edge HD GoogleAPI Emulator
    
S75.1"WQHD (2560 x 1440)Samsung Galaxy S8 WQHD GoogleAPI Emulator
FHD (1920 x 1080)Samsung Galaxy S8 FHD GoogleAPI Emulator
HD (1280 x 720)Samsung Galaxy S8 HD GoogleAPI Emulator

 

It is strongly recommended to use the above emulators instead of the old emulators listed below.

DeviceEmulator Name
S8+Samsung Galaxy S8 Plus GoogleAPI Emulator
S8Samsung Galaxy S8 GoogleAPI Emulator
S7 EdgeSamsung Galaxy S7 Edge GoogleAPI Emulator
S7Samsung Galaxy S7 Edge GoogleAPI Emulator 

 

Below is a screenshot of display metrics for a real Galaxy S9 device at WQHD resolution and an emulator for Galaxy S9 at the same resolution.

Real S9Emulator for S9


Return to the Product Announcements and Release Notes Blog

 

Users can now use their local keyboard to interact with Android emulators during live or manual test sessions. Users are no longer limited to just the software keyboard provided by the emulator. Below is a short demo of the functionality. In the demo the search term "best beaches" is entered using an external keyboard.

Please note that external keyboard is disabled during automated tests, this is similar to real world devices which usually don't have an external keyboard. Users will not be able to interact with emulators during an automated test using an external keyboard.

 

 

Return to the Product Announcements and Release Notes Blog

 

Return to the Product Announcements and Release Notes Blog

 

In our continuing efforts to provide the best performing, most up-to-date platform for our users, Sauce Labs will discontinue support for Flash player on June 10, 2018We made this decision due to Adobe announcing they are no longer supporting Flash at the end of 2020. We will be moving our videos to MP4, which is a more modern codec.

You will not have to do anything to make the change, we will update automatically on June 10th, however, if you'd like to begin recording test videos in MP4 format now you can update your desired capabilities to include (example is in Java):

caps.setCapability("recordMp4", true);

If you have any hard coded scripts utilizing our rest API that include .flv, please update those to .mp4 by June 10th so you don’t get any errors.

Please contact support@saucelabs.com if you have any questions or need additional information.

Return to the Product Announcements and Release Notes Blog

Sauce Labs is happy to announce RDC support for Dynamic Device Allocation for XCUITest Test Runner.

XCUITest users can use the new --deviceNameQuery parameter to dynamically allocate an available device for the test run based on the defined parameters.

Usage of dynamic device allocation require an upgrade of the Test Runner to v1.3.

A few examples of using dynamic device allocation with XCUITest

 

Allocating any device:

java -jar runner.jar xcui --test <test.ipa> --app <app.ipa> --username <username> --apikey <apikey> --datacenter <datacenter>

Allocating any iPhone Plus device:

java -jar runner.jar xcui --test <test.ipa> --app <app.ipa> --username <username> --apikey <apikey> --datacenter <datacenter> --deviceNameQuery "iPhone.*Plus"

Allocating any Tablet:

java -jar runner.jar xcui --test <test.ipa> --app <app.ipa> --username <username> --apikey <apikey> --datacenter <datacenter> --tabletOnly

Allocating any iPhone Plus device running iOS 11:

java -jar runner.jar xcui --test <test.ipa> --app <app.ipa> --username <username> --apikey <apikey> --datacenter <datacenter> --deviceNameQuery "iPhone.*Plus" --platformVersion 11

Allocating any private device running iOS 11:

java -jar runner.jar xcui --test <test.ipa> --app <app.ipa> --username <username> --apikey <apikey> --datacenter <datacenter> --privateDevicesOnly --platformVersion 11

 

Learn more on RDC XCUITest here

Return to the Product Announcements and Release Notes Blog

As we continue our mission to provide our users with the best coverage for testing applications, we are happy to announce that Sauce Labs now supports Edge 17 on Windows 10. 

Here is an example of the desired capabilities in java: 

DesiredCapabilities caps = DesiredCapabilities.edge();
caps.setCapability("platform", "Windows 10");
caps.setCapability("version", "17.17134");

Our Platform Configurator has also been updated to reflect this newest version.

Happy Testing,
Samantha Coffman
Product Manager