Mobile Automation Test Framework Comparison

Source: Internet
Author: User
Tags appium

1.monkey

Monkey is Google's own thing, it can generate some pseudo-random user event streams such as analog user clicks and other gestures, as well as some system-level events. It should be the originator of the current popular mobile automation framework or tools. Monkey should be considered as a client-side Performance testing Tool , testing the stability of client applications, robustness is quite good. Monkey does not need to be installed in the Platform-tools directory of the Android SDK. This path can be configured into the path of the system variable when the SDK environment is configured, and can be used directly from the command.

2.Monkeyrunner

Monkeyrunner is also a test tool that comes with the Android SDK, and looks like the monkey, but their role is entirely in different fields. Monkey more for client performance, sending random events is basically out of control, and Monkeyrunner is a lot more powerful, can be used for functional testing , regression testing and can define their own test extensions, flexibility.

The Monkeyrunner tool provides APIs that can be used to control Android devices or emulators. You can write Python scripts to install Android apps, run apps, send analog keys, gestures, and so on, so you can do things that you can do in your device, Monkeyrunner.

Many people on the net have shared the Monkeyrunner recording script and playback script, can download down, directly into the Android SDK Platform-tools directory, through the command Monkeyrunner script name can start the recorder, Record the automated test scripts or playback you need. The Monkeyrunner is strong enough, but the recorded script is use axes as a way to locate, while the Android device type is numerous, various resolutions, so bad transplant .。 3.Uiautomator Uiautomator is through to navigate in a control way, of course, too. axis-enabled way to locate。 Uiautomator was added after Android 4.1, so only Android 4.1 and above are supported, but WebView is not supported。 The 4.Robotium Robotium supports all Android versions and is a framework that resides in the native instruments two-time package. The latest version seems to have been updated to 5.0.1, stability and so on are good. And the official has a recording plugin Robotium Recorder (http://robotium.com/products/robotium-recorder) But this plugin is chargeable.Robotium only supports Java language development and supports Android only, and does not support cross-process . 5.AppiumAppium official claims support for Android, IOS, Firefoxos. And appium you can write test cases in any development language you are familiar with. such as Java, Python, Ruby, PHP, Javsscript, Object-c, C # .....Appium on Android if it is greater than 4.1 with Uiautomator, the following versions use Selendroid (Selenium for Android). Support is available on iOS using the UIAutomation library. The stability of the Appium is relatively poor , but the same positioning of the controls is a good choice for those who do not understand Java and are familiar with other languages.

Mobile Automation Test Framework Comparison

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.