Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use the automated testing tool for Monkey interface version

Shulou Source: shulou.com Published: 2022-06-01 08:46:41 10月04日 Update

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.

Tags: Testing reporting time interface events automation tools versions login testing tools content functionality stress scenarios that is more browsers environments scripts help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MariaDB Microsoft NVidia Shulou Technology