Open Source Tools - Robotium Android & Appium

Sauce AI for Test Authoring: Move from intent to execution in minute.|xBack to ResourcesBlogPosted June 10, 2016

Exposed Source Tools - Robotium Android & amp; Appium

Robotium is a popular Android automation model for testing native and intercrossed Android apps.

quote

Open Source Tools - Robotium Android & amp; Appium

Is Robotium Android in line with wandering essay best praxis?

There are many mechanization tools for Android available, and choosing one can be a unmanageable labor.Robotiumis a popular Android mechanization framework for testing native and hybrid Android apps employ the black box method. Licensed under an Apache 2.0 license and first released in 2010, Robotium has strengths and weaknesses just like any other model.

We ’ ll look into how Robotium Android testing plant, and discuss how it differ from Appium, the cross-platform mobile mechanization framework the ability mobile testing on Sauce.

Robotium aims to make writing tests for simulating user actions such as touching, clicking, and typing simpleton. It can be used if you have the source code for the app or if you only get the apk files, and can run on either emulators or existent devices. To use Robotium, you need either the root codification or apk file for the app, Eclipse for establish a test project, ADT (Android Development Tools), SDK (Software Development Kit), JDK (Java Development Kit), and the Robotium.jar file.

Robotium is a popular fabric for scat automated Android test because of its ease of use, fast performance, and legibility of trial, and because you can germinate powerful test cases with minimal noesis of the application under test. Robotium Android tests are robust because of the run-time binding to GUI factor. However, there are a number of aspects in which Robotium do not surpass, and it ’ s for these limitations that Sauce supports Appium.

Appium ’ s doctrine for mobile mechanisation postdate four rules:

  1. Test the same app you submit to the market

  2. Write tests in any speech

  3. Use a standard automation specification and API

    For autonomous testing across multiple user personas, check out SUSATest — it explores your app like 10 different real users.

  4. Build a large and roaring open-source community exploit

We trust, exactly as those involve in the Appium undertaking do, that these four principles are important in building a pliable, robust, cross-platform automation tool.

appium framework


As you can see in the diagram above, the Robotium Android automation framework see only one of these four rules.

Robotium requires developer to create a freestanding test application from the chief application. This interrupt the first rule of Appium ’ s philosophy, which means that when utilise Robotium to test Android apps, developers need to be careful that they aren ’ t releasing glitch or regression that don ’ t occur in the test build.

Robotium Android examination can not be written in any lyric or use any framework, creating limit for developer who might want to use specific speech or frameworks to test their apps.

Another aspect to note is that Robotium tests can only be run on one device at a clip. This means that you can not run one tryout against a host of device, which can make scaling testing difficult.

And, as the name hint, Robotium is a framework that only allows you to test Android applications. While it is emphatically a good tool for doing so, Sauce endeavour to be as platform agnostic as potential, which is why we consider that Appium is a outstanding tool for wandering automation.

To learn more about nomadic test on Sauce, control out ourmobile prove page, or read our Appium tutorial.

Interested in diving in and trying Sauce Labs for Android testing?

Sauce Labs makes automatise testing awesome. Our cloud-based platform facilitate developers test native & amp; hybrid mobile and web applications across 700+ browser / OS platform, including iOS, Android & amp; Mac OS X. Sauce supports Selenium, Appium and democratic JavaScript unit prove fabric, and integrates with all of the top programming words, tryout frameworks and CI scheme. With built-in video recording and screenshots of every test case, debugging creature, and secure tunneling for local or firewalled testing, Sauce do run, debugging and scale test suites quick and easy.

LinkedIn
© 2026 Sauce Labs Inc., all rights earmark. SAUCE and SAUCE LABS are file trademarks owned by Sauce Labs Inc. in the United States, EU, and may be registered in other jurisdiction.
robot
quote

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free