Automatic software testing method and device

An automated testing and software technology, applied in the direction of software testing/debugging, which can solve the problems of easily missing test items and long testing time, and achieve the effect of avoiding missing test items

Active Publication Date: 2019-06-21
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF11 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a software automated testing method and device, which can at least solve the test cost, excessive test time and easy omission of test items caused by test engineers manually making test cases and writing scripts in the current related art. The problem

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The specific implementation manners of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation manners described here are only used to illustrate and explain the embodiments of the present invention, and are not intended to limit the embodiments of the present invention.

[0030] Such as figure 1 As shown, the software automated testing method of an embodiment of the present invention includes:

[0031] S11. Obtain a mind map for the software to be tested.

[0032] Regarding the execution subject of the method in the embodiment of the present invention, it can be a controller or processor configured on various terminals (such as mobile phones, computers) or servers, and is used to automatically generate automated test scripts for the software to be tested according to the mind map, Thus, the automated testing of the software to be tested is realiz...

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 embodiment of the invention provides an automatic software testing method and device, and belongs to the field of software testing. The automatic software testing method comprises: acquiring a mind map for to-be-tested software; Decomposing a plurality of test processes corresponding to the mind map, and analyzing node content corresponding to each test node in the plurality of test processes;Performing natural language processing analysis on the node content of each test node in the plurality of test processes to determine a plurality of groups of target action word sets respectively corresponding to the plurality of test processes; And determining a plurality of target execution function sets matched with the plurality of groups of target action word sets, and generating an automatic test script for the to-be-tested software according to the plurality of target execution function sets. Therefore, the automatic test script of the to-be-tested software can be generated only by inputting the mind map of the to-be-tested software without manually making a test case and a test script, so that the test labor cost and the software test on-line time are greatly reduced.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a software automatic testing method and device. Background technique [0002] Before the software is officially launched, it is generally necessary to test the functions of the software to verify whether the functions of each part of the software can operate normally. [0003] In order to ensure full coverage of software testing functionality, it is currently proposed in the related art that automated test scripts can be run to implement a comprehensive test of all software functions. However, the inventors of the present application found that the current related The above technical solutions have at least the following defects: the process of writing automated test scripts is generally implemented by test development engineers who first design test cases and then write automated test scripts based on test cases, resulting in high labor costs for automated test maintena...

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 BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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