Font Size: a A A

The Design And Implementation Of Web Testing Framework Based On Dynamic Test

Posted on:2013-07-21Degree:MasterType:Thesis
Country:ChinaCandidate:J Q HuangFull Text:PDF
GTID:2248330371988313Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Web technology, Web applications are increasingly numerous, but the web page are often filled with a variety of access errors and HTML syntax errors, which seriously affected the user experience, or even damage the interests of users. The reason for this phenomenon not only lies in the negligence of the developers, but also with the lack of an effective automated Web testing methods.The coverage and degree of automation of the test methods, which used in the enterprise currently, is not satisfactory, therefore, an automated Web testing method is needed urgently to change this situation.The concolic testing applied in desktop applications testing has been studied exten-sively. The characteristics of achieving highest test coverage with minimal test cases were favored by test researchers. In order to solve the problem of low coverage when test da-tabase applications with concolic testing, the scholars put forward the method of dynamic databse state generation, provided significant help to the testing of database applications. Compared to the desktop applications testing, the study of applying concolic testing in Web testing is relatively slow. Shay Artzi, first proposed the method combining dynamic input generation with explicit state model checking, made tremendous progress for the Web testing. However, the method of Shay Artzi also can not cover the database logic very well, but the database logic is often a core part of the Web application, so this prob-lem can not be ignored.This paper improved the method of dynamic database generation, and integrated it to the method of combining dynamic input generation with explicit state model checking, which proposed by Shay Artzi, and proposed an automated Web testing framework with higher test coverage and degree of automation. And this framework was applied to PHP Web testing, an automated PHP Web testing tool-APBFinder was designed and realized, which could detect runtime errors and HTML syntax errors in PHP Web applications au-tomatically and effectively.Finally, by comparing the detection results of random testing tool, Apollo and APB- Finder when testing the same three PHP projects, we see APBFinder can get higher test coverage and detect more errors, the results prove APBFinder having excellent error de-tection capabilitied.
Keywords/Search Tags:software testing, Web testing, dynamic testing, concolic testing, PHP
PDF Full Text Request
Related items