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

A testing system and method based on device library file interface

A file interface and test system technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of low test efficiency, large manpower and time, and achieve the effect of improving interface test efficiency and reducing complexity

Active Publication Date: 2022-05-10
WUHAN TIANYU INFORMATION IND
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will consume a lot of manpower and time, making testing very inefficient

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 testing system and method based on device library file interface
  • A testing system and method based on device library file interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] This implementation discloses a test system based on the device library file interface, such as figure 1 , including: test execution module, network transfer module, interface transfer module, library file, and result analysis module; where:

[0038] The test execution module is connected with the network transfer module and the result analysis module respectively, and is used to issue interface call instructions to the network transfer module, receive the interface execution result sent by the network transfer module, and send the interface call instruction and interface execution result to the result analysis module.

[0039] Specifically, in this embodiment, the test device may be a mobile phone device, a single-chip microcomputer device with a network, a computer, and the like. The test execution module is used to execute test scripts. The interface call instruction at least includes: instruction code, test execution module device ID, and parameter list. The resul...

Embodiment 2

[0049] A test method based on the device library file interface is disclosed in this embodiment, such as figure 2 ,include:

[0050] The test execution module sends an interface call instruction to the network transit module through the test case script, and the interface call instruction includes at least: instruction code, test execution module device ID, and parameter list;

[0051] The network transfer module forwards the interface call instruction to the interface transfer module;

[0052] The interface transfer module constructs the message data and the interface mapping table through the header file of the interface class, and calls the function of the library file to obtain the interface execution result according to the message data and the interface mapping table;

[0053] The interface transfer module forwards the interface execution result to the test execution module through the network transfer module;

[0054] The test execution module screens out the executi...

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

A test system based on the device library file interface, including: a test execution module, a network transfer module, an interface transfer module, a library file and a result analysis module; the test cases are directly executed on multiple devices at the same time through network transmission means between each module Interface calls, analyze the execution results, and display the interface test results. Among them, the network transfer module can accept multiple interface transfer modules to be connected at the same time, and subscribe to the interface call command from the test execution module, which solves the problem of testing compatibility of devices of each manufacturer and each system version in the prior art. And the interface transfer module calls the function of the library file to obtain the interface execution result according to the message data and the interface mapping table, which reduces the complexity of the interface test and improves the efficiency of the interface test.

Description

technical field [0001] The invention relates to the field of interface testing, in particular to a testing system and method based on device library file interfaces. Background technique [0002] A way to develop common functions into library files. Currently the library files can only be tested by the test application. On a smart machine or a single-chip microcomputer, especially when the library file contains functions related to the device such as database reading and writing, security keys, etc., the test application program can only be installed on the smart machine or single-chip microcomputer, and the test cases can be imported to the smart machine or single-chip microcomputer. The interface is tested in the single-chip microcomputer, and the test results are exported to the PC for analysis through files. [0003] In addition, use the common automated testing scheme to locate the page element identification through system tools, trigger page element events, and impl...

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
CPCG06F11/3688
Inventor 周晶董逢华张新访
Owner WUHAN TIANYU INFORMATION IND