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

Message-driven automation test system and implementing method

A technology for automated testing and testing systems, which is applied in transmission systems, digital transmission systems, software testing/debugging, etc., and can solve problems such as the influence of interface changes, low script reusability, communication protocols, and interface framework restrictions , to achieve the effect of expanding the system application space, enhancing the ease of use of the system, and improving the flexibility of testing

Inactive Publication Date: 2009-04-15
ZTE CORP
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The development of automated testing frameworks and tools has gone through three stages: the first stage is simple recording and playback. The test tools in this stage are mainly for automated testing of the interface. The test tools record and record the operation process and generate data scripts. The process of replaying and repeating operations; in this mode, data and scripts are mixed together, and each test case corresponds to a script, which is difficult to maintain
Once the interface is changed, the test case needs to be re-recorded, and the reusability of the script is low. At the same time, some test tools locate the interface elements according to the window coordinates when recording the script. If the display resolution is changed, the test case cannot be executed.
The second stage is data-driven automated testing. The specific method is to read the test data from the data file, and pass the test data into the test script through variable parameterization. Different data files correspond to different test cases; this mode puts The data and scripts are separated, the reusability and maintainability of scripts and data are greatly improved, but the test is still affected by interface changes
[0003] At present, many automated testing software for functional testing on the market adopt keyword-driven thinking, but these products have more restrictions on the communication protocol and interface framework adopted by the system under test
like figure 1 As shown, for a project that is iteratively developed on existing products and plans to adopt automated testing, it is difficult to directly adopt existing automated testing software because the communication protocol, message format, and interface framework it uses have been determined.

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
  • Message-driven automation test system and implementing method
  • Message-driven automation test system and implementing method
  • Message-driven automation test system and implementing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Various preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0030] A message-driven automated testing system provided by the present invention, figure 2 As shown, it includes a test system 201, a test agent 203 and a system under test 202, the test system 210, the test agent 203 and the system under test 202 are sequentially connected in communication, and the test system 201 is used to configure test strategies , sending control information with the characteristic code of the system under test, sending a test message, receiving the test result and verifying the test result; the system under test 202 is used to process the test message and return a response message; the test The proxy 203 is used to extract the corresponding message feature code, receive the control information of the test system and forward the corresponding message. The test agent also includes a test system interface, a t...

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 automatic testing system driven by message and a realization method thereof. The system comprises a testing system, a tested system and a test agent, wherein, the test system, the test agent and the tested system are in sequential communication connection; the test system is used for configuring test strategy, transmitting control information related to the test agent, transmitting a test message, receiving a test result, and verifying and processing the test result; the tested system is used for processing the test message and returning an answer message; the test agent is used for extracting a condition code of the test message corresponding to the test result, receiving control information of the test system and forwarding corresponding message. The invention adds the test agent in the prior art, expands system application space, improves the flexibility of system test, further improves ease of use of the system by corresponding testing process, and greatly meets the requirement of users.

Description

technical field [0001] The invention relates to the field of automated testing, in particular to a message-driven automated testing system and an implementation method. Background technique [0002] The development of automated testing frameworks and tools has gone through three stages: the first stage is simple recording and playback. The test tools in this stage are mainly for automated testing of the interface. The test tools record and record the operation process and generate data scripts. Playback to repeat the operation; in this mode, data and scripts are mixed together, and each test case corresponds to a script, which is difficult to maintain. Once the interface is changed, the test case needs to be re-recorded, and the reusability of the script is low. At the same time, some test tools locate the interface elements according to the window coordinates when recording the script. If the display resolution is changed, the test case cannot be executed. The second stage...

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 Applications(China)
IPC IPC(8): H04L12/26H04L12/24G06F11/36
Inventor 郑贤文
Owner ZTE CORP
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