Font Size: a A A

Research And Implementation Of Automated Functional Testing Architecture For Web Application

Posted on:2013-08-24Degree:MasterType:Thesis
Country:ChinaCandidate:X PengFull Text:PDF
GTID:2248330374975068Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet, software and hardware technology, Web hasbecome the main carrier of information transmission and communication. Web-basedapplication grows rapidly and is used in many fields of people’s daily work and life, whichresults in a higher demand for the validity, efficacy and perfection of Web application. Thecharacteristics of Web application, including heterogeneous, distribution, concurrence andplatform-independence, make traditional software testing technology and methods cannotmeet the requirement of Web application. Introducing automated functional testing is animportant means to ensure the quality of Web applications. However, the use of automatedtesting will inevitably result in extra cost such as constructing and maintenance cost. How touse a reasonable testing framework and design a good automated testing architecture so as todecrease testing cost and enhance testing efficiency become a hotspot of automated functionaltesting for Web application in recent years.This paper researches the automated functional testing for Web application, designs andimplements an automated functional testing architecture which is independent of theapplication under testing and easy to be maintained. The testing architecture is mainly basedon Record/replay mechanism and integrates with the hybrid automated testing framework ofkeyword-driven and data-driven, so as to provide integrated and stable automated testingprocess, as well as flexible, modularity and reusable testing practice. Furthermore, the testingarchitecture can decrease maintenance of test script and minimal impact to the existed testcases caused by changes of Web application, in order to reduce automated testing cost andenhance testing performance efficiency.Firstly, this paper researches the characteristics of the common automated testingframeworks and analyzes the implemented target of the testing platform. And on this basis,the paper designs an automated functional testing architecture based on Browser HelperObject and the main platform process. Then, the implementation of Record/Replayfoundational platform and hybrid automated testing framework platform are expounded forthe testing architecture. With the GUI object identity technology and event capturemechanism of different objects on IE, Browser Helper Object is proposed to record test script and expand test function for Web application. In addition, assistant testing module includingglobe hook is realized to support the testing of the common actions of browser and ActiveXcontrol. Hybrid automated testing framework platform is designed based on keyword-drivenand data-driven, with attention of independence and commonality of the framework. Thehybrid framework realizes the three “separation” principles and provides both keyword viewand code view for synchronized edition. Finally, the testing platform implemented based onthe architecture is proved to be practical in testing process by two practical examples ofSCUT website and ActiveX-embedded Web page.
Keywords/Search Tags:Web Application, Automated Functional Testing, Automated Testing Framework, Record/Replay, Browser Helper Object
PDF Full Text Request
Related items