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

Device and method for automatically testing web page

An automated testing and page technology, applied in software testing/debugging, special data processing applications, instruments, etc., to solve problems such as low testing efficiency

Active Publication Date: 2011-04-13
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to overcome the current problem of low test efficiency caused by frequent re-recording and modification of test scripts when performing automated testing on Web pages, the present invention provides a device and method for automated testing of Web pages. The input field object of the page is analyzed, and the test method based on the Web page object is adopted, which greatly improves the test efficiency of the Web page, will effectively improve the software quality, and ensure the production stability and safety of the enterprise

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
  • Device and method for automatically testing web page
  • Device and method for automatically testing web page
  • Device and method for automatically testing web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to specific embodiments and accompanying drawings.

[0059] The device and method for automatic testing of a Web page provided by the present invention adopts the testing method based on the Web page object by analyzing the input domain object of the Web page.

[0060] For the testing of Web pages, by dividing the equivalence classes of various situations that need to be tested, they can be mainly divided into the following three categories:

[0061] 1. Data validity check of a single input field. This category is usually controlled by triggering the JavaScript event program of the page after the cursor focus leaves the input field after inputting test data in the input field. For example, the input field of the date type has entered data in a non-date format.

[0062] 2. Control logic veri...

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 device for automatically testing a web page, including the following components: a testing and processing apparatus to test and process a web page; a data storage apparatus used to store information of tested web pages, tested cases and data of test results; a testing tool to browse web pages, parse contents, control execution processes and to obtain error information; wherein the data storage apparatus and the testing tool are both connected with the testing and processing apparatus, and the testing tool is connected with the detected web system. The invention also discloses a method for automatically testing a web page. With the invention, the testing efficiency of web pages is greatly enhanced through parsing input domain objects of web pages and employing a testing method based on objects of web pages, and the invention will effectively improve software quality, guarantee stability and security of enterprise production.

Description

technical field [0001] The invention relates to the technical field of computer automatic testing, in particular to a device and method for automatic testing of Web pages. Background technique [0002] As a key technology to ensure software quality and enterprise production safety, software testing is increasingly being paid attention to. Simply relying on manual testing has been difficult to meet customers' requirements for continuous improvement of software quality. The industry has been continuously researching the use of automated testing methods to improve testing efficiency, shorten testing time and save labor costs. [0003] However, it is difficult to use test automation for the testing of Web pages at present, mainly because the traditional automatic testing technology based on recording and scripting changes the layout of Web page elements or adds and deletes controls, which will lead to testing the Web page. The automated test scripts for 's are not running smoot...

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/36G06F17/30
Inventor 金锋平金晖张乐婷
Owner INDUSTRIAL AND COMMERCIAL BANK 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