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

Automated web testing method for determining equivalence based on content-insensitive DOM skeleton

An automated testing, non-sensitive technology, applied in the direction of software testing/debugging, etc., can solve the problems of unstoppable testing and hindering Web automated testing, etc., achieve good time operation efficiency, reduce scale, and eliminate negative effects

Inactive Publication Date: 2018-01-05
杨瑞
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the impact of these substructures on page or state equivalence judgments cannot be eliminated, it will also greatly hinder the progress of web automation testing
[0009] In addition, due to the interaction between the user or the test program and the system during the running of the web application, a new page will also be dynamically generated, and there may also be new interactive components in the new page, which may lead to the automation of the web application system. The test will continue to generate new pages so that the entire test cannot be stopped

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
  • Automated web testing method for determining equivalence based on content-insensitive DOM skeleton
  • Automated web testing method for determining equivalence based on content-insensitive DOM skeleton
  • Automated web testing method for determining equivalence based on content-insensitive DOM skeleton

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The overall implementation flow chart of the present invention is as figure 1 As shown, the Crawling-based method is used as a web automation testing framework. In the process, the Content-Insensitive DOM Skeleton of the Web page is dynamically extracted, and the Content-Insensitive DOMSkeleton between pages is analyzed using the Token-based Mongue-Elkan text similarity method. Make page equivalence judgments, and try to eliminate the adverse effects of page content and substructure on automated testing.

[0025] In the overall framework, judging whether the page is equivalent is mainly based on the content-insensitive DOM Skeleton page equivalence judging method. Main technology of the present invention comprises the following steps:

[0026] (1) Dynamic page loading.

[0027] This process uses Selenium to call the browser in the system during the test run to generate the browser thread of the test program itself, so as to obtain the HTML code of the current page, an...

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 an automated web testing method for determining the equivalence based on a content-insensitive DOM skeleton (Content-Insensitive DOM Skeleton). The method is a similarity determination method based on the content-insensitive DOM skeleton (Content-Insensitive DOM Skeleton), so that the negative effects of the page content and sub-structures on the page equivalence judgment are reduced. The determining method is used in a Crawling-based automated testing frame on global and local levels, the behavior relations between dynamic Web pages are analyzed and mined, and state models and testing cases for describing system behaviors are dynamically generated. By means of the method, the scale of the models in Web testing, the number of the testing cases and testing time cost can be greatly reduced, the endless loop of testing is avoided, and the testing efficiency and effectiveness are improved.

Description

1. Technical field [0001] The invention belongs to the technical field of software testing, especially the technical field of Web testing. It proposes a similarity measurement method based on Content-Insensitive DOM Skeleton to determine the equivalence of pages or states, avoiding the negative factors that hinder the implementation of Web automation testing as much as possible, and globally Apply this method to the Crawling-based test framework at the local and local levels to realize complete automated testing of Web applications. 2. Background technology [0002] With the continuous development and advancement of software technology, software systems play an increasingly important role in various fields of society. With the continuous growth of computer software scale, software quality has gradually become one of the bottlenecks restricting the development and application of computers. As an important link in the software life cycle process, software testing plays an irr...

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
Inventor 杨瑞蔡虹
Owner 杨瑞
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