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

Automatized white box test system and method facing to WEB application

A white-box testing, web application technology, applied in the direction of software testing/debugging, etc., can solve problems such as the inability to obtain the internal data structure and related information of the software, the inability to effectively test the business functions of the software, and the inability to inspect and verify the internal software. Easy to write, easy to use test framework, good reusability

Inactive Publication Date: 2008-08-13
罗笑南
View PDF0 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this test method is that the client can only obtain the http information flow, but cannot obtain the internal data structure and related information of the software, and cannot perform a complete and effective inspection and verification of the internal software, which has certain limitations
For example, to verify the data dynamically generated when the software is running, and when these dynamically generated data are not returned to the client through the http information flow, the test method of the capture / playback mechanism is difficult to effectively test
[0004] 2. Automatic white-box testing: This type of automated testing tool automatically generates test case scripts, mainly for analysis and testing of source code, without logic testing functions
Although this type of automatic testing is more convenient and can find errors that are difficult to find in manual testing, it also has limitations: such tools are generally expensive, the initial investment is very high, and the business functions of the software cannot be effectively tested
[0005] Moreover, in the existing technology, whether it is a capture / playback mechanism or an automatic white-box test, these test methods still have a shortcoming, that is, they can only execute test cases independently, and cannot effectively couple multiple use cases according to business logic.
When a use case needs to use the running results of other use cases as initial conditions, the current test method is difficult to automatically output the results to other use cases, which needs to be implemented manually, and there is no way to automatically couple a large number of use cases according to business logic

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
  • Automatized white box test system and method facing to WEB application
  • Automatized white box test system and method facing to WEB application
  • Automatized white box test system and method facing to WEB application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be further described below in conjunction with the accompanying drawings.

[0047] The test framework diagram of the present invention is as shown in accompanying drawing 3, comprises 4 functional modules:

[0048] Web Data Acquisition Module

[0049]The Web data collection module has the function of collecting and saving the information submitted by the browser. This function is realized by installing a data collection plug-in in the browser. The plug-in calls the API provided by the browser, records the data request information submitted by the browser, and saves it in a fixed format. Testers access the web server through a browser on the client side, and perform manual testing of the required test cases. During the test process, the data information submitted by the browser is automatically saved locally. A test case will have multiple steps of operation. The data information file saves the request information submitted by each step accor...

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 provides an automatic white box testing system faced to Web and method, including a Web data collecting module, automatic saving data information submitted by tester on the viewer as Web solicited message data file and adding action information in, generating initial testing data file; a script generating module, generating testing script according to the initial testing data file; a data generating module, describing file by compiling a business, describing logic sequencing of test case, automatic repairing initial testing data file, generating testing data file; an integrated testing module, coupling multiple test cases according to the logic sequence of describing file.

Description

technical field [0001] The invention belongs to the testing technology of computer software, in particular to the testing technology of automatic testing for the functional reliability of Web application software. technical background [0002] At present, in the field of software testing, automated testing is an emerging testing technology. There are two main types of automated testing methods: [0003] 1. Capture / playback mechanism: Directly use commercial test software to write test case scripts. Use commercial testing software to automate the testing of the software under test. When this type of testing software tests web applications, the common point is to record web application page operations to generate test scripts. During the test, the client simulates browser operations to achieve automated testing. As shown in Figure 1. The disadvantage of this test method is that the client can only obtain the http information flow, but cannot obtain th...

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
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