Introduction of 4 mobile phone automation test framework

Source: Internet
Author: User
Tags appium

At present, the development of mobile phone app is very popular and hot, for mobile phone test this piece, most still stay in manual test. Because mobile app development, to adapt to different devices, such as an Android app to adapt to different versions, not only to support the latest version, but also to support the old version, which led to manual testing requires the purchase of n Android phone to manually test. However, the efficiency of this test is very slow.  And in addition to mobile app testing, some also need to test on the pad, imagine, a responsible test of PP application testers need to test on different machines, if coupled with the developers constantly updated code and version, I guess the testers are going crazy. So how to deal with cumbersome mobile phone testing? The answer, of course, is to automate the phone test, and each update only needs to run the case again, and then add some new cases, and there's no need to re-write the case for different versions of anroid. You can say an automated test case that solves these problems. So the question comes, mobile phone automation testing, which strong?

One , robotium Android testing tool

Robotium is a free Android test tool that provides a class library for testers to call, it only supports the Java language, so it basically uses the Exclipse tool to develop the code.

Written scripts can be tested in support of different versions of Android. Because the Robotim test tool is a test code written on the basis of development code, it cannot interact with application.

Second, UI Automator only for Android test

This test tool is Google's official testing tool and is a good choice for testing Android apps.

It supports Android over 4.1 versions, testers write test scripts with this tool, can support multiple Android versions and platforms, and can operate responsible user processes.

it can be integrated with testng, to produce rich test results to us, can be very good to find the Android app UI some elements, is a good and roid Test Tool.

Third, Appium Android automation framework

It is a framework for iOS, Android automation testing. Supports multiple languages: Java, C #, Ruby. It can call selenium's API, so you can use selenium to test the Web app on your phone.

Previously studied a little bit of appium, it supports cloud computing services, can provide customers with a number of virtual phones to test, this is only paid. The more you want, the more money you'll have to pay.

Iv. Monkeyrunner

This tool is now a more popular test tool. It supports scripting language Python because it does not work with source code like Robotium, which can record test scripts using the record feature. But the downside of this tool is that it needs to write a script for each Android device, and when the user interface changes, the test code needs to be re-written.

Introduction of 4 mobile phone automation test framework

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.