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

A kind of interface automatic testing method and device

An automated testing and interface technology, applied in the computer field, can solve problems such as the inability to test interfaces correctly

Active Publication Date: 2018-06-26
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The embodiment of the present application provides an interface automated testing method and device to solve the problem in the prior art that when there is a code segment that does not affect the return value of the interface in the program of the interface, the interface cannot be tested correctly based on the return value

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
  • A kind of interface automatic testing method and device
  • A kind of interface automatic testing method and device
  • A kind of interface automatic testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0031] figure 1 The interface automation testing process provided for the embodiment of this application specifically includes the following steps:

[0032] S101: The test device determines a code segment that needs to perform log verification in a program of the interface to be tested.

[0033] In the embodiment of the present application, the test...

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 application discloses an automatic testing method and device for an interface. The automatic testing method comprises the following steps: by adoption of testing equipment, in the program of the interface to be tested, determining a code segment without influencing a return value of the interface, generating a testing script for the code segment, and then executing the testing script to acquire the return value of the interface to be tested and a log corresponding to the code segment; then judging whether the acquired return value and the log conform to preset results, if so, determining that the working of the interface to be tested is normal, and if not, determining that the working of the interface to be tested is abnormal. The automatic testing method and device disclosed by the application have the advantages that since the testing equipment not only checks whether the return value is correct, but also checks whether the working of the code segment without influencing on the return value of the interface is normal in the program of the interface to be tested by the log, so that the interface to be tested can be accurately tested by the testing equipment.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an interface automation testing method and device. Background technique [0002] At present, with the widespread application of automated testing technology in the testing field, test engineers can hand over many mechanically repetitive manual testing tasks to the automated testing platform, which saves manpower and improves testing efficiency. [0003] In the field of testing, interface testing is mainly used to verify whether the interface between the system under test and the external system and between the various subsystems inside the system under test can work normally. Specifically, it is necessary to verify the data on both sides of the interface. Whether the exchange, transfer and control management process, and the mutual logical dependencies between the systems meet the design expectations. Compared with other business logic, the interface has a large amou...

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/22
Inventor 徐炳松罗诗尧丁玲
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO