| Nowdays,using the Graphical User Interface(GUI) for human-computerinteraction have become the mainstream of software, so GUI testing is veryimportant. The test of GUI is a veritable challenge for there are many context eventswhich would cause determinate influences over the results of testing. This problemcan be solved by the technologies of model-based GUI testing, and two of thefrequently used GUI model in model-based GUI testing technologies are the eventflow graph(EFG) and the event interaction graph(EIG). Both of the two kinds ofmodels give a certain presentation of the events interacting relationships, and theEIG makes significant improvements form the EFG. It is provided the GUI events witha specific division through a simple GUI instance and also improves the MX algorithmfor the sake of adaptation to the new division of the events in the paper. Finally,according to the property of event-driven in GUI and the divided GUI events, thepaper proposes a new method: driven algorithm. Some examples show that themethod can make the EFG converted into EIG more easier.Some reasons make software change frequently, such as requirementschange,then GUI regression testing is becoming more and more important. Most GUItest cases recorded in the capture/playback tools, which need a lot of manualoperations make the high cost of test case generation. Some test cases would beunavailable for the modified GUI, so tester need regenerate test cases to regressiontesting. By repairing the unavailable test cases, the number of generating new testcases and the cost of regression testing can be reduced. To repair test cases by theEIG Tree(EIG-T) constructed by the EIG instead of the G-CFG that the used GUI modelin this paper. It is also modified the test cases repair algorithm. Finally, Notepadexperiments prove that the EIG-T method make repair test cases more easier, the thecost of regression testing more lower. |