Blog from March, 2018

Over the past few days, we have released new versions of our CI Plugins( Sauce OnDemand Plugin for Jenkins v(1.173), Bamboo (1.6.85) & Team City(1.45) & VSTS (0.1.14)) that contain important bug fixes and feature updates. 

Jenkins Plugin Updates

  • Fix JENKINS-45892
  • Add missing sauce username field in sent data
  • Multithread stopjob Sauce API command as it was taking 11 seconds per request (used for the cleanup checkbox option)
  • Check for new jobs when updating Sauce jobs data

Bamboo Plugin Updates 

  • Update deprecated Bamboo methods

Team City

  • Added the support for automatically using the latest version of the Sauce Connect when executing builds

VSTS

  • Resolved issues with Sauce Connect on a specific version of Windows. 

If you have any questions please reach out to help@saucelabs.com 

Thank You,

Sauce Labs Product Team.

Return to the Product Announcements and Release Notes Blog

Return to the Product Announcements and Release Notes Blog

 

Sauce Labs is happy to announce beta support for the W3C capabilities and protocol on Selenium 3.8.0 and above. Some features are now being added to Selenium, which are only available when executing the W3C protocol. In upcoming Selenium releases, there may be extended capabilities with W3C that are not backward compatible with previous Selenium versions. To make these features available to you, and in preparation for the complete transition to the W3C protocol, Sauce Labs wants to offer you an early opportunity to test using the new protocol.

In addition to staying up-to-date with the latest and greatest Selenium version, you’ll have an opportunity to take advantage of new features and provide Sauce better feedback during this exciting transition. More information on changes as they pertain to the W3C protocol can be found here: https://www.w3.org/TR/webdriver/ 

 

How to join this beta

To get started, you’ll need to make a few changes to the way you test.

First, ensure you are using a Selenium language binding version that supports W3C. Language bindings can be downloaded here: https://www.seleniumhq.org/download/ 

Change the name of the capability to browserVersion and set the version to “latest”, or use one of these W3C compatible browser versions:

  • Safari - v.11+

  • Firefox - v.53+

  • Chrome - v.61+

  • Internet Explorer 11

  • Microsoft Edge


Finally, to make the transition as seamless as possible, we’re introducing sauce:options, a new capability in which you include all the capabilities that are specific to Sauce Labs.

For example, if you wanted to specify your Sauce username, access key, and the Selenium version in your test, you would set the sauce:options like this:

"sauce:options": {“username”: “myuser”, "accesskey": "XXXXXXXX", “seleniumVersion”: “3.11.0”}


All the capabilities that are specific to Sauce Labs can be found here :


Beta Checklist

Make sure to run through this checklist before you begin testing on the new protocol to ensure proper set up.

  1. "sauce:options" must be specified for the test to use the w3c protocol. Sample java code snippet here 

  2. Put all capabilities that are specific to Sauce Labs underneath “sauce:options”, e.g. "sauce:options": {“username”: “myuser”, “seleniumVersion”: “3.11.0”} sauce specific capabilities

  3. Change your capabilities to specify "seleniumVersion": “3.8.0”. The minimum supported version is 3.8.0; we recommend the latest version 3.11.0.

  4. Change the "platform" capability to "platformName"

  5. Change the “version” capability to “browserVersion”

  6. Additionally, for tests on Google Chrome, "chromeOptions" should be changed to "goog:chromeOptions", and "goog:chromeOptions": {"w3c": "true"} must be specified.

If you're encountering problems, we recommend watching this video we created to walk you through the changes for a sample java test.

 

Once the changes above have been implemented, you’re ready to test! We want to hear your feedback. You can make suggestions or report problems in a Slack channel devoted to this beta testing.  To join the channel, please email us at productteam@saucelabs.com

 

Thanks and happy testing!

Samantha Coffman

Product Manager


Return to the Product Announcements and Release Notes Blog

We are beta testing high resolution (440 - 575 ppi) phones and tablets from Samsung and Google. These new emulators allow users to test Responsive Layouts on multiple screen resolutions and sizes. Extra-extra-high-density devices account for 22% of all Android devices. 

The new emulators are only supported on Android 7.0 and 7.1. Below is a full list of all the high resolution emulators that are being beta tested:

 

Device

Screen Size

Resolution

Device Name

Google Pixel

5”

1080 x 1920

"Google Pixel GoogleAPI Emulator"

