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

Automatic test script generation and analysis execution method

A technology for automated testing and script generation, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve the problems of difficult programming languages, complicated scripting, and unfavorable learning and mastery of testers

Pending Publication Date: 2020-02-07
北京信安世纪科技股份有限公司
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For testers, various automated testing frameworks require their own programming languages. It is difficult to master these programming languages, and the script syntax is also different. The script writing is complicated, which is not conducive to testers' learning and mastering.

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 test script generation and analysis execution method
  • Automatic test script generation and analysis execution method
  • Automatic test script generation and analysis execution method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0029] Such as figure 1 As shown, the automated test script generation and analysis execution method of the embodiment of the present invention comprises the following steps:

[0030] Step S1, set the test script format file, the test script format file includes: action item, object item, value item and waiting item, as shown in Table 1.

[0031] Table 1

[0032]

[0033] (1) The action item is used to set the software operation action.

[0034] Action items include: open program, send keyboard ev...

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 test script generation and analysis execution method which comprises the steps that a test script format file is set, the test script format file comprises an action item, an object item, a numerical value item and a waiting item, and the action item is used for setting a software operation action; wherein the object item is used for setting an interface controlelement needing to be operated, and the numerical item is used for setting a value sent to the control element; wherein the waiting item is used for setting the maximum duration of waiting for executing the action; a test command is received; the test command is analyzed; an analysis result corresponds to each item of a script format file, the interface control element is searched according tothe action and the positioning value, and the corresponding action is executed. The automated testing script can be compiled without mastering any programming language, and the script analysis executor is responsible for analyzing the script and executing corresponding actions according to the script. The method can be used for automatic testing and other scenes needing to be automatically executed by a machine.

Description

technical field [0001] The invention relates to the technical field of script testing, in particular to a method for generating, analyzing and executing an automated test script. Background technique [0002] In addition to being used for automated testing itself, automated test scripts and technologies can also be used to implement automated one-click logins that bring convenience to users. Of course, they can also be used for unadvocated behaviors such as flash sales, ticket grabbing, and automatic forum registration , irrigation and other scenes. [0003] When existing automated testing application systems, scripts need to be written in advance. Most of these scripts are written in programming languages ​​such as C++, java, python, Perl, Python, and PHP. For testers, various automated testing frameworks require their own programming languages. It is difficult to master these programming languages, and the script syntax is also different. The script writing is complicate...

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/3688
Inventor 李海宁
Owner 北京信安世纪科技股份有限公司