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

Response testing method and device for application program interface

A technology of application program interface and application program, which is applied in the direction of software testing/debugging, etc., and can solve problems such as inability to test application programs

Active Publication Date: 2018-01-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to address the technical problem that the Windows Phone operating system platform cannot test the response of the application program to the user's input operation in the interface, and provide a method that can test the input operation of the application program on the interface in the Windows Phone operating system platform. Responsive testing method for the API of the responsive API

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
  • Response testing method and device for application program interface
  • Response testing method and device for application program interface
  • Response testing method and device for application program interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Such as figure 1 As shown, in one embodiment, a kind of response testing method of application program interface comprises the following steps:

[0022] Step S110, triggering the running of the application program.

[0023] In this embodiment, the application program triggered to run is any application program installed on the Windows Phone operating system platform. For example, the application that is triggered to run may be a browser, an instant messaging tool, and the like.

[0024] Step S130, triggering execution of test cases of the application in the running application.

[0025] In this embodiment, the test case of the application program is a document set according to the test requirements of the application program, and is used for testing certain functions, stability, etc. of the application program. The tests required by the application are usually various, therefore, there may be multiple test cases for the application.

[0026] Step S150, run the respo...

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 response testing method and device of an application program interface. The method includes: triggering the running of the application program; triggering the execution of the test case of the application program in the running application program; running the response event encapsulated in the test case through the execution of the test case to respond to the application interface Simulate the input operation and respond to the user operation by running the response event; the response event is an event triggered when the application program interface detects the input operation. The device includes: a program trigger module, a test execution module and an event running module. The invention can test the response of the application program to the input operation in the interface in the Windows Phone operating system platform.

Description

technical field [0001] The invention relates to computer testing technology, in particular to a response testing method and device of an application program interface. Background technique [0002] In the operating system platform running on the electronic device, the test of the application program is often implemented by simulating user operations. For example, the response of the application program is tested by simulating the user's operation on the controls in the application program interface or the user's click operation on the application program interface. [0003] The tools used to simulate the user's input operation in the operating system platform are usually black-box automated testing tools. However, the Windows Phone operating system platform does not support any black-box automated testing tools, and the supported white-box testing tools cannot realize user operation simulation, which makes it impossible for the Windows Phone operating system platform to tes...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 李一军
Owner TENCENT TECH (SHENZHEN) CO LTD