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

Method and device for page testing

A page test and page technology, applied in the computing field, can solve problems such as poor versatility

Active Publication Date: 2017-11-17
PEOPLE'S INSURANCE COMPANY OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a page testing method and device, which are used to solve the problem of poor versatility in existing Web-based automated testing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The main realization principles, specific implementation methods and corresponding beneficial effects of the technical solutions of the embodiments of the present invention will be described in detail below with reference to each accompanying drawing.

[0021] The embodiment of the present invention proposes a page testing method, such as figure 1 As shown, the specific processing flow is as follows:

[0022] Step 11, determine the image feature library.

[0023] For ease of explanation, in the technical solutions proposed by the embodiments of the present invention, pages are divided into actual pages and prototype pages. Wherein, the actual page refers to the web page operated by the user when performing the automated test. The prototype page refers to the unmodified Web page in the Web-based automated test. For ease of illustration, when operating on an actual page, the actual page corresponds to the first page and the first image feature. For the prototype page,...

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 present invention discloses a page testing method and device. The method includes: acquiring a first page object of an actual page; extracting a first image feature of the first page object; extracting the extracted first image feature and image feature Comparing the second image features stored in the library; when the comparison result meets the set condition, calculating the location information of the actual webpage. It is used to solve the problem of poor versatility in the existing web-based automated testing.

Description

technical field [0001] The present invention relates to the field of computing technology, in particular to a page testing method and device. Background technique [0002] With the increasing size and complexity of Web applications, the testing of Web applications is getting more and more attention. Among the testing methods of Web applications, automated testing has gained wide attention from testing technicians because of its advantages of higher efficiency and faster execution than manual testing. [0003] In Web-based automated testing, obtaining the properties of page objects is the most important step in developing automated test scripts. Currently, the most common way to obtain page objects is through the object catcher provided by automated testing tools. However, all automated testing tools have their own limitations, and cannot recognize all page objects, so those page objects that cannot be recognized have become a problem that plagues automated testers. Usually...

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
Inventor 杨洁邵利铎何栋杨理国邓朝健辛新
Owner PEOPLE'S INSURANCE COMPANY OF CHINA
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