Font Size: a A A

The Automated Migration And Test Of Motif GUI Program

Posted on:2014-01-08Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2248330395495732Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of both computer hardware and software, graphical user interface (GUI) program is becoming more and more popular. New graphic widget toolkit can not only offer a more modern and pleasing appearance than the old ones, but also has better performance and maintainability. For some large-scale software system that has a long period of life cycle, they may in the need of migrating its GUI interface to a mainstream GUI toolkit. Tests are needed to assure the correctness of the migration.This paper is based on a real software project:SVPM-S. The current version of SVPM-S is based on the Motif widget toolkit. Due to Motif has a long history and is now out of time, it is required to be migrated to the GTK widget toolkit. The contribution of this paper to solve the problems is as follows:(1) This paper brings forward a widget-based GUI migration method. The method focuses on widgets that are the basic elements on a GUI program. The method converts every widget from Motif to GTK with the help of building information struct of each widget.(2) Using the method, the paper implements a tool named SVPM Converter that can automatically convert a batch of widgets. The paper demonstrates SVPM Converter using an experimental Motif program and provides the migration outcome of SVPM-S.(3) To challenge the drawbacks of manual GUI test method, the paper using the method that maps the GUI program to an FSM model and use rule-based method to reduce the number of test cases. The paper also uses the Sikuli tool to achieve the automated GUI event trigger. In the experiment, this method works correctly with producing less test cases and being more automatically.
Keywords/Search Tags:GUI migration, reengineering, GUI model, automated GUI test
PDF Full Text Request
Related items