Automatized script implementing method

An automated script and implementation method technology, applied in the field of automated script implementation, can solve problems such as many keyword execution contents, unintuitive logical sequence, and poor script maintainability, so as to reduce cognitive requirements, reduce development workload, and provide reuse. sexual effect

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

AI Technical Summary

Problems solved by technology

[0006] First, the test method of manually modifying static scripts has strong flexibility in implementing test logic, but it has high requirements for test script executors, who need to be proficient in scripting language syntax and other technologies, and the maintainability of scripts is poor ;
[0007] Second, using the keyword-driven method to realize the jump needs to mark the target point of the test, there are many keywords to execute, and the logical sequence of test execution is not intuitive;
[0008] Third, the existing automated testing methods can only indirectly control the jump control of the logic layer steps, for example: first convert the loop and branch logic in the test script into a sequential test logic structure according to the known environment through the middle layer, and then can Re-execute

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
  • Automatized script implementing method
  • Automatized script implementing method
  • Automatized script implementing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The method of the present invention will be further described in detail below in conjunction with the drawings and the embodiments of the present invention.

[0028] figure 1 It is a schematic diagram of the hierarchical decomposition of the test case script in the embodiment of the present invention, such as figure 1 As shown, the test case scripts mainly include test case steps and test example steps according to levels. The test case script includes a set of test case steps with test logic, and each test case step includes one or more test example steps and jump logic after substeps are executed. Each test example step includes information such as operation and expectation. The operation includes the object, the action of the object, and the parameters of the action; the expectation includes the object, the action of the object, and the parameters of the action. Specifically, an object is an abstraction of a certain type of device under test, a certain type of test eq...

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 a automatic script realization method. The method realizes logical control of test example corresponding steps jumping and executing procedure of embranchment, cycling and order and so on logic flow via setting test example steps' attribute and execution of test example script and setting test example steps' attribute and execution. In the method, the cognition request of the software test personnel for different particular equipment can be reduced, the developing work and maintain cost of test example script and can be reduced, meanwhile, the importance of the test example steps code are improved.

Description

Technical field [0001] The present invention relates to software automated testing technology, in particular to an automated script realization method. Background technique [0002] In software development work, software quality has been paid more and more attention. Correspondingly, software testing, as a necessary part of software development projects, has become more and more closely nested in the entire software life cycle from a relatively independent step. The so-called software testing refers to the process of carefully designing a batch of test cases according to the specifications of each stage of software development and the internal structure of the program, and using these test cases to run the program to find program errors. The test case refers to inputting data and obtaining expected output results. [0003] In the field of software testing, when implementing automated testing with test cases, in order to better realize code reuse, in addition to encapsulating the ...

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/36
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