A data-driven layered automated testing system and method

An automated testing, data-driven technology, applied in software testing/debugging, etc., can solve the problems of low test case coverage, high tester skill requirements, and high script maintenance costs, so as to facilitate data maintenance and reuse, and increase coverage. , the effect of improving test efficiency

Active Publication Date: 2017-09-15
CHINA INTERNET NETWORK INFORMATION CENTER
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003]a. Use the mode of first recording the test operation and then playing it back. This mode has low work efficiency and weak adaptability to changes in the system under test. The recorded test script is easy Invalid, large amount of modification, and can only be used for regression testing
[0004]b. Even if the recording and playback mode is not used, more development work is still required. During the test process, more test codes need to be developed, and the tester’s skills are required High, and script maintenance costs are high
[0005] c. The versatility is not strong, and it is difficult for a system to cover the test requirements of Web UI, Web service, Server (background service), and DB (database) at the same time
[0006]d. The system does not have a high coverage rate of test cases, and cannot automatically execute a large proportion of test cases

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
  • A data-driven layered automated testing system and method
  • A data-driven layered automated testing system and method
  • A data-driven layered automated testing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be further described below through specific embodiments and accompanying drawings.

[0043] The data-driven system and method for layered automated testing of the system under test proposed by the present invention mainly achieve the following objectives:

[0044] 1) Continuously run through the data-driven system, automatically execute test cases and generate test reports.

[0045] 2) Through reasonable design, the test cases and test data can be managed conveniently and conveniently.

[0046] 3) Automatically test the system under test in layers, so that most of the test cases can be automatically executed.

[0047] 4) Testers only need to write test data to realize automated testing.

[0048] 5) The system is not only used for regression testing, but also for the first round of testing of the object under test.

[0049] T...

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 data-driven layered automated testing system and method. The system includes: a configuration file management module, used to manage configuration files; a test case management module, used to manage test case description files; a test data management module, used to manage data files under the data file path corresponding to each test case, Including execution index files and supplementary data files; layered action keyword implementation module, used to layer the system under test according to its functional structure, define several test action keywords at each layer according to test needs, and implement each action Key words are used to implement test actions; the control module is used to control test execution. The invention performs three-level file index management on use cases and data files required for testing, divides and maps the tested system to different levels and realizes action keyword behaviors respectively, has clear logic, is easy to maintain, increases the coverage of automated testing, and improves testing performance. efficiency.

Description

technical field [0001] The invention belongs to the technical field of software automatic testing, and in particular relates to a data-driven layered automatic testing system and method. Background technique [0002] As an effective technical means to improve testing efficiency and testing accuracy, automated testing technology is more and more widely used. As a necessary condition for automated testing, the design method of testing tools and frameworks is particularly important. Currently commonly used automated testing frameworks generally do not have the characteristics of high efficiency, ease of use, and strong versatility. They usually have the following shortcomings: [0003] a. Use the mode of first recording the test operation and then playing it back. This mode has low work efficiency and weak adaptability to the changes of the system under test. The recorded test script is prone to failure, the amount of modification is large, and it can only be used for regressio...

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): G06F11/36
Inventor 肖建芳刘冰王骞崔月霞鲁慧鑫
Owner CHINA INTERNET NETWORK INFORMATION CENTER
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