Unlock instant, AI-driven research and patent intelligence for your innovation.

Automatic testing method and device

A technology for automated testing and test scripts, applied in software testing/debugging, error detection/correction, instruments, etc., to solve problems such as low automated testing efficiency, incorrect test results, and impact on execution results, to improve automated testing efficiency, The effect of improving accuracy and improving efficiency

Active Publication Date: 2020-05-15
MAIPU COMM TECH CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, under the traditional automated test framework for data communication equipment, each test case is independent of each other (the test scripts corresponding to the test cases are also independent of each other), and multiple test scripts are executed serially on the device.
Before each script is executed, all configurations will be cleared and the occupied equipment will be released. Otherwise, the execution sequence of scripts will affect the execution results, resulting in incorrect test results.
Therefore, there is a problem that it takes a long time to create the configuration corresponding to the script and the efficiency of automated testing is low.

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
  • Automatic testing method and device
  • Automatic testing method and device
  • Automatic testing method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0036] According to the applicant's research, it is found that in the existing automated testing of communication software, due to the different topological environments corresponding to different test scripts, when executing different test scripts, it is necessary to create a separate test environment for each test script in different topological environments. Traditional data The simple flow of the execution mode of the communication equipment automation test framework is: 1) Manually / automatically submit the scripts that need to be executed; 2) The scheduling process is scheduled according to the submitted scripts, and idle test equipment is allocated according to the used topology, and the allocated equipment After the device is occupied, it cannot be allocated any more; 3) After the device is allocated, the script execution process uses the allocated test device to execute the script. When the script execution is completed, all device configurations are cleared and the devi...

no. 2 example

[0070] In order to cooperate with the automated testing method provided in the first embodiment of the present invention, the second embodiment of the present invention further provides an automated testing device 100 .

[0071] Please refer to Figure 5 , Figure 5 It is a block diagram of an automatic testing device provided in the second embodiment of the present invention.

[0072] The automated testing device 100 includes a reading module 110 , a topology creation module 120 , a script creation module 130 and an execution module 140 .

[0073] The reading module 110 is configured to read the test tasks in the test task list.

[0074] The topology creation module 120 is configured to determine a test topology information set corresponding to the test task, and each test topology information in the test topology information set corresponds to a test topology.

[0075] The script creation module 130 is configured to construct a test topology corresponding to each test top...

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 provides an automatic testing method and device, and relates to the technical field of software automatic testing. The automatic test method comprises the following steps: reading test tasks in a test task list; determining a test topology information set corresponding to the test task, wherein each part of test topology information in the test topology information set corresponds toone test topology; constructing a test topology corresponding to each part of test topology information in the test topology information set, and creating a test script set corresponding to each testtopology; and determining information of all preset environments corresponding to each test script set, sequentially creating all the preset environments, and sequentially executing the test scriptsin the test script sets corresponding to the preset environments in each preset environment. According to the automatic test method, all the test scripts corresponding to the preset environment are executed in the preset environment, and the automatic test efficiency is improved by reusing the preset environment.

Description

technical field [0001] The invention relates to the technical field of software automation testing, in particular to an automation testing method and device. Background technique [0002] With the rapid development of computer software and the Internet, the workload of software program testing has also shown explosive growth. Therefore, automated testing has become the general trend in the communication and Internet industries. For products with iterative development and stable functions, effective use of automated testing tools can Greatly speed up version testing and verification, saving testing costs. [0003] However, under the traditional automated test framework for data communication equipment, each test case is independent of each other (and the test scripts corresponding to the test cases are also independent of each other), and multiple test scripts are executed in a serial manner on the device. Before the execution of each script, all configurations will be clear...

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
CPCG06F11/3688G06F11/3684
Inventor 彭乾舜
Owner MAIPU COMM TECH CO LTD