Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Testing mobile native and hybrid applications with Sauce Labs emulators and simulators is easy. All you need to do is:

  1. Update your test script with your Sauce Labs credentials and the path to the website you want to test, as shown in the example scripts in Example Appium Scripts for iOS Mobile Application Tests and Example Appium Scripts for Android Mobile Application Tests.
  2. Upload the application you want to test test to Sauce Storage or  or some other location where  where our emulators and simulators can connect to it. If the application you want to test is on localhost or behind a firewall, you'll need to set up a secure Sauce Connect tunnel so our browsers can connect to it. 
  3. Update your test script with your Sauce Labs credentials and the path to the application you want to test, as shown in the example scripts in Example Appium Scripts for iOS Mobile Application Tests and Example Appium Scripts for Android Mobile Application Tests.
  4. Set the desired capabilities of your test for the platformdevice/operating system /browser you want to test against, and the path to your application. The topics in Test Configuration and Annotation describe the various options for desired capabilities, or you can use our Platform Configurator to set up the desired capabilities of your test. 

...