摘要
目前,越来越多的应用程序需要和图形用户界面一起工作,一个优秀的软件测试工具必须提供捕获(Capture)用户操作(如击键、鼠标活动等)的能力并在代码被修改之后能够自动回放(Playback)用户的操作。文章结合自主开发的面向Java的事件捕获/回放工具JPlayer (Swing/AWT 事件记录器/回放器),介绍了基于事件源识别的捕获/回放技术,以及基于事件跟踪的回放同步技术。
Today more and more application programs work with graphic user interface (GUI). In order to support the test of those applications, a software testing tool must provide the capability to capture user's operations (keystrokes, mouse activity, etc.) and then be able to automatically replay them after the code has been modified for efficient regression testing of the applications. This paper discusses the technique for capturing and playbacking Java input events.
出处
《计算机工程》
CAS
CSCD
北大核心
2003年第15期22-24,共3页
Computer Engineering
基金
国家自然科学基金资助项目(60073027)