Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Webpage automatic regression test method and system, medium and electronic equipment

An automated regression and testing system technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as inefficiency and easy omission, improve product quality, development efficiency, and writing efficiency and test accuracy

Inactive Publication Date: 2019-08-16
极智(上海)企业管理咨询有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, repeated operations are required every time a product is released and launched, which is very inefficient and easy to miss

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
  • Webpage automatic regression test method and system, medium and electronic equipment
  • Webpage automatic regression test method and system, medium and electronic equipment
  • Webpage automatic regression test method and system, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Such as figure 1 As shown, it is a flow chart of a webpage automated regression testing method according to a certain embodiment of the present invention, and the method includes:

[0046] Generate test case code;

[0047] Play back and execute the test case code, record the status and prompt of each test case;

[0048] Count the success rate of all test cases in the project.

Embodiment 2

[0050] Such as figure 2 As shown, the embodiment of the present invention provides a webpage automated regression testing method, the method includes the following steps:

[0051] S100, recording test case operation steps through a headless browser plug-in, and generating test case codes.

[0052] Specifically, such as image 3 As shown, the operation steps of recording a test case through a headless browser plug-in to generate a test case code include:

[0053] S101, the tester simulates the user's usage habits to generate operation behavior data. Wherein, the operation behavior data includes entering URL, clicking on a link to jump, and submitting input information.

[0054] S102. Read the operation behavior data through the headless browser plug-in. Wherein, the headless browser plug-in can read and modify all data on the visited website, and according to the operation behavior track of the tester, the said headless browser plug-in of the headless browser plug-in reads...

Embodiment 3

[0081] Such as Figure 5 As shown, this embodiment provides an electronic device, which is used for an intelligent matching method of a financial and taxation platform. The electronic device includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein ,

[0082] The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor, to enable the at least one processor to:

[0083] Record the test case operation steps through the headless browser plug-in, and generate the test case code;

[0084] Adding said test case code to the test system;

[0085] Adjust the execution sequence of the test case code in the test system;

[0086] Play back and execute the test case code through the headless browser, and record the status and prompt of each test case;

[0087] Statistical test case success rate.

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 webpage automatic regression test method and system, a medium and electronic equipment. The method comprises the following steps: recording a test case operation step througha headless browser plug-in, and generating a test case code; adding the test case code to a test system; adjusting the execution sequence of the test case codes in a test system; executing the test case codes through playback of the headless browser, and recording the state and prompt of each test case; and counting success rate headless browser plug-ins of all test cases in the project. Accordingto the method, the compiling efficiency and the testing accuracy of the test case can be improved, so that the product quality and the development efficiency of the webpage are improved on the whole.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a method, system, medium and electronic equipment for automatic regression testing of webpages. Background technique [0002] Regression testing is an important part of the web development process. At present, regression testing mainly relies on testers to write test case documents according to product requirements and user usage scenarios, and then manually operate the browser to verify whether the released version covers test cases and whether it affects previous functions. However, repeated operations are required every time a product is released and launched, which is very inefficient and easy to miss. [0003] Therefore, in the long-term research and development, the inventor has conducted a lot of research on regression testing, and proposed a web page automation regression testing method to solve one of the above technical problems. Contents of the invention [0004] ...

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 极智(上海)企业管理咨询有限公司
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
Eureka Blog
Learn More
PatSnap group products