当前位置:网站首页>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
边栏推荐
- 基于.NetCore开发博客项目 StarBlog - (11) 实现访问统计
- Lambda中间操作distinct
- [answer] what does UML use to represent hexagonal architecture
- Component introduction - large screen cloud minimalist user manual
- Lambda中间操作map
- 网狐游戏服务器-房间配置向导-组件属性与基本配置赋值
- How much is the child's critical illness insurance coverage appropriate? Which product is better now
- Lambda终结操作forEach
- Lambda中间操作filter
- 我在某大厂做软件测试工程师的《一天完整工作流程》
猜你喜欢

Yixin Huachen talks about how to do a good job in customer master data management

Zhongchuang patents | China has 18000 necessary patents for 5g standards, respects intellectual property rights and jointly builds a strong intellectual property country

出门带着小溪

Set up NFT blind box mall system | customized development of NFT mall software

VM tools fail in VMware? Install VM tools using Ali image source

flowable 工作流

Chapter V - Fund professional ethics

验证码是自动化的天敌?看看阿里P7大神是怎么解决的

Intel trimbert: tailor Bert for trade-offs

Online Fox game server - room configuration wizard - component attribute and basic configuration assignment
随机推荐
Module 8 - Design message queue MySQL table for storing message data
Investment analysis and prospect Trend Research Report of global and Chinese cyclopentanyl chloride industry 2022-2028
SQL exercise summary 3
Codemirror 2 - highlight only (no editor) - codemirror 2 - highlight only (no editor)
Lambda中间操作limit
Article 8: Design of multi-functional intelligent trunk following control system | undergraduate graduation project - [reply and Q & a record of design completion]
[answer] should the role with one end of the reflexive association be called "current version"
Devops landing practice drip and pit stepping records - (1)
2022-06-11:注意本文件中,graph不是邻接矩阵的含义,而是一个二部图。 在长度为N的邻接矩阵matrix中,所有的点有N个,matrix[i][j]表示点i到点j的距离或者权重, 而在二部
Redis advanced - correspondence between object and code base
河南中创|从云到边,边缘计算如何赋能数据中心
Defect detection, introduction to Halcon case.
Kill, pkill, killall, next, what I brought to you in the last issue is how to end the process number and rush!
如何优化PlantUML流程图(时序图)
Global and Chinese nonene market operation research and future prospect forecast report 2022 ~ 2028
Investment analysis and demand forecast report of global and Chinese fluorosilicone industry in 2022
Lambda终结操作forEach
Kill session? This cross domain authentication solution is really elegant
【ROE】(2)ROE协议
Online Fox game server - room configuration wizard - component attribute and basic configuration assignment