The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Analytics

External Resources

More Info


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

When you create a real device project, normally you upload and store the application you want to test on the Sauce Labs servers. As you develop your application and upload new versions of it, Sauce Labs will keep track of the different versions. However, there may be situations where you want to install an application directly onto a real device from a remote location. The application is completely removed from the real device after the test completes, providing an added layer of security for your application.


Each Session is a "Fresh" Install

You will not be able to access information about different versions of your application because each session includes a "fresh" installation of your application. 

For Automated Appium Testing Only

You can only install remote applications for automated Appium testing. Espresso and Robotium automated tests are not supported. Live Testing is also not supported.

Using the Real Devices on Sauce Labs:

There may be situations where you want to install an application from a downloadable remote location (AWS S3 bucket, a GitHub repository, etc.). Please review the following guidelines below before uploading your application:

  1. Make sure your application meets the prerequisite requirements for Android and iOS Mobile Application Testing.
  2. Upload your application to the hosting location.
  3. Ensure Sauce Labs has READ access to the app URL.
  4. In your Appium test script, enter the URL for the application as the "app" desired capability. Below is an example Java snippet:

    desiredCapabilities.setCapability("app", "https://drive.google.com/uc?export=download&id=1balA7M1p4cM-JgGh6aKbuGiPE4bPStDK");


Using the Legacy Test Object Platform:

  1. Click New App to create your project.
  2. Click Install Remote, enter the name of your application, and click Save.
  3. In your Appium test script, enter the URL for the application as the "app" desired capability. Below is an example Java snippet:

    desiredCapabilities.setCapability("app", "https://drive.google.com/uc?export=download&id=1balA7M1p4cM-JgGh6aKbuGiPE4bPStDK");