Font Size: a A A

The Research On GUI Testing Based On Relating Event

Posted on:2009-04-03Degree:MasterType:Thesis
Country:ChinaCandidate:T C HeFull Text:PDF
GTID:2178360242990831Subject:Computer application technology
Abstract/Summary:
Software testing is the key to guarantee software quality and reliability. Cost of testing often takes large percentage of the total project budget. At present, GUI is widely used in most modern software development. Therefore it's quite important and necessary to test GUI efficiently. However, the research of GUI testing is far from being extensively performed. Since GUI software has characteristics that are different from those of conventional software, techniques developed to test conventional software cannot be directly applied to GUI testing. More difficulties and challenges were faced to the work of GUI testing than those of conventional software testing. How to generate test case for GUI software is a crucial research subject involved in.Focusing on the event-driving characteristic of GUI software, this paper classifies events by analyzing relationships among events, and then separates the events without relation of operation logic to take module testing. Meanwhile, the paper picks out important events to construct a comparatively simple GUI event-relating-chart. The paper particularly introduces methods of event classification and how to classify restricting relations among events, and proposes basic steps of constructing event-relating-chart.There isn't a standard of testing coverage criteria in GUI testing at present. Based on some of the basic coverage criterias of conventional software testing, this paper proposes four testing coverage criterias which is suitable to this method based on the relating events. Additionly, the paper brings out an algorithm of traversing GUI event-relating-chart,with which can get the corresponding event sequence, and condenses the input space of events, can attains the eigenvalue space with equipollent species classification and boundary value analyse. By applying the strategy of getting values from the event eigenvalue space to the event sequence which is getting from de algorithm of GUI event-relating-chart, we can generate the test case.Finally, this paper describes the process of GUI event-relating-chart construction and test case generation by applying the method in the enrollment management system developped by ourselves. It is proved these methods are feasible.
Keywords/Search Tags:Software Testing, GUI Testing, Event Relating, Testing Criteria, Test Case Generation
Related items