Samsung Galaxy S7

5.1”

1400 x 2560

"Samsung Galaxy S7 GoogleAPI Emulator"

Samsung Galaxy S6

5.1”

1400 x 2560

"Samsung Galaxy S6 GoogleAPI Emulator"

Samsung Galaxy S7 Edge

5.5”

1400 x 2560

"Samsung Galaxy S7 Edge GoogleAPI Emulator"

Samsung Galaxy S8

5.8”

1400 x 2960

"Samsung Galaxy S8 GoogleAPI Emulator"

Samsung Galaxy S8 Plus

6.2”

1400 x 2960

"Samsung Galaxy S8 Plus GoogleAPI Emulator"

Samsung Galaxy Tab S3

9.7”

1536 x 2048

"Samsung Galaxy Tab S3 GoogleAPI Emulator"

Samsung Galaxy Tab A 10

10.1”

1200 x 1920

"Samsung Galaxy Tab A 10 GoogleAPI Emulator"

Google Pixel C

10.2”

2560 x 1800

"Google Pixel C GoogleAPI Emulator"


To test on one of the above emulators, please set the deviceName Desired Capability to the appropriate value. For better performance, it is recommended to also set the automationName Desired Capability to "uiautomator2". Below is an example in Python to test on a Samsung Galaxy S8 emulator. Please refer to the Platform Configurator for Device Names of all the emulators.

 

caps['deviceName'] = "Samsung Galaxy S8 GoogleAPI Emulator"
caps['automationName'] = "uiautomator2"

We would appreciate your observations, as these emulators are in beta testing. Please reach out to me at cy@saucelabs.com with any feedback or questions.

 

Return to the Product Announcements and Release Notes Blog

New versions of Chrome and WebView have a strong adoption rate and market share. This update allows users to test Web and Hybrid apps on a newer, popular version of Chrome and WebView respectively. 

Below is a sample set of Appium Desired Capabilities in Python to launch a Web test session.

caps = {}
caps['appiumVersion'] = "1.7.2"
caps['deviceName'] = "Android GoogleAPI Emulator"
caps['deviceOrientation'] = "portrait"
caps['browserName'] = "Chrome"
caps['platformVersion'] = "7.0"
caps['platformName'] = "Android"


Please refer to the Platform Configurator to lookup Desired Capabilities for other configurations.

Return to the Product Announcements and Release Notes Blog

We are happy to announce general availability for XCUITest on the Sauce Labs Real Device Cloud (RDC).

XCUITest is the automation framework that ships with Apple’s Xcode. The XCTest framework lets iOS app developers create and run unit tests, performance tests and UI tests for Xcode projects.

     

    

 

To access the new capability, please contact your Customer Success Manager or support@saucelabs.com.
Learn more on using XCUITest for Real Device Testing here.

 

Happy Testing,
Asaf Saar

Director of Product Management


Return to the Product Announcements and Release Notes Blog

 

Dear Sauce user,

Our team has been hard at work, and as a result we are happy to announce support for Firefox 59 on Sauce Desktop platforms. This update is available on all Mac and Windows Desktop platforms supported by Sauce.

Please set Firefox Desired Capability, "version" to "59.0" or "latest" to test on Firefox 59. Below is an example in Java to test on Firefox 59.

DesiredCapabilities caps = DesiredCapabilities.firefox();

caps.setCapability("version", "59.0");

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


Thanks and happy testing!

Samantha Coffman

Product Manager


Return to the Product Announcements and Release Notes Blog

 

Sauce Labs is happy to announce Real Device Cloud support for iOS 11.3 beta.

Private Cloud customers interested in upgrading one or more of their iOS 11.3 beta supported private devices should contact the customer success manager or the support team at support@saucelabs.com and request the upgrade immediately to the latest beta version.
11.3 beta is not supported on public devices.

 

 

Happy Testing!

Asaf Saar
Director of Product Management


Return to the Product Announcements and Release Notes Blog

 

Sauce Labs is proud to announce support for the latest and greatest Samsung Galaxy S9 and S9 Plus on Sauce Labs Real Device Cloud.
The official release date of the new S9 is set to March 16th, yet we are very happy to have these running on our Public Cloud as of this morning. Private Cloud customers interested in adding the latest phones to the private clouds should contact their Account or Customer Success Manager and have these added.


