当前位置:网站首页>New knowledge: monkey improved app crawler
New knowledge: monkey improved app crawler
2022-06-12 01:10:00 【Xiaowu knock code】
Native Monkey
As we all know Monkey yes Android Tools for pressure stability test on the platform , adopt Monkey It can simulate the user touching the screen 、 slide 、 Pseudo-random user events such as keys are used to stress test the program on the device . And the original Android Monkey There are some drawbacks :
Events are too random , The effectiveness of the test is greatly reduced
because Monkey Mainly send some random events to test , The event operation during the test is not controlled , Most operations are invalid ( For example, click on a blank area 、 Slide on a page that cannot be slid, and so on ).
Yes App Poor control coverage within the page
It is also because of the randomness , There is no guarantee App All controls of the page can be effectively covered .
There is a probability of jumping out of the test
Click on the notification bar or status bar , Will jump to other pages , This interrupts the current App Test of .
Google App crawler
Google Officially launched App Traversal tool , comparison Monkey Based on pseudo-random events ,App Crawler Is a control based traversal , Can better traverse App The function of .
Official website :
https://developer.android.google.cn/training/testing/crawler
Use steps :
1、 install JDK And Android SDK
2、 download App Crawler And extract the 
3、 Execute the following command to start the test :
java -jar crawl_launcher.jar --apk-file–app-package-name–android-sdk
App Crawler After running, it will generate crawl_output Catalog , There are screenshots and log information of each step of traversal .
Related command parameters :
## Measured results 
Have you learned today's little knowledge , Welcome to interact with us in the message area ~
Finally, thank everyone who reads my article carefully , The following online link is also a very comprehensive one that I spent a few days sorting out , I hope it can also help you in need !

These materials , For those who want to change careers 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful ……
If you don't want to grow up alone , Unable to find the information of the system , The problem is not helped , If you insist on giving up after a few days , You can click the small card below to join our group , We can discuss and exchange , There will be various software testing materials and technical exchanges .
| Click the small card at the end of the document to receive it |
Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .
Self study recommendation B Stop video :
Zero basis transition software testing :25 Days from zero basis to software testing post , I finished today , Employment tomorrow .【 Include features / Interface / automation /python automated testing / performance / Test Development 】
Advanced automation testing :2022B The first station is super detailed python Practical course of automated software testing , Prepare for the golden, silver and four job hopping season , After advanced learning, it soared 20K
边栏推荐
- Explain asynchronous tasks in detail: the task of function calculation triggers de duplication
- 2022-06-11:注意本文件中,graph不是邻接矩阵的含义,而是一个二部图。 在长度为N的邻接矩阵matrix中,所有的点有N个,matrix[i][j]表示点i到点j的距离或者权重, 而在二部
- Set up NFT blind box mall system | customized development of NFT mall software
- Lambda快速入门
- About MySQL password modification failure
- 2022 edition of global and Chinese high purity silicon carbide powder operation research and investment strategy analysis report
- Crawler case 05 - parsing websites using XPath
- Weibull Distribution韦布尔分布的深入详述(2)参数和公式意义
- [answer] is ubiquitous language a pseudo innovation?
- 打造Flutter高性能富文本编辑器——渲染篇
猜你喜欢

In the field of enabling finance, the transformation of state secrets makes security compliance more solid

Kill session? This cross domain authentication solution is really elegant

Go out with a stream

Jmeter接口测试之常用断言

Codemirror 2 - highlight only (no editor) - codemirror 2 - highlight only (no editor)

给你一个项目,你将如何开展性能测试工作?

写代码复现论文的几点建议!

手写MapReduce程序详细操作步骤

websocket服务器实战

出门带着小溪
随机推荐
Lambda create stream
System.CommandLine选项Option
Lambda intermediate operation limit
Low code platform design exploration, how to better empower developers
C language preprocessing instructions - learning 21
Global and Chinese chromatographic silica gel resin industry research and investment direction forecast report 2022 Edition
Article 4: Design of multifunctional intelligent trunk following control system | undergraduate graduation project - [data search skills + reference resource integration]
Before applying data warehouse ODBC, you need to understand these problems first
[path of system analysts] summary of real problems of system analysts over the years
Go out with a stream
Make good use of these 28 tools, and the development efficiency soars
人们对于产业互联网的这样一种认识的转变,并不是一蹴而就的
Lambda中间操作sorted
Data visualization big screen - big screen cloud minimalist user manual
Forecast report on market demand and future prospect of cvtf industry of China's continuously variable transmission oil
Module 8 - Design message queue MySQL table for storing message data
MS-HGAT: 基于记忆增强序列超图注意力网络的信息扩散预测
Lambda intermediate operation map
Scope and category of C language variables - learning 20
在玻璃上构建电路