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

Automation testing method and system based on test case data table

A technology of automated testing and test cases, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. It can solve the problems of difficulty in guaranteeing the effect of automated testing, low efficiency of data construction, and high cost of data maintenance, so as to improve The effect of generating efficiency and automated testing efficiency, improving automated testing efficiency, and reducing data maintenance costs

Active Publication Date: 2016-07-27
ALIBABA (CHINA) CO LTD
View PDF9 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In practical applications, the above-mentioned data structure method has at least the following disadvantages: 1. In the process of writing data, it is necessary to ensure that each piece of data must meet both the requirements of business logic and the constraints of the database (ie, the constraints of the corresponding programming language), Resulting in low data construction efficiency; 2. The above-mentioned data construction method is directly written by specific test cases to obtain a test case data table for a certain business, which is difficult to reuse in similar businesses with different test cases; 3. In terms of data maintenance , based on the above data construction method, when the structure of the data table changes (such as adding fields, reducing fields, etc.), it is necessary to modify each test case data involving the table one by one, resulting in high data maintenance costs, and even further leading to no one. Maintenance, it is difficult to guarantee the effect of automated testing

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
  • Automation testing method and system based on test case data table
  • Automation testing method and system based on test case data table
  • Automation testing method and system based on test case data table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0040] figure 1 It is a flowchart of an automated testing method based on a test case data table provided in the embodiment of this application. This method can be applied to various types of automated testing, and can simply and efficiently obtain data tables corresponding to various test cases, thereby ensuring the testing efficiency and testing effect of automated testing. refer to figure ...

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 present application discloses an automation testing method and system based on a test case data table. The method comprises: firstly, determining a single table attribute of a corresponding test case data table according to a to-be-tested service logic; next, establishing a corresponding table template according to the determined single table attribute; then, adding specific data into the table template according to a specific testing demand, so as to obtain the corresponding test case data table; and finally, performing an automation test on each to-be-tested service according to the obtained test case data table. Compared with the prior art, the reusability of the table template in the method disclosed by the present invention is strong, and generation and maintenance of the test case data table are simpler and more efficient, so that testing efficiency and testing effects of the automation test can be improved.

Description

technical field [0001] The present application relates to the technical field of automated testing, in particular to an automated testing method and system based on a test case data table. Background technique [0002] With the increase in the scale and complexity of software development, the role of automated software testing has become increasingly prominent. Effective automated testing can greatly improve software development efficiency, save development and testing resources, and accelerate version iterations, thereby saving costs for the company. To realize software automation testing, it is first necessary to establish a test database to store data such as test cases required for testing. At present, the server-side automated test framework / tool ​​generally adopts the database data structure method as follows: each field of the table data involved in the test case is written one by one through SQL statements or xls, xml, etc., so as to directly generate the correspondi...

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/3684
Inventor 陆影影周良洲
Owner ALIBABA (CHINA) 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