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

Test command word constructing method and method for scheduling test sequence of test command word

A technology for testing sequences and scheduling methods, applied in the field of communications, can solve problems such as poor inheritability and scalability, destroying the strict order of parameter lists, and inability to guarantee the order, so as to improve versatility and inheritance, and be easy to manage and maintain. The effect of maintenance, good compatibility and scalability

Inactive Publication Date: 2008-07-30
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The disadvantages of the linear description in the existing technical solution are: 1. If AW adds a parameter, it must be added to the end of the parameter list, otherwise it will affect the call of the previous parameters, because the parameters in the parameter list have a strict order, if the new parameter If it is inserted in the middle of the parameter list, the strict order of the parameter list will be broken, and the value of the parameter will be misplaced.
Disadvantage 2. If a parameter does not need to be explicitly called, but a parameter behind it needs to be explicitly called, then this parameter has to be called explicitly, because if it is not called, the order cannot be guaranteed, for example: parameter 1 takes The default value, while parameter 2 needs to be assigned a new value, then parameter 1 also has to explicitly write the default value in the call
Disadvantage 3. There is no sub-event processing in "AW processing". At this time, if the processing function of AW is added, a large amount of code needs to be added, and the coupling degree is high
And AW cannot be nested, and the inheritability and scalability are not good

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
  • Test command word constructing method and method for scheduling test sequence of test command word
  • Test command word constructing method and method for scheduling test sequence of test command word
  • Test command word constructing method and method for scheduling test sequence of test command word

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below according to accompanying drawing and embodiment the present invention will be described in further detail:

[0035] In the present invention, all AWs are described using the same framework, and the AW description uses figure 2 The tree-type hierarchical structure description shown, in which the name of AW is the name of AW, which is used to uniquely identify the name of an AW; the parameter list is used to identify the parameter list used by this AW, including a set of parameters used by AW , there is no order and number limit for these parameters in the parameter list. Each parameter includes two parts: parameter identifier and parameter value. When AW is called, the values ​​of these parameters can be modified arbitrarily, and the default values ​​will be used for unmodified parameters. . Among them, there are two parameter identifiers that are mandatory parameters that each AW must have. One is the "timeout duration" parameter, which is used to indicate the ...

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 relates to a method for building test command word (AW) and test sequence distribute method, wherein AW uses tree structure, while each AW name comprises two branches; one branch marks the parameter list of AW, while each parameter is formed by parameter mark and relative parameter value, and another branch marks the forecast event list of AW, while each event is formed by event mark and relative event treatment; based on the demand of test process, forming AW into AW test sequence; starting the timer that testing the AW in the AW test sequence, while the time of timer is valued based on the ultra-long time-length parameter of AW parameter list; based on the overtime event of present AW and received event, triggering the event of present AW to execute relative operation based on the definition of present event operation. The invention has high flexibility, stability and application.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method for using a test command word (Action Word, AW), and based on the description, an AW test sequence scheduling method based on event and timer processing is proposed. Background technique [0002] Test AW is an important concept in the current automated testing industry, which can be understood as an execution step in the automated testing process. The AW test sequence refers to a list of test AWs with sequential execution order. The AWs in the list have a strict execution order. It can be considered that using some AWs to describe a process will result in an AW sequence. The control method for the sequential execution of the AW list in the AW test execution sequence is called the AW sequence scheduling method. Generally, AW is interpreted and executed using scripts, and the description method and usage method of AW itself are also the research objects of ...

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): H04L12/26G06F11/00
Inventor 姜涛
Owner HUAWEI TECH 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