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

Web automatic test management method based on multiple granularities

A technology of automated testing and management methods, applied in the field of web automated testing management based on multi-granularity, can solve problems such as poor results and expectations, and achieve smooth operation, fast running speed, and reasonable design

Active Publication Date: 2019-08-20
ZHEJIANG UNIVERSITY OF MEDIA AND COMMUNICATIONS
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to maintain the stable operation of the website, website maintenance personnel need to continuously upgrade and maintain the website. Automated testing of the website is the basis for upgrading and maintenance. At present, there are many methods for automated testing of the website, but the existing automated testing The method did not work well enough to meet people's expectations

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] A multi-granularity-based web automation test management method, the specific steps are as follows:

[0025] Step 1: Record the operation process on the Internet and obtain test data to obtain the recording content description file: obtain the user's operation information in the form of a plug-in before the recording starts, and create a temporary operation description that matches the current recording operation in the browser cache json file, the browser builds an operation storage area in the cache; at the same time, the browser obtains the current browser URL, cookie and other information, writes them into the current operation storage area, and generates the only one in the current system as a description of the current recording operation , random business number and describe the recording information at the same time, the browser records each interactive operation of the user with the interactive node of the current page, establishes the interactive operation desc...

Embodiment 2

[0031] A multi-granularity-based web automation test management method, the specific steps are as follows:

[0032] Step 1: Record the operation process on the Internet and obtain test data to obtain the recording content description file: In the browser, use a third-party method to record the user's operation in the browser; during the recording process, through the plug-in form , to obtain the user's operation information, first traverse the dom elements of the current page, obtain the element id and element type that can be interacted with by the current interface, and then install the automated test recording plug-in in the browser through the js browser plug-in form , during the recording process, obtain the user's interactive object number in the test operation, compare it with the pre-traversed data set, and determine whether the current input state is valid; at the same time, record when the user enters the interactive information in the corresponding interactive area ...

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 web automatic test management method based on multiple granularities, and aims to solve the problem that an existing website automatic test effect is poor. The method comprises the following specific steps: step 1, recording an operation process in the Internet and obtaining test data to obtain a recorded content description file; 2, analyzing the recorded content description file, and establishing a fine-grained automatic test unit to obtain a fine-grained node description file; 3, recombining the fine-grained node description file, and constructing a coarse-grainednode description information model to obtain a coarse-grained node description file; 4, recombining the coarse-grained node description file and the fine-grained node description file, constructing amulti-granularity test case execution process, and executing related cases to obtain an execution result; and 5, performing real-time monitoring and test feedback on an execution result. According tothe method, the test result can be accurately obtained, and a positive effect on upgrading and maintenance of the website is achieved.

Description

technical field [0001] The invention relates to the field of web (Internet) test management, in particular to a multi-granularity-based web automation test management method. Background technique [0002] The Internet is also known as the Internet, or the transliteration of the Internet and the Internet. The Internet began in 1969 with the Arpanet in the United States. It is a huge network of networks connected in series. Logically a single huge international network. China's Internet has formed a scale, and Internet applications are becoming more diversified. The Internet is changing people's study, work and lifestyle more and more profoundly, and even affects the entire social process. [0003] With the continuous development of Internet technology and mobile communication technology, people use the Internet to surf the Internet more and more frequently, and the stability of Internet use is also more and more tested. [0004] In order to maintain the stable operation of...

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/3688G06F11/3672
Inventor 邱根权周忠成林锐斌江海洋魏亮徐垚黎滕姜璎烜
Owner ZHEJIANG UNIVERSITY OF MEDIA AND COMMUNICATIONS
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