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

Resource using method in automatic testing process

A technology for automatic testing and test cases, which is applied in the field of resource usage in which resource pool allocation is used to allocate resources to test case scripts, which can solve problems such as conflicts and achieve the effect of improving speed and efficiency

Active Publication Date: 2007-05-23
SHENZHEN TRANSSION HLDG CO LTD
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to provide a method for using resources in the process of automatic testing. Through the process of automatic testing, resource pools are used to manage and allocate resources, so as to solve the problem of resource conflicts when use cases are parallel in the prior art, and improve the efficiency of use case execution. speed and efficiency

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
  • Resource using method in automatic testing process
  • Resource using method in automatic testing process
  • Resource using method in automatic testing process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In automated testing, there are often some resources that are exclusive, and when one use case is used, other use cases cannot be used. For example, in the 200 phone card business, the card number is such a resource. If one person is using this card to make a call, and another person uses this card again, the system will prompt: This card is in use. If such resources cannot be effectively managed, it may be correct to execute each use case individually, but when they are grouped together for batch execution, if the execution sequence changes, such as from serial to parallel, the above-mentioned resource conflict problem will occur . There are actually many resources that may cause conflicts. In addition to the card number, there are also abbreviated account numbers, calling numbers, called numbers, and so on.

[0028] In order to solve the resource conflict problem, the present invention uses a unique resource allocation mechanism - resource pool technology, and the re...

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

This invention relates to a method of automatically testing the usage of resources in process, and the method includes the following steps: Step 1: In the process of automatic testing, a number of test cases make up of a concurrent process, which applies for resources from resources pool; Step 2: The resources pool allocates the stored resources to a number of test cases, and according to the amount of stored resources in the resources pool, recombine a number of test cases into several concurrent processes; Step 3: Execute the said several concurrent processes. By the means of the invention, it fundamentally solves the resource conflict problem when test cases execute concurrently, and thorough separates users' execution sequence and test cases. Users can not concern with the execution sequence of these cases of the future in the preparation of test cases, and if the execution sequence changes when users executing, there is no any impact on the test cases own. Also, it improves speed and efficiency of the execution of the cases.

Description

technical field [0001] The invention relates to a method for using resources in the process of automatic testing, in particular to a method for using resources in the process of automatic testing, using resource pool allocation to allocate resources to test case scripts. Background technique [0002] In automated testing, a use case is usually composed of three scripts: use case preprocessing, postprocessing, and one or more execution scripts. To include an execution script, when executing a use case, first execute the use case preprocessing script, then execute one or more execution scripts concurrently, and finally execute the postprocessing script. Figure 1 shows the process of use case execution. [0003] Users can freely select some use cases and execute them according to any execution sequence (serial and parallel). This execution sequence is called a procedure, and a procedure is a collection of use cases executed according to certain rules. The procedure is compose...

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/36G06F9/50
Inventor 冯敬涛林文立
Owner SHENZHEN TRANSSION HLDG 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