Font Size: a A A

Research On Components Positioning Strategy And Code Script Technology In GUI Record And Playback System

Posted on:2007-10-08Degree:MasterType:Thesis
Country:ChinaCandidate:S L JiFull Text:PDF
GTID:2178360212467031Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development and standardization of the Software Engineering, the demands for software quality are more intentioned. Meanwhile, as a necessary phase of software Product Life Circle (PLC), software testing is important in the PLC, and now, automatic testing is the trend of software testing.The automatic test tools have been widely used recently, and it could be suitable for most condition of automatic testing. Many software developing organizations in oversea have tried to take part with automatic testing, but it is shown that"80% of automatic testing trials have been failed". The most important reason is that the pace of updating script can't follow with the version's updating and requirement's changing.Graphical User Interface (GUI) testing is a main part of software testing. Till now, there are mainly three types of automatic testing tools for it. The first is to write a program to playback GUI operation in a powerful script language. This method is fully depends on the script language functions lib, and it is too complex to learn and to master. The second is to form text-format GUI operation script, and then parse the script text to playback the test results. In this way, the script is simple, but the effect is limited. Both of these two types are not suitable for Java GUI. The third one is the combination of those two types mentioned above, it can record test script and insert function methods into the script to get the most powerful functions.In this paper, the techniques for GUI automatic test are analyzed, the advantages and disadvantages of these two types are compared, and a scheme that is based on a new components positioning strategy and code script employed for Java GUI record and playback testing is proposed. By using the new components positioning strategy on GUI record and playback, the speed of components positioning has been improved, the life of script has been prolonged and the workload of updating script for change in GUI has been decreased. While by using the code script technique on GUI record and playback, the test tool's functions have been enhanced and it is much more flexible on using ATP. From...
Keywords/Search Tags:Automatic Testing, GUI Record-Playback, Components Positioning Technology, Script Technology
PDF Full Text Request
Related items