当前位置:网站首页>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
边栏推荐
- Matlab 基础04 - 冒号Colon operator “:”的使用和复杂应用详析
- C language multidimensional array and pointer - learning 24
- About MySQL password modification failure
- MS-HGAT: 基于记忆增强序列超图注意力网络的信息扩散预测
- Codemirror 2 - highlight only (no editor) - codemirror 2 - highlight only (no editor)
- LabVIEW Arduino electronic weighing system (project Part-1)
- Nat. Comm. | supercomputing +ai: providing navigation for natural product biosynthesis route planning
- Verification code is the natural enemy of automation? Let's see how Ali P7 solved it
- C language bit operation - learning 26
- The 14th five year plan and investment feasibility study report of global and Chinese hydraulic ester base oil industry 2022 ~ 2028
猜你喜欢

Flowable workflow

出门带着小溪

功能测试如何1个月快速进阶自动化测试?明确这2步就问题不大了

How can functional tests be quickly advanced in one month? It is not a problem to clarify these two steps

我在某大厂做软件测试工程师的《一天完整工作流程》

模块八-设计消息队列存储消息数据的 MySQL 表格

Make good use of these 28 tools, and the development efficiency soars

Online Fox game server - room configuration wizard - component attribute and basic configuration assignment

手写MapReduce程序详细操作步骤

Henan Zhongchuang - from cloud to edge, how edge computing enables data centers
随机推荐
市场监管总局、国家网信办:开展数据安全管理认证工作
Nat. Comm. | 超算+AI: 为天然产物生物合成路线规划提供导航
Jmeter接口测试之常用断言
Explain asynchronous tasks in detail: the task of function calculation triggers de duplication
A knowledge map (super dry goods, recommended collection!)
Verification code is the natural enemy of automation? Let's see how Ali P7 solved it
【ROE】(2)ROE协议
How to guarantee industrial control safety: system reinforcement
Comparison of OpenCV basic codes of ros2 foxy~galactic~humble
Lambda中间操作skip
Investment analysis and demand forecast report of global and Chinese fluorosilicone industry in 2022
Vscode - the problem of saving a file and automatically formatting the single quotation mark 'into a double quotation mark'
Analysis report on demand status and Prospect Forecast of global and Chinese remote control helicopter industry 2022-2028
C language pointer and array - learning 23
C language structure - learning 27
在玻璃上构建电路
Redis advanced - correspondence between object and code base
2022-06-11:注意本文件中,graph不是邻接矩阵的含义,而是一个二部图。 在长度为N的邻接矩阵matrix中,所有的点有N个,matrix[i][j]表示点i到点j的距离或者权重, 而在二部
Online Fox game server - room configuration wizard - component attribute and basic configuration assignment
Lambda intermediate operation distinct