Font Size: a A A

GUI Testing Technique For J2ME Programs Based On FSM

Posted on:2010-07-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y HouFull Text:PDF
GTID:2178360275453731Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
J2ME has been widely adopted as the embedded languages of choice for mobile applications in recent years. J2ME provides a kind of highly optimized Java runtime environment; J2ME expands the platform-independent to the embedded device. In J2ME programs, graphical user interface (GUI) is the indispensable part as the interactive means between user and program. GUI improves the usability of J2ME programs, but it also increases the complexity of program testing. On the other hand, J2ME does not have the reflection mechanism due to the implementation complexity, also J2ME devices only have limited storage and computing power, so traditional software testing systems cannot be directly used for testing J2ME programs. At present time, there are few testing tools indeed supporting J2ME programs. Moreover, Record/Replay mechanism is the mainstream GUI testing technique used by most software testing systems. They require users' interaction with desktop applications at the record stage, but sometimes the interaction can be tedious and time-consuming, in particular when testing coverage requirement is enforced.To settle these problems, this paper designs and implements an automatic testing system (hereinafter called testing system), which applies a test case generation technique and program instrumentation to handle GUI testing of J2ME programs. The testing system generates test cases from a finite state machine (FSM) specification extracted from the implementation under test (IUT), runs the test cases on an emulator, and then yields a test report. This paper evaluates the experimental results on a real J2ME audio player. It shows that testing system can decently handle GUI testing on J2ME progans, and thus generated test cases maximize the chances of detecting bugs with nice error coverage.
Keywords/Search Tags:Software Testing, GUI Testing, Record/ Replay, Finite State Machine Model
PDF Full Text Request
Related items