Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the automated testing tool for Monkey interface version

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces how to use Monkey interface version automation testing tools, the content is very detailed, interested friends can refer to, I hope to help you.

Monkey UI advantages:

Interface operation, no command input, simple and easy to operate;

The execution times or running time can be controlled according to the native monkey seed value or time;

Fully automated, automatic login, click the prompt box, these are the use cases to be operated under the premise of monkey;

Version coverage installation testing is possible;

Humanization is still tall and close to the actual test report;

Instructions for use:

1. After decompression, click 4399AT.exe program, pop up window, select monkey

II. Interface explanation

It is divided into six main points to explain:

Environment check: you must click before this test. If you don't click, you can't test the tool because there is a problem with the environment. If you click, you will be busy in vain ~

Common script: write actions about monkey to do before testing, such as uninstall apk, click authorization prompt box, override installation and account login; for events I want to be familiar with using monkey, I will not go into detail, click api document for those who do not understand will have very detailed instructions and scenario use, script is json format;

Auxiliary function: It is a bright spot. Monkey is native to click through seed value (number of events). It may click 3-5 times in 0.5s. In this way, stress test cannot be carried out through time. Stress test can only be done through number of events, so a time calculation is added. This function is time = number of events * interval time. If the number of events is finished, run again and run to the time.

Login Overlay Installation: Add automated usage scenarios

Test report: Only after running the test completely, the test report can be clicked. If you click End during the test, the test report will also be grayed out without clicking. After running, click the test report and display as follows:

Note: Google Chrome is required for your browser, and the results report for each run can be viewed in the Libs folder;

console console output: mainly showing related logs

How to use the Monkey interface version automation test tool is shared here. I hope the above content can be of some help to everyone and learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report