Happy Testing.
Asaf Saar
Director of Product Management
As part of our efforts around to help our customers understand the root cause of test failure as well increase test coverage, we are rolling 2 custom WebDriver commands 3 new log types.  

New commands - sauce:throttle,  sauce:intercept 
New log types - sauce:network, sauce:metrics, sauce:timing
 
These new tools are extensions of what we can do with Extended Debugging on top of extracting HAR Files and JS Console logs and would allow our customers to expand on the test cases that are not accessible via standard Selenium WebDriver calls. The commands are meant to expose the built-in browser features to that they can be used in the context of automated testing.
You can find out more information by following the link below  


1) Network Emulation Command 
Command -  sauce:throttle
Goal: Allow customers to test the application under various network conditions

 

client
    .init()
    .execute('sauce:throttle', {
        condition: 'GPRS'
        /**
 * other predefined conditions are
 * offline, GPRS, Regular 2G, Good 2G, Regular 3G, Good 3G, Regular 4G, DSL, Wifi
 */
    })
    .end().catch(console.error)

 

 

2) Mock API Responses & Redirect 
Command -  sauce:intercept
  
Goal: Allow customers to either redirect requests to a different place or mock up api response and eliminate the need to wait for the API to load.

Mock Up Example

.execute('sauce:intercept', {
        response: {
            headers: {
                'x-custom-header': 'foobar'
            },
            body: [{
                title: 'Hello',
                order: 1,
                completed: false,
            }, {
                title: 'Slav',
                order: 1,
                completed: false,
            }, {
                title: 'what\'s',
                order: 1,
                completed: false,
            }, {
                title: 'up?',
                order: 1,
                completed: false,
            }]
        }
    })

 Redirect  Example  

client
    .init()
    .url('https://saucecon.com/')
    .pause(2000)
    .execute('sauce:intercept', {
        url: 'https://saucecon.com/wp-content/uploads/2017/07/SauceCon-hero-img-100-2.jpg',
        redirect: 'http://www.readersdigest.ca/wp-content/uploads/2011/01/4-ways-cheer-up-depressed-cat.jpg'
    })
    .url('https://saucecon.com/')
    .pause(3000)
    .end().catch(console.error)

 


Please let us know if you have any questions by reaching out to help@saucelabs.com . 

Return to the Product Announcements and Release Notes Blog

 

Starting today Extended Debugging functionality is available for web tests executed on Android Emulators 6.0/7.0/7.1 + Chrome

We are always looking for ways to help QA teams debug tests on Sauce Labs and by enabling extended debugging tools on the Android Emulators users are can understand the root cause of the problem by getting access them the important information about the Javascript and Networking issues that application encountered during the test.

In order to start using it, simply add the following line to the desired capabilities of the test all the new information will be automatically attached to the job.

"extendedDebugging": true

 

To learn more about Extended Debugging please following the link below

 

If you have any questions please reach out to us at help@saucelabs.com

-- 

Sauce Labs Product Team

Return to the Product Announcements and Release Notes Blog

 

Return to the Product Announcements and Release Notes Blog

This is a follow-up to our initial notice on February 8th, 2018.

Sauce Labs will EOL simulator support for iOS versions 9.2 and below on March 9th. iOS versions 8.x, 9.0, 9.1 and 9.2 have steadily lost market share and have an adoption rate of less than 1%.

After March 9th, you have two options if you need to test on an older version of iOS.

  • Use iOS version 9.3 on Sauce simulators.

  • Use iOS version 9.0 or above on Sauce real devices.


Please contact support@saucelabs.com if you have any questions about the above issue.

Sauce Labs is pleased to announce the release of Sauce Connect Proxy 4.4.12.

This release includes these changes. Use the download links to get that latest and previous versions.

Version NumberChange DescriptionRelease Date

4.4.12

  • The Sauce Connect Proxy client now starts up properly on MacOS X 10.11 and below.

  • The Sauce Connect Proxy client now terminates if it cannot connect to the Sauce Cloud for more than 5 minutes.  

Feb 28 2018

4.5.4

Download Link

SHA1 Checksum

Download Sauce Connect v4.5.4 for Mac OS 10.8+
67d05407c31dc00ee60b8ab65d7ced93d6fa610f
Download Sauce Connect v4.5.4 for Windows 7+
1d908877b04bdd7706d8b2b9caba2066dd146644
Download Sauce Connect v4.5.4 for Linux
dc5efcd2be24ddb099a85b923d6e754754651fa8
Download Sauce Connect v4.5.4 for Linux 32-bit
cea33671d0f0fa38d8b6eb9d484d5f9c216531b8


