Skip to end of metadata
Go to start of metadata

Both iOS and Android have specific requirements for being able to run mobile app tests on Sauce using real and virtual devices.

Virtual Device Requirements

iOS Requirements

  • The mobile application must be compiled for the simulator/device version of your choice
  • The mobile application must be hosted in a place that Sauce Labs can access, for example a remote location that's accessible over the internet, such as AWS, or a public GitHub repo, or in your temporary Sauce Storage

iOS Simulators: Zip it up!

Before you upload your iOS app to the location you want to test it from, you must package it as a .zip file.

  • After you've compiled your application, zip it into a .zip archive and make sure that the zip archive only contains your app directory
  • Before the test starts, upload the zip archive to the storage location.
    • If you're using Sauce Storage, get the returned location, which will look something like sauce-storage:myApplication.zip
  • In the test capabilities, use the location of the zip file for the the app desired capability.

Android Requirements

Apk it up!

Before you upload your Android app to the location you want to test it from, you must package it as a .apk file.

  1. After you've compiled your application, export the Android project from your development environment to create the .apk file. This StackOverflow article contains instructions on how to build an .apk file in Eclipse.
  2. Before the test starts, upload the .apk file to your storage location.
  3. In the test capabilities, specify the location of the .apk file, or the sauce-storage:app.apk URL as described in the topic on Temporary Sauce Storage .

Requirements for Testing Mobile Applications on Real Devices

For testing mobile apps on real devices, follow the same requirements as for virtual devices, and then set up your application with your real device project as described in the topics in the 


  • No labels