Font Size: a A A

Research Of Automated Testing In Graphical User Interface

Posted on:2012-08-27Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhangFull Text:PDF
GTID:2178330335952146Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
As people pay more attention to software's quality, the software testing is increasingly demanding position in the development of software and become a essential and time-consuming part of the soft development cycle. Since a large part of the client software is written by the graphical user interface, the testing for graphical user interface also becomes important. Using automated tools for testing can reduce the workload of manual testing and ensure the software quality, which is to improve test efficiency.At present, there are a large number of automatic GUI testing tools using capture/playback to generate script in the market and they have some deficiency. For example:the GUI test scripts can't test the GUI input changes, but also need to manually edit and debug to run. Moreover, many commercial test devices are used complex. Therefore developing an automated testing tool is very necessary. Based on this, this thesis carried on the thorough test automation tool to study in practical system development and testing.This thesis systematically analyzes the research status of graphical user interfaces and discusses the theory and technique of testing automation. This thesis designs and realizes an used for the graphical user interface of test automation tool—AutoGUITest. Use the following several methods and techniques:use Win32API function write GUI control function library; use grid in tested interface to find the control; generate event sequences based on searched GUI actions and generate test scripts through the method of XML serialization and the objects of test case and GUI control, generate test data and save it as XML documents which can drive test script, execute test, verify test and give a test report finally.On this basis, the tool is not only for the NET platform applications and the basic controls and user-defined Active control test, but also applicable to no NET platform applications. Mainly address the following issues:test the control to find, test case generation and test results verification.Finally, a. NET applications developed as an example to verify the feasibility of the automated testing tool——AutoGUITest.
Keywords/Search Tags:Test automation, the graphical user interface, test scripts, test verification
PDF Full Text Request
Related items