"Android" Uiselectoer automated test

Source: Internet
Author: User

Ext.: http://blog.csdn.net/sasoritattoo/article/details/17579739

Android automated testing is mainly divided into Monkeyrunner, Rubotium, Uiautomator, Monkey (in my opinion this does not count) and so on. Main Features:
1, Monkeyrunner: The advantages: The simplest operation, can record the test script, visual operation; Disadvantages: the main generating coordinates of the automated operation, the transplant is not strong, the most limited function;
2, Rubotium: Mainly for an apk for automated testing, APK can have the source code, also can not source code, powerful, the disadvantage is for the apk operation, and need to re-sign the APK (with tools), so the operation is relatively complex;
3, Uiautomator: The advantages: All operations can be automated, easy to operate; Disadvantage: Android version needs to be above 4.0, cannot operate according to the control ID, relative function is more limited, but also enough;
4, Monkey: Accurately speaking, this is not an automated test, because it can only produce random events, can not follow the established steps to operate;
From the above introduction can have this conclusion: Test an APK, you can choose Rubotium, the test process may involve multiple apk, choose Uiautomator; Some simple tests, choose Monkeyrunner;

"Android" Uiselectoer automated test

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.