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

Method and system for separating test cases, test scripts and test data

A test case, test data technology

Inactive Publication Date: 2018-10-23
GUANGDONG ESHORE TECH
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, the most common separation method is QTP separation, which adopts the keyword-driven concept to simplify the creation and maintenance of test cases. It allows users to directly record the operation process on the screen and automatically generate functional test or regression test cases. Professional testers You can also obtain full control over the test and object properties through the provided built-in script and debugging environment; however, it can only be used on the Windows system platform, and is only suitable for projects with the interface as the main interactive mode, which has high requirements for the system environment. The separation of test scripts and test cases has not been realized, the maintenance workload of test scripts is heavy, and the high price is not affordable for all enterprises
Another method is to implement the test case directly in the script, first decompose the test case into small execution units, and then combine and call according to the function, but this method must have a high programming ability, and most software engineering Do not have the ability of software development, or are not interested in software development, have not realized the separation of test scripts and test cases, and the maintenance workload of test scripts is heavy. Enterprises generally have two sets of test cases, manual test cases and automated test cases. If the program changes slightly, manual software test engineers have to maintain manual test cases, while automated software test engineers have to spend time maintaining test scripts in addition to maintaining automated test cases

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 separating test cases, test scripts and test data
  • Method and system for separating test cases, test scripts and test data
  • Method and system for separating test cases, test scripts and test data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0044] Such as Figure 1-7 In the specific embodiment shown, the method for separating test cases, test scripts, and test data provided by this embodiment can be used in the process of software testing to achieve low learning difficulty and strong practicability. Software test engineers who don't need programming skills can also use it normally, which meets the low-cost and high-efficiency requirements of today's software companies.

[0045] Such as figure 1 As shown, the method for separating test cases, test scripts and test data provided by this embodiment includes:

[0046] S1. Design and write test cases according to specified rules;

[0047] S2. Add attributes to the use cases that need to realize automated testing;

[0048...

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 relates to a method and system for separating test cases, test scripts and test data. The method comprises the steps of designing and compiling the test cases according to designated rules; adding attributes to cases that require automated testing; adding designated identities to location of to-be-called external data as test data; and running the test scripts according to that the test cases and the test data. The test cases and the test data are respectively established, the test data is referenced on the test cases by identification, after the test scripts read and process thetest cases and the test scripts, the automated test process is completed, the test cases, the test scripts and the test data are separated from each other, the learning difficulty is not high, the practicability is high, software test engineers without programming skills can also use normally during scalability, and the requirements of today's software enterprises with low cost and high efficiency are met.

Description

technical field [0001] The present invention relates to the technical field of software testing, and more specifically refers to a method and system for separating test cases, test scripts and test data. Background technique [0002] In software testing, to complete the automated testing process, data-driven testing techniques or keyword-driven testing techniques are usually used to separate test cases, test scripts, and test data to enhance the maintainability of test scripts. [0003] Among them, software test engineers who use data-driven testing technology will use black-box testing to design test cases, simplify all possible input data from an infinite set to a finite set, and run on the same set of test cases to find software errors. In the process of realizing automated testing, the data is separated from the test script to realize the parameterization of the test script. In addition, the expected result value of the test is stored in the data file together with the t...

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/3684G06F11/3688
Inventor 邹尚礼
Owner GUANGDONG ESHORE TECH