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

Method and device for web regression testing

A regression test, a technology to be tested, applied in the Internet field, can solve the problems of insufficient WEB regression test design and low test efficiency

Active Publication Date: 2018-10-16
CHINA UNIONPAY
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention provides a method and device for WEB regression testing, which are used to solve the problems in the prior art that the design of WEB regression testing is not perfect and the test efficiency is low

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 device for web regression testing
  • Method and device for web regression testing
  • Method and device for web regression testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] The method and device for WEB regression testing provided by the embodiment of the present invention are applied in the financial industry. The following describes the original transaction, error transaction, error transaction database and transaction history database in the embodiment of the present invention.

[0054] For example, if the cardholder makes a consumption at the POS (Point of Sale) of the supermarket, this consumption ...

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 apparatus for WEB regression testing. The method includes the steps of determining, according all error transaction data on the T day, error transaction data to be tested; determining, according to the error transaction data to be tested, a transaction identifier associated to the error transaction data to be tested; acquiring an error transaction path corresponding to the transaction identifier on the T day, and generating a configuration file according to the transaction identifier and the error transaction path; generating a functional script based on functions of an error transaction service WEB page, and determining, according to a mapping relation between the functional script and traffic flows, a test case corresponding to each traffic flow; and acquiring environmental information of the transaction identifier, implementing the test cases according to configuration parameters and the environmental information, and obtaining test results. The method and apparatus for WEB regression testing in the embodiment of the invention are capable of pushback and automated playback according to the traffic flow results, can be adaptive to the change in business functions, and improve the efficiency of WEB regression testing.

Description

technical field [0001] The invention relates to the Internet field, in particular to a method and device for WEB regression testing. Background technique [0002] Regression testing refers to retesting after modifying old code to confirm that the modification did not introduce new bugs or cause other code to generate errors. Automatic regression testing will greatly reduce the cost of system testing, maintenance and upgrades and other stages. As an integral part of the software life cycle, regression testing occupies a large proportion of workload in the entire software testing process, and multiple regression tests will be performed at each stage of software development. [0003] Existing WEB (web page) regression testing has defects and mainly includes the following points: [0004] 1. Functional testing is not comprehensive. Existing WEB regression test cases are mainly based on single-function point tests, and are not distinguished according to complex business flow l...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 李伟李蓓璇徐端琦雒武超陈剑文周广明戎珈孙斌凯
Owner CHINA UNIONPAY
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