Monkey testing method and device

A test method and test device technology, applied in the test field, can solve problems such as cumbersome steps, difficulty in matching and searching, inconvenient test operation, etc., and achieve the effect of improving the test experience

Inactive Publication Date: 2017-11-03
浙江万物工场智能科技有限公司
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, manual acquisition or manual selection of the test package name in the device under test is usually used for subsequent testing, and the steps are cumbersome
At the same time, the name of the test package to be obtained or selected is highly professional, and it is difficult to match and search during the test. It is especially inconvenient for testers who do not understand the Monkey test to perform test operations, resulting in poor test experience for such testers. good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Monkey testing method and device
  • Monkey testing method and device
  • Monkey testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 A schematic flow chart of a Monkey test method provided by Embodiment 1 of the present invention. This embodiment can be used in the case of performing stability tests on smart terminal devices such as mobile phones and tablet computers. The method can be executed by software and / or hardware , including the following steps:

[0030] Step 110, automatically obtain the package names corresponding to all applications in the smart terminal, and obtain a list of testable package names;

[0031] Wherein, the smart terminal may be a mobile terminal device or a fixed terminal device. The list of testable package names at least includes a name comparison table formed by customary names presented to users by all applications in the smart terminal and dedicated names of application packages stored in the smart terminal. Taking a smart phone as an example, the "SMS" displayed under the SMS icon in the smart phone intuitively obtained by the user is the usual name; the pr...

Embodiment 2

[0044] figure 2 It is a schematic flowchart of a Monkey testing method provided by Embodiment 2 of the present invention. This embodiment further adds other features on the basis of the technical solutions of the foregoing embodiments.

[0045] Further, after generating the test log, it also includes:

[0046] Step 170, automatically analyze the test log, and generate a test result analysis graph and / or a test result analysis table.

[0047] Specifically, the test log can be analyzed by searching for keywords, retrieving ANR (Application No Response, application program no response), CRASH (crash) and Exception (abnormal) in the test log and locating them in the test log specific key paragraphs, and then extract key information in the paragraphs to generate test result analysis diagrams and / or test result analysis tables.

[0048] Further, after automatically analyzing the test log and generating the test result analysis chart and / or test result analysis table, it also incl...

Embodiment 3

[0053] image 3 It is a schematic flow chart of a Monkey testing method provided by Embodiment 3 of the present invention. This embodiment may provide a preferred embodiment based on the technical solutions of the foregoing embodiments. Specifically include the following steps:

[0054] Step 110, automatically obtain the package names corresponding to all applications in the smart terminal, and obtain a list of testable package names;

[0055] Specifically, before the test, it is necessary to put the batch processing file composed of the test program script file and the installation package file installed in the smart terminal into the same folder on the computer. Connect the smart terminal to the computer, start the batch processing file on the computer side, install the installation package file into the smart terminal by running the Android test bridge command in the batch processing file, and run the application program corresponding to the installation package file. Th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a Monkey testing method and device. The method comprises the following steps that: automatically obtaining package names corresponding to all applications in an intelligent terminal, and obtaining a testable package name list; obtaining a to-be-tested module name list corresponding to a to-be-tested application in the intelligent terminal; setting a test parameter when the to-be-tested application is tested, and obtaining a test parameter list; and in the test parameter in the testable parameter list, testing all to-be-tested packages in a to-be-tested package name list; and generating a test log. By use of the technical scheme of the implementation scheme, the beneficial effects that test personnel who do not know the Monkey test can carry out a test operation and the test experience of the class of test personnel can be realized.

Description

technical field [0001] Embodiments of the present invention relate to the field of testing, and in particular to a Monkey testing method and device. Background technique [0002] Monkey test, also known as random test or stability test, is when the Monkey test program is run in the emulator or real device, the program will generate a certain number or within a certain period of time to randomly simulate the user's clicks, buttons and gestures and other user operation events and Some system-level events, etc., the number or time of abnormalities in the test equipment, and then the stability of the equipment under test can be known. [0003] In the prior art, manual acquisition or manual selection of the test package name in the device under test is usually used for subsequent testing, and the steps are cumbersome. At the same time, the name of the test package to be obtained or selected is highly professional, and it is difficult to match and search during the test. It is es...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36H04M1/24
CPCG06F11/3688G06F11/3692H04M1/24
Inventor 佘鹏飞谭秀秀汤叶锋
Owner 浙江万物工场智能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products