Function operation packaging based automatization test script implementing method and apparatus

A technology for automated testing and implementation methods, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems that affect the promotion of automated testing, cannot meet the testing needs of testers, and lack testing experience, so as to improve versatility and testing. Efficiency, reducing the workload of script maintenance, and reducing the difficulty of script development

Inactive Publication Date: 2008-03-12
ZTE CORP
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] First, the use case scripts are poor in versatility. The recorded scripts do not separate the test execution from the test data and the test environment. The use cases are heavily dependent on the test environment at the time of recording. If the test environment changes, the script needs to be re-recorded
[0006] Second, the maintainability is poor, because the script depends on the network management interface, if the interface changes, all scripts related to this interface need to be manually modified
[0007] Third, the roles of automated test tool developers and testers are misaligned. High-quality scripts require script writers to have a good grasp of the development language. Therefore, a common practice in the industry is that automated test tool developers write use case scripts. Tool developers lack practical testing experience, and the scripts they write often cannot meet the specific testing needs of testers, which affects the promotion of automated testing

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
  • Function operation packaging based automatization test script implementing method and apparatus
  • Function operation packaging based automatization test script implementing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0031] Figure 1 shows a schematic diagram of a test system implemented by an automated test script based on functional operation encapsulation. At the bottom is the basic operation unit function library. Each function corresponds to a basic operation unit of the functional operation of the test operation object. The basic operation unit functions of the same test operation object can be combined into a functional operation to form a functional operation function library.

[0032] In order to reduce the coupling degree of modules, this layer eliminates the combination of basic operation units between different test operation objects. The tester writes the use case script by calling the functional operation function library, and can directly call the basic operation unit function according to the test needs.

[0033] As shown in Figure 2, the i...

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 utility model discloses an automatic test script method and device based on the functional package. The method comprises the steps as follows: the test target collected from the test cases is decomposed according to the functions and each function can be decomposed into a basic operational unit; separate the operational logic from the operational data in the basic operational unit; package the basic operational unit function based on the operational data and establish the basic operational unit function bank; constitute the basic operational unit function with the same function and set the parameters of all the basic operational unit functions as the parameters of the function, so as to establish the functional bank; according to the test cases, constitute the functions into the automatic test scripts for the test cases; also, abstract the test data of the case scripts, so as to establish the automatic test scripts database. The utility model can enhance the compatibility of the case scripts and reduce the workload of script maintenance as well as the script writing difficulty.

Description

technical field [0001] The invention relates to an automated test system for testing network communication equipment, in particular to a method and device for realizing an automated test script based on functional operation encapsulation. Background technique [0002] At present, in the testing of network communication equipment, testers usually use manual testing methods based on network management: first, configure the device under test on the network management, then perform corresponding test signal input operations on the instrument, and finally check manually The response status of the device under test and the test results of the instrument are used to judge whether the test case is passed. [0003] In general, when there are few test items, the test operation is not complicated, and the repetition is less, the test can be tested by the aforementioned test method, but when there are hundreds or thousands of use cases that require testers to test manually, the test eff...

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/24
Inventor 王志鹏廖国庆程兵旺孙培江
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products