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

JsDriver test method and system

A test system and test method technology, applied in the computer field, can solve the problems of low test efficiency of JsDriver, and achieve the effect of improving test efficiency

Pending Publication Date: 2019-07-02
AEROSPACE INFORMATION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a JsDriver testing method and system to solve the technical problem of low test efficiency of JsDriver in the prior art

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
  • JsDriver test method and system
  • JsDriver test method and system
  • JsDriver test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] See figure 1 , the embodiment of the present invention provides a test method of the Golden Tax Interface JsDriver, the flow of the method is described as follows:

[0064] S101: The test system acquires a set of information items, the set of information items includes a plurality of information items and the value of each information item, and the plurality of information items are information items required for executing the test case of JsDriver;

[0065] S102: The test system combines the command word and the value of each information item in multiple information items based on the command word and the preset sequence of strings to obtain a command string, wherein different command words are used to test different functional modules of the JsDriver , the command string is used to test JsDriver;

[0066] S103: the test system sends the command string to JsDriver;

[0067] S104: the test system receives a return code from the JsDriver, and the return code is a corre...

Embodiment 2

[0095] See figure 2 , based on the same inventive concept, an embodiment of the present invention provides a test system, including:

[0096] Obtaining module 21, is used for obtaining information item set, and described information item set comprises the value of a plurality of information items and each information item, and described a plurality of information items is the required information item for the test case that is used to carry out JsDriver;

[0097] The processing module 22 is used to combine the command word and the value of each information item in the plurality of information items based on the command word and the preset string sequence to obtain a command string, wherein different functions of the JsDriver are tested The module uses different command words, and the command string is used to test the JsDriver;

[0098] A sending module 23, configured to send the command string to the JsDriver;

[0099] The receiving module 24 is used to receive a return co...

Embodiment 3

[0118] See image 3 , based on the same inventive concept, an embodiment of the present invention provides a computer device, including at least one processor 31, and a memory 32 and a communication interface 33 connected to the at least one processor 31 in communication, image 3 In the figure, one processor 31 is shown as an example.

[0119] Wherein, the memory 32 stores instructions that can be executed by the at least one processor 31, and the at least one processor 31 executes the instructions stored in the memory 32 by using the communication interface 33 to execute the instructions in the first embodiment. the method described.

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 embodiment of the invention provides a JsDriver test method and a JsDriver test system, which are used for solving the technical problem of low JsDriver test efficiency in the prior art. The testsystem obtains an information item set, the information item set comprises a plurality of information items and a value of each information item, and the plurality of information items are informationitems required for executing the test case of the JsDriver; the test system combines the command word and the value of each information item in the plurality of information items based on the commandword and a preset string order to obtain a command character string, different function modules for testing the JsDriver use different command words, and the command character string is used for testing the JsDriver; the test system sends the command character string to the JsDriver; the test system receives a return code from the JsDriver, wherein the return code is a correct code or an error code obtained after the command character string is transmitted into the JsDriver; and under the condition that the return code is the correct code, the test system determines that the JsDriver passes the test.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a JsDriver testing method and system. Background technique [0002] The value-added tax anti-counterfeit tax control tax terminal network version system is a software system used by the tax office in the anti-counterfeit tax control system, and the golden tax interface (JsDriver) is the connection between the value-added tax anti-counterfeit tax control tax terminal network version system and the bottom layer of the golden tax disk. important interface. JsDriver receives the command string from the tax office in the anti-counterfeiting tax control system, interacts with the bottom layer and encryption and decryption, and JsDriver verifies the command string. After the verification is passed, JsDriver calls the dynamic link of the bottom layer of the Golden Tax Disk The library file writes this parameter into the Golden Tax Disk. [0003] In order to prevent JsDriver from maki...

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/30
CPCG06F11/3041
Inventor 吕一男张美娟
Owner AEROSPACE INFORMATION
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