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

Interface testing method and device

An interface test and interface technology, applied in the field of testing, can solve the problems of inaccurate test results and low efficiency, and achieve the effect of improving test efficiency, improving accuracy, and eliminating the influence of human factors

Inactive Publication Date: 2013-11-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the above methods have certain problems in practical application: due to the need for manual inspection, the efficiency will be relatively low; in addition, manual inspection is affected by factors such as the quality, experience, attention, and care of the operator, which will lead to testing The result is not accurate enough

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
  • Interface testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Aiming at the problems existing in the prior art, an interface testing scheme is proposed in the present invention, which can improve the testing efficiency and the accuracy of the testing results.

[0019] In order to make the technical solution of the present invention clearer and clearer, the solution of the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0020] figure 1 It is a flowchart of an embodiment of the interface testing method of the present invention. Such as figure 1 shown, including the following steps:

[0021] Step 11: Import the system data into the benchmark system and the system under test respectively.

[0022] System data usually consists of configuration data as well as runtime data.

[0023] For example, for a news website, the data used to specify which news channels are included and which sub-channels are included in each news channel is configuration data. The news ch...

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 an interface testing method and an interface testing device. The interface testing method comprises the following steps: introducing system data into a reference system and a tested system respectively; traversing each reference interface in the reference system and each tested interface in the tested system respectively, screen-shooting the interfaces respectively every time when an interface is traversed and saving screenshots, wherein both the reference interfaces and the tested interfaces are generated according to the system data, the number of the reference interfaces is the same as that of the tested interfaces, each reference interface uniquely corresponds to one tested interface, and the correspondence indicates that the contents displayed by the reference interface and the tested interface are the same; and for each tested interface, considering that the test of the tested interface is passed if the similarity of the screenshot of the interface and the screenshot of the corresponding reference interface is determined to be greater than a predetermined threshold value, and otherwise, considering that the test of the tested interface is not passed. By applying the scheme provided by the invention, the testing efficiency and the accuracy of a test result can be improved.

Description

technical field [0001] The invention relates to testing technology, in particular to an interface testing method and device. Background technique [0002] In practical applications, it is often necessary to upgrade a certain system that has been running stably, such as repairing defects on the original basis or updating and upgrading the underlying architecture. In order to ensure the availability of the upgraded system, it is usually necessary to test the upgraded system. [0003] Usually, the system that runs stably before the upgrade is called the baseline system, and the system that needs to be tested after the upgrade is called the system under test. [0004] Existing testing methods mainly include: manually checking each tested interface in the system under test, comparing with the corresponding benchmark interface in the benchmark system, and visually determining whether the display of the tested interface is normal and whether the data is correct, etc. If yes, the ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products