The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Insights

External Resources

More Info


Page tree
Skip to end of metadata
Go to start of metadata

Table of Contents

Uploading an Application from the Sauce Labs UI

You can test your mobile applications on a variety of real Android and iOS mobile devices with App Upload on Sauce Labs.

  1. Log in to Sauce Labs and go to Live Tests > Mobile-App
  2. At the top of the page you will see the name of the last app you tested. Click Change to select a different app.
  3. Select App Upload to upload an app to test 


  4. You can either drag and drop an application or browse for file.
  5. Please note that the app needs to be an APK or IPA file
  6. If you are looking for old apps that you have previously uploaded or if you want to create a new real device project. Please click the link at the bottom of the page 'Looking for Old Repository'. This will re-direct you to the old App Management UI with all your previously uploaded apps.

Running Real Devices Tests on Sauce Labs

Sauce Labs has unified the Sauce Labs Virtual Platform (app.saucelabs.com) and Sauce Labs Legacy Real Device Platform (app.testobject.com), under one platform - app.saucelabs.com, allowing customers to use the best of both worlds, Virtual Platforms like Emulators and Simulators, Desktop Web and Real Devices, under one unified platform, including shared APIs, endpoints, reporting, secure tunnels, analytics, etc.

Supported Use Cases for Real Devices on Sauce Labs (RDC on Sauce)

The following use cases are support in Phase 1:

  • You would like to execute Appium tests against a private real device hosted in the US, using your Sauce Labs username and access key

  • You would like to use Sauce Storage, for Appium testing, as you usually do for Emulators and Simulators tests

  • You would like to analyze Appium test executions, on Sauce Labs Dashboard (Dashboard / Automated Tests), similar to the way you do it for Desktop and Emulators and Simulators

  • You would like to consume Real Device Cloud (RDC) API similar to the way you do for Emulators and Simulators (with applicable RDC settings)

RDC on Sauce Labs Endpoints

RDC on Sauce Examples

Unified Platform Appium Testing Example
private URL createUrl() throws MalformedURLException {
    return new URL("https://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.us-west-1.saucelabs.com/wd/hub");
}
 
@BeforeEach
void setUp() throws MalformedURLException {
    DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
    desiredCapabilities.setCapability("platformName", "iOS");
    IOSDriver driver = new IOSDriver(createUrl(), desiredCapabilities);
} 

RDC on Sauce API

Learn more here.