Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for testing application program

A technology for applying and calling programs, applied in the computer field, can solve the problems of poor validity of test results and the ability of application programs to handle abnormal input parameter values, etc., and achieve the effect of increasing validity.

Active Publication Date: 2017-03-15
GUANGZHOU HUADUO NETWORK TECH
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, such a test cannot test the application's ability to handle abnormal input parameter values. When the application program handles abnormal input parameter values, problems may occur
It can be seen that the validity of the test results of the above test methods is poor

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0063] The embodiment of the present invention provides a method for testing an application program. The execution subject of the method may be an SDK, which is installed in a terminal, and the SDK calling program and the SDK are installed in the terminal, and the SDK calling program and the SDK are two parts of an application program. , the SDK includes at least one interface, and each interface corresponds to an interface function. The terminal may be provided with a processor, a memory, a transceiver, etc., the processor may be used for processing the process of testing the application program, the memory may be used for storing data required and generated in the process of testing the application program, and the transceiver may Us...

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 for testing an application program and belongs to the technical field of computers. The method comprises the following steps of: in the process of testing a target function, receiving an interface calling request of a first interface sent by an SDK (Software Development Kit) calling program, wherein the interface calling request at least comprises an input parameter value and a first interface identifier; on the basis of the input parameter value and the first interface identifier, generating an abnormal output parameter value unmatched with the input parameter value and the first interface identifier; and feeding the abnormal output parameter value back to the SDK calling program so as to lead the SDK calling program to execute the test of the target function continuously on the basis of the abnormal output parameter value. The method provided by the invention has the advantage that the effectiveness of a testing result can be improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for testing application programs. Background technique [0002] With the development of computer technology, the number of applications is increasing. In order to avoid running errors after the application is released and launched, it is usually necessary to test the application before the application is officially released. Only when the application runs smoothly can it be officially released. Published online. [0003] In the prior art, when developing an application program, in order to speed up the development speed of the application program, the code of some general functions is often packaged as an SDK (Software Development Kit, software development kit), and the SDK can provide multiple interfaces for the application program In this way, technicians only need to write codes other than the SDK in the application program, which is called the SDK calli...

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
CPCG06F11/3688
Inventor 陈青
Owner GUANGZHOU HUADUO NETWORK TECH