Method and device for testing applications

A technology for testing programs and applications, which is applied in the computer field, can solve problems such as time-consuming and laborious, and reduce the efficiency of application program testing, so as to achieve the effect of improving efficiency

Active Publication Date: 2013-12-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, a large number of manual operations are generally used to simulate the normal and extreme behaviors of the application to test various performance indicators of the system. For example, when it is necessary to test the impact of 10,000 sliding screen operati

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 device for testing applications
  • Method and device for testing applications
  • Method and device for testing applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] refer to figure 1 , figure 1 It is a flow chart of a method embodiment for obtaining performance test data provided by Embodiment 1 of the present invention; the execution subject of this embodiment may be a computer, but is not limited thereto; the tested terminal involved in this embodiment may It is a mobile terminal, specifically a smart phone, but not limited thereto.

[0022] The method for obtaining performance test data includes:

[0023] S101: Generate a test program according to a program type and a program generation method, where the test program is used to simulate a preset operation.

[0024] S102: Execute the test program to test the performance of the tested application program.

[0025] S103: Obtain performance test data of preset parameters.

[0026] Optionally, said generating the test program according to the program type and the program generation method includes:

[0027] Call and display the selection interface of program type and program gen...

Embodiment 2

[0046] refer to figure 2 , figure 2 It is a flowchart of a method embodiment for obtaining performance test data provided by Embodiment 2 of the present invention; the test terminal in this embodiment may be a computer, but is not limited thereto; the tested terminal involved in this embodiment may be It is a mobile terminal, specifically, it may be a smart phone, and the smart phone is a mobile phone with an Andriod system, but is not limited thereto. In this embodiment, the test terminal is a computer and the tested terminal is a smart phone as an example for detailed description.

[0047] The test program involved in this embodiment is a script program, wherein the script program refers to an executable file written in a certain format using a specific descriptive language, also known as a macro or a batch file; simply It is said that a script program is a series of text commands, which can be seen (for example, you can use Notepad to open, view and edit), and when the ...

Embodiment 3

[0072] refer to image 3 , image 3 It is a schematic diagram of the first structure of an embodiment of a device for obtaining performance test data provided in Embodiment 3 of the present invention; the device for obtaining performance test data in this embodiment may specifically be a computer, but is not limited thereto; in this embodiment The tested terminal involved may be a mobile terminal, specifically, a smart phone, and the smart phone is a mobile phone with an Andriod system, but is not limited thereto.

[0073] The device for obtaining performance test data includes:

[0074] The generation module 301 is configured to generate a test program according to the program type and program generation method, and the test program is used to simulate preset operations.

[0075] The testing module 302 is configured to execute the test program to test the performance of the tested application program.

[0076] An acquisition module 303, configured to acquire performance te...

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 method and a device for testing applications and belongs to the field of computer technologies. The method includes: generating a test program according to the application type and an application generation mode, executing performance test on an application under test by the test program, and acquiring performance test data of preset parameters. The test program is used for simulating preset operations. The method and the device have the advantage that efficiency in application test is improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for testing application programs. Background technique [0002] At present, the number of smart phone users is increasing, and smart phones based on the Android platform emerge in endlessly; as the performance of smart phone processors becomes stronger and stronger, fast, easy-to-use, and power-saving mobile phone applications are more and more popular among users; As a result, the demand for performance testing of mobile phone applications has also become greater and greater. [0003] In the prior art, a large number of manual operations are generally used to simulate the normal and extreme behaviors of the application to test various performance indicators of the system. For example, when it is necessary to test the impact of 10,000 sliding screen operations on the battery , 10,000 manual swipes are required to complete the corresponding test; however, us...

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
IPC IPC(8): G06F11/36
Inventor 傅学君
Owner TENCENT TECH (SHENZHEN) CO LTD
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