Previous versions of Sauce Connect Proxy

 Click here to expand...

4.5.3

Download Link

SHA1 Checksum

Download Sauce Connect v4.5.3 for Mac OS 10.8+
3f07a355ed454516688500054ac579741e3812a8
Download Sauce Connect v4.5.3 for Windows 7+
6fa749b5273053dc261f8d9b122b02409e9377f9
Download Sauce Connect v4.5.3 for Linux
c7ad595a2a42f837fab91de3c3f51b49f2af6b36
Download Sauce Connect v4.5.3 for Linux 32-bit
1727d35fe9ad10f891aa21f853aaf119f4f43adb


4.5.2

Download Link

SHA1 Checksum

Download Sauce Connect v4.5.2 for Mac OS 10.8+
04d3aed5dd2391dba5ffb4ef7c07ebed2da0720d
Download Sauce Connect v4.5.2 for Windows 7+
03f8106ad947ecfa187ca31d355b55c89ae92d42
Download Sauce Connect v4.5.2 for Linux
2a923ca09bab5d8096844ace36f4a89994364482
Download Sauce Connect v4.5.2 for Linux 32-bit
57dba5324515157f0954ef47871a9963b2f5fc8e


4.5.1

Download Link

SHA1 Checksum

Download Sauce Connect v4.5.1 for Mac OS 10.8+
adb6c71c091a970a7126ccfa4157218a0e608174
Download Sauce Connect v4.5.1 for Windows 7+
a74d632a8f90763a98759e82200c9f8dca08e45b
Download Sauce Connect v4.5.1 for Linux
5ca9328724c5ff16b12ea49e7a748d44f7305be5
Download Sauce Connect v4.5.1 for Linux 32-bit
ad0359956e1cbb6fd45ad691d050b50534bff765

4.5.0

Download Link

SHA1 Checksum

Download Sauce Connect v4.5.0 for Mac OS 10.8+
24913e3b442af323d62b94fbdd7ad218cec58534
Download Sauce Connect v4.5.0 for Windows 7+
f4668b9a4b7834c3aedf73a930695e3b9f492d06
Download Sauce Connect v4.5.0 for Linux
06e52acbbde3668a8effbf0dc970b40e32763fa6
Download Sauce Connect v4.5.0 for Linux 32-bit
2473df68b567098e14ac2199d14813c2be389867

4.4.11

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.11 for OS X 10.12+
9b8fe1342b94518b9a4e3bc7933cf93873461910
Note: Contains a major bug on OS X 10.11 and below, please use SC 4.4.12 instead. 
Download Sauce Connect v4.4.11 for Windows 7+
c6e9f3f2a99411da00e22147918d50360af5f989
Download Sauce Connect v4.4.11 for Linux
4a70c3a559913274a35b056a6e5d274cdbe4fdec
Download Sauce Connect v4.4.11 for Linux 32-bit
d9c8bfefeecf9244eb0f543b60496d9a0f007437

4.4.10

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.10 for OS X 10.8+
d02832aa7879ee44722d6f65a7c7730696a41d09
Download Sauce Connect v4.4.10 for Windows 7+
7da842be68ac8391697d3dee8b231a6caf372a76
Download Sauce Connect v4.4.10 for Linux
dc0210fbc99a609f01c1a50a9fb6e77c2293cfd8
Download Sauce Connect v4.4.10 for Linux 32-bit
7da842be68ac8391697d3dee8b231a6caf372a76

4.4.9

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.9 for OS X 10.8+
80720ce6640a000d6d0fa84e8f4d692b90918f91
Download Sauce Connect v4.4.9 for Windows 7+
4ecdacbb8b25f62308a4a39c624bf1e1dc3fde45
Download Sauce Connect v4.4.9 for Linux
733745d519cde6def195878140340ecb806cdf21
Download Sauce Connect v4.4.9 for Linux 32-bit
7add5bee0fce38a008909cdc75522063e6f45f0b

4.4.8

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.8 for OS X 10.8+
8964dde5a902842f1f26e3a2e47094a9146b06e2
Download Sauce Connect v4.4.8 for Windows 7+
ab61fc041f5d418eb9f3f75b4495f38cacfb35fd
Download Sauce Connect v4.4.8 for Linux
e0ec01aba8bd523838349af54582a2674b107dbb
Download Sauce Connect v4.4.8 for Linux 32-bit
779552aa573a675629bf42a9410454dc3286e958

