Testing with Sauce Labs

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

Android

No special setup is required to use the Axe Accessibility Analyzer for Android with Sauce Labs.

iOS

Requires:

  • Axe DevTools Mobile Desktop Analyzer 3.0.0 or later
  • A Sauce Labs account with private real iOS devices. The Desktop Analyzer uses Sauce Labs Real Device Access, and only private devices are listed.
  • Your iOS app build (.ipa) uploaded to Sauce Labs App Storage
  • Your Sauce Labs user name and access key, from the User Settings page in Sauce Labs

Use the Axe DevTools Mobile Desktop Analyzer to scan an iOS app running on a Sauce Labs real device. The Desktop Analyzer reserves the device for you, installs your app from Sauce Labs App Storage, and opens the device in Sauce Labs so you can move through your app in the browser. Scan each screen from the Desktop Analyzer; scans are saved to a report in Axe Developer Hub - the same way as scans of a local device.

You don't need an Apple ID or an iOS device connected to your Mac.

Connect to Sauce Labs

  1. Open the Desktop Analyzer and sign in to your Axe Account.

  2. On the Choosing a testing method screen, select Sauce Labs.

    Choosing a testing method screen with two options, Xcode and Sauce Labs, each with a Select button

  3. On the Connect to Sauce Labs screen, enter:

    • The Sauce Labs data center your account uses, US West (us-west-1) or EU Central (eu-central-1)
    • Your Sauce Labs user name
    • Your Sauce Labs access key
  4. Select Connect. The Desktop Analyzer checks your credentials.

    Connect to Sauce Labs screen with Data center, User name, and Access key fields, a Connect button, and a Choose a different method link

The Desktop Analyzer remembers your Sauce Labs connection until you sign out. To change it later, open the account menu in the header and select Sauce Labs connection. To test with Xcode instead, select Choose a different method on the Connect to Sauce Labs screen.

Scan your app

  1. Under Cloud devices, choose the device you want to use.

    Select the device screen with a Cloud devices list showing two private iPhones, each with a Select button

  2. The next screen asks you to Select the app. Under Application, choose your app build from App Storage. You can type to search for a build.

  3. Select Continue. The Desktop Analyzer reserves the device and installs your app. This can take a minute or two.

    Select the app screen with an Application drop-down and a Continue button

  4. On Scan your screen, select Open your Sauce Labs device in a new tab. The device opens in Sauce Labs in your browser.

    Scan your screen with the selected project, device, and app at the top, a link to open your Sauce Labs device in a new tab, a Scan name field, and a Scan button

  5. In Sauce Labs, go to the screen in your app that you want to scan.

  6. In the Desktop Analyzer, enter a Scan name or leave it blank, then select Scan.

  7. To scan another screen, select Add another scan to this report and repeat steps 5 and 6. The same device stays reserved between scans.

  8. When you're done, select Review and finalize report to post the results to your project in Axe Developer Hub. This ends the Sauce Labs session and releases the device.

note

The device stays reserved in Sauce Labs until you finalize the report. If you leave the scan before that - for example, by selecting Edit to change the app or by opening another screen from the header - the Desktop Analyzer asks you to confirm. Doing so will end the Sauce Labs session and release the device.