Font Size: a A A

Research And Implement Of GUI Based Auto-testing Architecture

Posted on:2009-10-22Degree:MasterType:Thesis
Country:ChinaCandidate:C C YangFull Text:PDF
GTID:2178360242472734Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The importance of software quality has increased constantly, which has led to the position of testing in the software development becoming increasingly important. Along with the object-oriented software development technology becomes the popular, the current software structure is much more complex, and the scale of software is increasingly huge, so it is difficult to meet current requirements by manual test. Therefore, in recent years both home and abroad has introduced a lot of advanced automatic testing theory, and consistently have automated testing tools appeared, automatic testing of software has become the main trend.Graphical User Interface (GUI) testing in the software test is an important link. At present, there are a large number of automatic GUI testing tools using capture/playback to generate script. However, nowadays it is clear that the capture/playback technologies have the testing environment dependence, and anti-window weak problems. To some response-time-sensitive test, not only the synchronization of playback could not be guaranteed, but also probably bring about some fatal error. These issues always greatly affect the accuracy and reliability of the test results.Through deep research in the GUI test automation technology, and to the above shortcomings of the current capture/playback technologies, this paper combining with the Java event delegated module proposes a capture/playback testing technology based on the incident sources identification. This technology considers the incident as the focus of the capture/playback testing, plus the capture/playback test control over GUI incident, based on which further studies are carried on the automatic contrast technology between the source synchronous playback control and results. Then it improves the automatic stability in the process of testing and the accuracy of automatically comparison among the testing results. In addition, the paper uses standardized XML in the process of GUI test script recording and playback, not only the hierarchical structure of test scripts clear and readable, but also by relying on the XML document itself good capacity for expansion, test scripts can record more content, thus strengthen ability of testing GUI.On the basis of research, paper based on the Java platform designed and implemented a prototype automated testing tools - GUITest, which is event-based GUI source identification technology. GUITest implements the capture and playback features based on the incident source identification technology, and using the automatic comparison among testing results based on attributes of GUI components.In order to verify the feasibility and practicality of theoretical study, the compatibility of the prototype platform, stability of the recording and playback technology and accuracy of automatically comparison among the testing results, such a comprehensive test is carried out. The test shows that automated testing tool- GUITest realizes the GUI automatic testing function, and has good stability and accuracy and achieves the anticipated goal of the research.
Keywords/Search Tags:Software Testing, Automated Testing, GUI, Capture/Playback, XML
PDF Full Text Request
Related items