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

System and method for testing measured object based on automatic test script

A technology for automated testing and tested objects, applied in the field of communication, can solve problems such as heavy workload and complexity, lack of flexibility, poor readability of script codes, etc., to ensure the order of execution, ensure the integrity, and simplify the workload Effect

Inactive Publication Date: 2006-11-22
HUAWEI TECH CO LTD
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. When defining the relationship between scripts and use cases and the execution rules of scripts, use cases and procedures centered on scripts, because scripts are not graded and classified, some global applications in the test process will be shared when writing script codes Information is repetitively programmed, so the workload and complexity are large, and the script code written is poor in readability and lacks flexibility;
[0006] 2. When defining the resources applied in the test process centered on scripts, since the scripts are not graded, it is impossible to fully guarantee the sharing and reuse of resources such as functions and variables between scripts, which is not conducive to the centralized management of public resources and the separation of data and scripts;
[0007] 3. When defining the resources applied in the test process centered on scripts, since scripts are not classified into categories, it is easy to lead to ambiguous script functions, which in turn leads to ambiguous relationships between scripts and use cases, and chaotic execution sequences between scripts. Ensure the integrity of use case execution data

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
  • System and method for testing measured object based on automatic test script
  • System and method for testing measured object based on automatic test script
  • System and method for testing measured object based on automatic test script

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0051] For the system described in the present invention, the first embodiment provided by the present invention, such as figure 1 shown, including

[0052] Engineering preprocessing unit, information identification unit, use case processing unit and engineering postprocessing unit;

[0053] When testing, call and process the preprocessing shared resource information that all use cases need to run in the test process through the engineering preprocessing unit, and monitor whether the processing information in the engineering preprocessing unit is wrong through the information identification unit. If the error message is received, the operation of the project preprocessing unit is terminated, and the project postprocessing unit is triggered to perform corresponding postprocessing work; if the project preprocessing unit can normally complete the processing process, then the test is processed by the use case processing unit The use cases used in the process, and after the use ca...

no. 2 example

[0059] For the method described in the present invention, the second embodiment provided by the present invention includes the following steps:

[0060] Step 11, classifying the scripts, when grading, construct engineering-level scripts and use-case-level scripts; and define global shared resources in the engineering-level scripts, whose scope of action is the use-case-level scripts used in the test process, and in the described Construct a use case in the use case level script, and make the constructed use case inherit the global resources defined in the project preprocessing script when executed.

[0061] Numbering

script type

What the script defines

1

Engineering-level preprocessing scripts

Define the global variables and resources of all use cases that need to be tested during the test

Source pool and function information, global test environment preparation information, initial

Initialization script information.

...

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 related testing method based on automatic testing script comprises: forming the testing pre-process script and post-process script, extracting out the global pre-process and shared script information during testing to set into former pre-process script, and the global post-process information after testing to set in former post-process script; then, executing test based on formed scripts. This invention is benefit to public source management and script repetition.

Description

technical field [0001] The invention relates to the communication field, in particular to an automatic test process. Background technique [0002] Testing is an important activity to ensure software quality and an indispensable link in the process of software project implementation. At present, automated testing is more and more widely used in the software development process. A large number of scripts, use cases, functions, variables and other resources will be applied in the process of automatic testing. If these resources are not effectively organized and managed, or the execution mechanism is unreasonable, it will make it difficult for automated testing to achieve the expected results or automated results. Difficult to inherit. [0003] The prior art related to the present invention adopts script-based testing technology, such as TCL (ToolCommand Language, tool command language) script. Its core is: define resources applied in the test process centered on scripts, suc...

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): G06F11/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