Method and system for using page-based object flow verification in regression test

A technology of regression testing and page objects, which is applied in the field of regression testing based on page object flow verification, can solve problems such as inability to test, compare and verify, and achieve the effects of avoiding testing risks, reducing manual testing time, and ensuring project quality

Inactive Publication Date: 2009-09-09
ALIBABA GRP HLDG LTD
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these test tools only operate or verify the operation step objects related to the test scenar...

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 using page-based object flow verification in regression test
  • Method and system for using page-based object flow verification in regression test
  • Method and system for using page-based object flow verification in regression test

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In the process of web page testing based on B / S (Browser / Server, browser / server) architecture, various web objects in the functional flow page are captured and stored in the benchmark table in a certain order or state, and each regression test generates Execute the history table, and finally compare the sequence or status of the same functional flow page objects in the history table and the benchmark table, so as to obtain the difference between the page object flow and the expectation in the new round of regression testing. In the present invention, when the test is executed to a certain stage, or the main functional flow has tended to be stable or the code tends to freeze, that is, each functional flow (or test scene, test case) page and the order or state of the page objects can be obtained. Organized and stored in the data table according to certain rules, as a "reference benchmark", as the number of iterations in the regression test increases, the execution history ...

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 provides a method for using page-based object flow verification in a regression test, which comprises the following steps: recording a test automation script operated by a functional flow, and generating an object pivot table from different pages according to the operation sequence of a main functional flow; during the execution of a new round of regression test, generating an object historical table of an operation page of the function value; and contrasting the pivot table with the object historical table to determine whether the pivot table and the object historical table have differences in the same functional page and the sate and sequence of the same object and generating and outputting a test difference report. The invention provides a device for using the page-based object flow verification in the regression test. The invention can greatly reduce time for manual test and increase in the test number due to frequency program correction, ensures program quality and avoids test risks.

Description

technical field [0001] The invention relates to the field of computer network applications, in particular to an application method and system for regression testing based on page object flow verification. Background technique [0002] At present, there are many commercial and open source automated testing tools on the market, including: testing tools using DOM (Document Object Model, file object model) technology, testing tools using HTTP (Hypertext Transfer Protocol, hypertext transfer protocol) and using simulation Browser testing tools. Among them, the test tools using DOM technology directly control the browser, read or control the objects in the page to achieve the purpose of automatic testing, most of the automatic testing tools (Selenium RC, Watir and QTP, etc.) are Based on DOM technology. An HTTP-based testing tool must generate HTTP requests for each function and verify the responses. The testing tool based on the simulated browser must fully simulate the behavi...

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
Inventor 李辅炳
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products