Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for Monkey test

A test method and test system technology, applied in the field of Monkey test methods and systems, can solve problems such as easy misoperation, and achieve the effects of avoiding misoperation, increasing intelligence, and simple and convenient testing

Active Publication Date: 2014-09-24
湖州帷幄知识产权运营有限公司
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned shortcoming of the prior art, the purpose of the present invention is to provide a kind of Monkey test method and system, be used to solve in the prior art Monkey test and can only carry out cycle test to fixed APK package name, and need during execution The problem of easy misoperation caused by inputting instructions in the CMD command interpreter

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
  • Method and system for Monkey test
  • Method and system for Monkey test
  • Method and system for Monkey test

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0040] This embodiment provides a Monkey test method for testing the system of the smart terminal, please refer to figure 1 , the Monkey test method in this embodiment will be described in detail below.

[0041] Step S11 , installing an APK in the smart terminal for obtaining the names of all APK installation packages in the smart terminal, and obtaining the names of all APK installation packages in the smart terminal by executing the application program after the APK is installed.

[0042] Wherein, the smart terminal is a mobile phone, a tablet computer and the like.

[0043] In the smart terminal, generate a TXT file containing all APK installation package names in the smart terminal by executing the application after the APK is installed, export the TXT file and store the exported TXT file in the terminal device carrying the Java test platform, The TXT file is automatically read by the Java test platform. The exported TXT file can also be stored in a specified location, a...

no. 2 example

[0055] In order to realize the above-mentioned Monkey testing method, this embodiment provides a kind of Monkey testing system correspondingly, please refer to Figure 5 , is shown as a structural schematic diagram of a Monkey test system of the present invention. Such as Figure 5 As shown, this embodiment provides a Monkey test system for testing the smart terminal system. The Monkey test system 1 at least includes: an installation package name acquisition module 11 and a Java test platform 12 .

[0056] The installation package name obtaining module 11 is formed by installing an APK for obtaining installation package names in the smart terminal, and is used to obtain all APK installation package names in the smart terminal. Wherein, the smart terminal is a mobile phone, a tablet computer and the like.

[0057] Specifically, in this embodiment, the installation package name acquisition module 11 includes an installation package name file generation unit for generating a TX...

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 provides a method and system for a Monkey test. The method and system are used for testing a system of an intelligent terminal. The method includes the steps that an APK is installed in the intelligent terminal and all APK installation package names in the intelligent terminal are obtained by executing an application program after the APK is installed; all the obtained APK installation package names are read to a Java Table control; all the APK installation package names are displayed through the Java Table control and part of or all names of APK installation packages to be tested are determined through check; other test option factors are determined; the determined APK installation package names and the other test option factors are written into a Java List class; according to the corresponding test factors in the Java List class, an execute statement is generated and operated through establishment of a new course so that the system of the intelligent terminal can be tested. According to the method and system, the intelligence degree of the Monkey test is obviously increased, the tested application program can be freely selected according to the actual requirements, and the method and system meet the actual requirements of the test better.

Description

technical field [0001] The invention relates to the technical field of Monkey testing, in particular to a Monkey testing method and system. Background technique [0002] Monkey Test (Monkey Test) is also called funny test, which is to test the system under test with some weird operation methods to test the stability of the system. Monkey Test generally refers to such a test activity, using the system under test with irregular instructions or operations to observe the stability and fault tolerance of the system. [0003] Monkey test is a means of Android automated testing. Monkey test itself is very simple, which is to simulate the user's key input, touch screen input, gesture input, etc., to see how long the device will be abnormal. When the Monkey program is running on the emulator or device, if the user triggers events such as clicks, touches, gestures or some system-level events, it will generate random pulses, so you can use Monkey to load test with random repetition s...

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/36
Inventor 陈潇潞
Owner 湖州帷幄知识产权运营有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products