Android Monkey Test Learning

Source: Internet
Author: User

If you have an Android environment, you can use the ADB command

First, the purpose of Monkey testing?

This tool can be used to test stability. Developers work with monkey-printed logs and system-printed logs to resolve problems in testing

Second, the characteristics of Monkey test?
Monkey test, all events are randomly generated, without the subjectivity of anyone

Iii. Monkey Order

adb shell monkey-p com.xxxxx-s 500-v 10000

However, in order to ensure the integrity of the test quantity in the work, we generally do not exit the test immediately when the error occurs, Monkey Test command as follows

adb shell monkey-p com.xxxxx-s--ignore-crashes--ignore-timeouts--monitor-native-crashes-v-V 20000 >D:\monke Y_log.txt

Monkey-Action Package: com.xxxxx
Seed value of the resulting time series: 1000
Ignore program crashes, ignore timeouts, monitor local program crashes, detail level 2, generate 20,000 events

Android Monkey Test Learning

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.