Font Size: a A A

The Study Of Program Test For Graphical User Interface

Posted on:2011-05-30Degree:DoctorType:Dissertation
Country:ChinaCandidate:S Y QianFull Text:PDF
GTID:1118360305466707Subject:Information security
Abstract/Summary:PDF Full Text Request
GUI, which is short for Graphical User Interfaces, plays a key role in current software systems as a necessary part of man-machine interaction. The execution orders of GUI programs depend on the order of input events based on event-driven mode, which is essentially different from the traditional orders.Software testing is irreplaceable in software quality assurance, but the traditional testing methods can't be applied to GUI testing due to the uncertainty of execution orders between event-handler programs caused by the event-driven GUIs. This paper studies on GUI testing methods, focusing on the interaction relations among GUI events and interaction relations between events and system states.1. GUI testing modelAs testing models being the core of software testing, they are also the core of GUI testing. This paper analyzes the sharing variants among the GUI events, points out their interaction relations between GUI events, and proposes an event-interactive architecture describing these relations. Besides, this paper also analyzes the relations between GUI events and GUI system states, describes these interaction relations by means of describing the GUI events modification on GUI system states, and then, extends this architecture to get event-state relation model.2. GUI test case generationThe interaction relations of events are based on sharing variants, while the essence of sharing variants is the data transmission among them, in other words, the interaction relations of events are decided by the values and using relations of variants. This paper proposes a method of test case generation for GUI based on the event-interactive architecture. This method obtains the event-handler program flow charts of every event, then, gives the formal description of test cases by analyzing the arrival-value data flow equations using these flow charts, and proposes the test case generation algorithm for GUI based on this event-interactive architecture and the data flow analysis of event-handling programs. At the same time, discusses the coverage criterion according to the features of GUI.3. GUI test oracles generationThere are too many GUI test cases, and the test oracle information varies with the test cases, leading to a great staff and overhead system costs. The event-state relation models proposed by this paper describe the GUI events modification on GUI system states, and the test oracle information of every test case can be calculated in turn according to the event order in them.
Keywords/Search Tags:GUI testing, GUI test model, GUI test case generation, GUI test oracles generation
PDF Full Text Request
Related items