Font Size: a A A

Research On The Technology And Realization Of GUI Automatic Testing Platform

Posted on:2011-12-23Degree:MasterType:Thesis
Country:ChinaCandidate:J C PanFull Text:PDF
GTID:2218330362457520Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Communicating with the users and the software applications, GUI acts as the bridge of the interactions between the both sides。Thanks to it's flexibility and usability, it brings great convenient for the software developer and users, but because of its increasing size, GUI testing has become a very complex and time-consuming work. Traditional manual testing requires a lot of manpower and time and it can hardly satisfy the testing needs.Traditional automatic GUI testing tools use record/playback to re-record the users'operation, and then build scripts for repeated execution. But recording is not enough. As the GUI interface will be changed frequently, the scripts recorded before will become invalid. Moreover, conventional automated identification methods can not identify and operate custom controls. Therefore, it is necessary to develop a stable and usable custom GUI automated tool.This thesis analyzes automated implementation possibility of each phrase of GUI testing. By comparing well-known commercial automated testing software, we lists the characteristics that a stable-to-use automation platform required. Then we introduce three ways to automation: Hook, Windows API and COM. Based on the IDispatch interface, we provide a automatic object recognition and access interface for the external script layer. Then we use Windows API to pack some common operation into function library. With the help of Hook we can monitor the inner communication of the application and support more stability helps. Finally, the paper introduces the concept of the object library, through the map of control objects and local logic objects, we can make the script building much easier. At last, the article describes how the automated testing platform can participate in the actual software testing work.
Keywords/Search Tags:GUI Testing, Automatic Testing, Component Object Model
PDF Full Text Request
Related items