4.4.7

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.7 for OS X 10.8+
6f3e693135294e536cd99fc9f9d3b55532c68172
Download Sauce Connect v4.4.7 for Windows 7+
2ada3428a1f291c7c669f96009295582d2d7438b
Download Sauce Connect v4.4.7 for Linux
edb6816c873cc4cdf1d099e1534778d35f184942
Download Sauce Connect v4.4.7 for Linux 32-bit
adf56c6e098e9512179f0cc03848e948e5f9dbc2

4.4.6

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.6 for OS X 10.8+
b0a2307391e5606018437d9ec7aca41a48c8f6f0
Download Sauce Connect v4.4.6 for Windows 7+
6e8523b674b01618098a89cde38a6eb127191b27
Download Sauce Connect v4.4.6 for Linux
9c47e879ad504442a9a050f2bc1fca104d82b4da
Download Sauce Connect v4.4.6 for Linux 32-bit
98a52ab215b62b649e0455b75a9cc598d0024812


4.4.5

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.5 for OS X 10.8+

49829d719e46a398504deda77dc3a13ac8b31dd9

Download Sauce Connect v4.4.5 for Windows 7+

e8f84a1ec4ce1acabdbd489e22d577949dbfb61c

Download Sauce Connect v4.4.5 for Linux

ee0f6d4a52975d55c4c005d9730f0bef533d1878

Download Sauce Connect v4.4.5 for Linux 32-bit aa42f7d16a59474efd950c604f996bdcc2d45544

4.4.4

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.4 for OS X 10.8+

71e4961900f7ad19c33ad59b543051a7524611da

Download Sauce Connect v4.4.4 for Windows 7+

f6f258439cf86f5c54d1a990fecb6b5197eb073e

Download Sauce Connect v4.4.4 for Linux

d0992449388560c89b25f996cc163a3ffd09922a

Download Sauce Connect v4.4.4 for Linux 32-bit

ede12d6c95ef8b90bbba34ee2ab98d467cc229da

4.4.3

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.3 for OS X 10.8+

f5d6d0a8727e0b91225d3af03555092bd72a70a3

Download Sauce Connect v4.4.3 for Windows 7+

4b4445c95d722e43c09c41eac5fa6659cacd2b45

Download Sauce Connect v4.4.3 for Linux

c675da6d59da873502f87dfdfa76a528bd702d92

Download Sauce Connect v4.4.3 for Linux 32-bit

fa668557a672200df86f4dc8e85d573fce5dc7c0


4.4.2

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.2 for OS X 10.8+
a7e04143c3150975e72ae8fef38067d2752dec8f
Download Sauce Connect v4.4.2 for Windows 7+
697646350a7ea0a446ac4c55853aa20514a7984c
Download Sauce Connect v4.4.2 for Linux
57a07a14c5d95d72b6606ba34fceaf5bf76c2865
Download Sauce Connect v4.4.2 for Linux 32-bit
d45a7befba6355767d5ca868137ee9332628a790

4.4.1

Download Link

SHA1 Checksum

Download Sauce Connect v4.4.1 for OS X 10.8+
7962a635b66a7a015c7a5f62d6f36bca7c923062
Download Sauce Connect v4.4.1 for Windows 7+
4942e4d4e050e218043f81f877034bbddf87f9dd
Download Sauce Connect v4.4.1 for Linux
eb15689b0a3e23bee9737e36d6d925a77ae16989
Download Sauce Connect v4.4.1 for Linux 32-bit
6542956db84eae9bcbe604a9054aa9079923fdad

Return to the Product Announcements and Release Notes Blog

Dear Sauce user,

Our team has been hard at work, and as a result we are happy to announce support for Chrome 65 on Sauce Desktop platforms. This update is available on all Mac and Windows Desktop platforms supported by Sauce.

Please set "version" Desired Capability to "65.0" or "latest" to test on Chrome 65.

Here’s an example of desired capabilities in Java:

DesiredCapabilities caps = DesiredCapabilities.chrome();
caps.setCapability("version", "65.0");

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

We want to call out a change in this version that could impact visual testing. There will now be an info bar saying when the browser is being controlled by an automated test. An update to the baseline image may be required.

Thanks and Happy Testing!
The Sauce Labs Team.