Skip to main content

Appium on Sauce Labs

Looking to incorporate Appium in your mobile testing strategy? This page can help you understand the system architecture and requirements, as well as how to design a test strategy that yields the most meaningful results.

Appium is an automation testing framework that allows you to write tests using the Selenium syntax that are for use in testing native, mobile web, and hybrid applications on iOS and Android devices. Run your Appium tests on Sauce Labs to benefit from speed, parallelization, clear test result history, failure analysis, issue tracking, and more.

What You'll Need#

Appium Architecture#

Appium has a client-server architecture, meaning the user installs a client application locally that translates test session configuration details into requests to the remote Appium server, which processes them and responds with results and related material that Sauce Labs can then render into meaningful results in your dashboard.

The Appium client is a programming language-specific set of client libraries in which you write your test scripts. The Appium client library is a wrapper of Selenium client libraries designed specifically for use with the unique needs of mobile device operating systems.

The Appium server component, based on node.js, exposes a superset of the JSON Wire Protocol, known as the Mobile JSON Wire Protocol. The Appium server also supports elements of the W3C Webdriver spec, which allows it to support a wide variety of test specification formats.

There is also an Appium desktop application option available for Mac, Windows, and Linux environments that offers a graphical interface experience for the Appium server and bundles many of the system dependencies (including Node/NPM).

note

Appium Desktop is currently supported by the Appium core team.

How to Get Started#

  • Quickstart: Quickly set up a Java test environment and run a pre-configured working test using Appium to see if this is the right method for your mobile test objectives.
  • Real Devices: If you already have an Appium test infrastructure, set it up to test on Sauce Labs library of real devices.
  • Virtual Devices: You can also run your tests against Sauce Labs extensive combination of simulators and emulators for broader selection of devices and options.