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

Binary structure-based script generating method

A binary structure and script generation technology, applied in software testing/debugging, etc., can solve problems such as complex scripts, achieve simple scripts, strong script logic, and improve maintainability

Inactive Publication Date: 2010-11-17
NANJING ALLDAYTEST AUTOMATION TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Solve the problem that the current excellent commercial automation testing tools at home and abroad generate overly complex scripts in windows with complex frames, so that the automation scripts can have at most two levels of nesting

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
  • Binary structure-based script generating method
  • Binary structure-based script generating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0051] (1) Test case design: Testers write test cases according to the test requirements, and the test cases should cover the possible situations in the test scenario as much as possible.

[0052] (2) object recording: the tester records the window according to the test case, and the object can be edited in the recording process to make it easy to understand and facilitate future maintenance, and use the xml preservation idea of ​​the binary structure of the present invention to carry out the object Save and generate the ObjectDefinition.xml file.

[0053] (3) Scenario creation: after the object recording work is completed, create a tree-shaped scenario according to the test case requirements, and use the xml storage idea of ​​the binary structure of the present invention to save each scenario to generate Scenarios.xml.

[0054] (4) Script generation: based on the object definition file ObjectDefinition.xml and the scenario file Scenarios.xml, the script of the binary structur...

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 binary structure-based script generating method. In the method, each window or web window is regarded as an independent image, all controls in each window are regarded as the subobjects of a window object, and a frame index, a like component count index and a combined identification mode are introduced to make the nested hierarchy of the control objects contain at least two stages, and the objects are stored and recorded in an expandable markup language xml and in a diadactic structure in an object definition.xml file; on the basis of completing object recording, tree scenes are created and each independent tree scene is stored in a binary structure to form a scenarios.xml file; and finally, scripts are created automatically according to objects and scenes, and the generated script system are definitely in a binary structure for the objects and the scenes exist in the mode of binary structure.

Description

technical field [0001] The invention relates to a method for generating a script system, which belongs to the technical field of script generation in software automatic testing technology. Background technique [0002] Software testing is an indispensable part of the software development process. Its purpose is to find and modify the defects and errors in the software as much as possible to improve the quality and reliability of the software. According to statistics, software testing costs take up 30% to 50% of the entire software development. With the continuous improvement of software functions and complexity, software automation testing, which can improve software quality, has become a research hotspot. [0003] Test scripts play an important role in automated testing, and the design and creation of scripts directly affect the reproduction of test results. Currently, there are four commonly used scripting techniques: linear scripting, structured scripting, data-driven s...

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 NANJING ALLDAYTEST AUTOMATION TECH
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