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

Method and system for managing automated test scripts

A technology of automated testing and scripting, which is applied in software testing/debugging, error detection/correction, electrical digital data processing, etc., and can solve problems such as insufficient accuracy of test results and low efficiency of automated testing

Active Publication Date: 2019-12-31
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method and system for managing automated test scripts to solve the problems of low efficiency of automated testing and insufficient accuracy of test results in the prior art

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
  • Method and system for managing automated test scripts
  • Method and system for managing automated test scripts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] see figure 1 , figure 1 It is a schematic flowchart of a method for managing automated test scripts provided by the embodiment of the present application. Depend on figure 1 It can be seen that the method for managing automated test scripts in this embodiment mainly includes the following steps:

[0076] S1: Determine all automated test scripts in the current project.

[0077] Wherein, any automated test script corresponds to a test function point or a test case.

[0078] S2: Add a corresponding level coefficient to each automated test script, and the initial value of the level coefficient is 0.

[0079] In this embodiment, the grade coefficient is used for subsequent assessment of the defects of the automated test script, and the error-prone script is selected according to the size of the grade coefficient. When running the automated test script, the selection of the script is effectively guided according to the grade coefficient, and the error-prone script is run ...

Embodiment 2

[0118] exist figure 1 On the basis of the illustrated embodiment see figure 2 , figure 2 It is a schematic structural diagram of a system for managing automated test scripts provided by the embodiment of the present application. Depend on figure 2 It can be seen that the system for managing automated test scripts in this embodiment mainly includes: automated test script determination module, grade coefficient addition module, full script test module, partial script test module, grade coefficient calculation module, sorting module and test module. .

[0119] Wherein, the automated test script determination module is used to determine all automated test scripts in the current project, wherein any automated test script corresponds to a test function point or a test case. The level coefficient adding module is used to add a corresponding level coefficient to each automated test script, and the initial value of the level coefficient is 0. The full script test module is 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and system for managing automated test scripts. The method comprises the steps: determining all automated test scripts in a current project, and adding a level coefficient to each script; executing a full script automatic test; executing part of script automatic tests; automatically testing according to the number of times of full script automatic testing and an automatic testing result; calculating the calculation value of any script level coefficient by using a formula A = B1 + B2 + B3 +...... + Bm + r1 * C1 + r2 * C2 + r3 * C3 +...... + rn * Cn according tothe number of automated testing times and automated testing results of part of scripts, sorting all the scripts according to the descending order of the grade coefficients, and selecting the scripts matching the first r * m grade coefficients; and performing automated testing thereof. The system comprises an automatic test script determining module, a grade coefficient adding module, a full scripttesting module, a partial script testing module, a grade coefficient calculating module, a sequencing module and a testing module. According to the invention, the test time can be saved, and the testefficiency and accuracy are improved.

Description

technical field [0001] The present application relates to the technical field of automated testing, in particular to a method and system for managing automated testing scripts. Background technique [0002] With the development of automated testing technology, more and more software projects adopt automated testing to save labor costs and time costs. With the iteration and development of software projects, the number of automated test scripts increases. When the scale of the software project is large enough, the script library becomes larger and larger, and the execution time of the scripts becomes longer and longer. Therefore, how to manage automated test scripts is an important issue. [0003] At present, there are usually two ways to manage automated test scripts. The first one is: each time automated testing is required, the staff manually selects a part of the current automated test scripts as a quick test according to the actual project needs and their own experience....

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 史琦
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
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