Font Size: a A A

GUI Testing Research Based On The Call Stack

Posted on:2011-10-18Degree:MasterType:Thesis
Country:ChinaCandidate:J J GuoFull Text:PDF
GTID:2178360302991960Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
GUI's testing is very important, because the GUI's code occupied an increasingly large proportion in the entire application, and GUI is the interface of users and computer systems, So its'convenience and integrity of the function will directly affect the use of the software. GUI's defects will seriously affect the quality of the entire system.GUIs are used as front ends to the application, their event-driven characteristics presented new challenges to testing. An important challenge is test suite reduction. As the multi-language tools, event handling callback, virtual function callback and the increasing use of multi-thread, the traditional reduction technologies based on data analysis are not applicable. Moreover, many existing technologies ignored the code library and didn't take into account the context relationship in the event handler. As a result, the test suite will affect the error detection capability.Based on the analysis of software testing, GUI concept, GUI test cases, coverage criteria and so on, investigating the main ides of four methods, they are based on events, models, program interactive execution flow chart and interface component relating chart. Analyzing their advantages and disadvantages on the basis of these methods. From the GUI application's event-driven characteristics, this paper presents a GUI testing method based on the call back.A GUI testing method based on the call back, by studying the sequence of event of driven program to the stack spaces'calling status, on the basis of the call back coverage criteria, using the HGS reduction method to chose the test suites, both simple and efficient, and ensuring the minimum test suites'error detection capability.At last, it is compared the four methods through experiments from test suites size reduction and error detection capability. The experimental results show that the method based on the call stack can keep the error detection rate well and test suite size are moderate. The experimental results verifies the validity of the method proposed in this thesis.
Keywords/Search Tags:GUI testing, test coverage criteria, test case, stack, test requirement
PDF Full Text Request
Related items