摘要: 目前,越来越多的应用程序需要和图形用户界面一起工作,一个优秀的软件测试工具必须提供捕获(Capture)用户操作(如击键、鼠标活动等)的能力并在代码被修改之后能够自动回放(Playback)用户的操作。文章结合自主开发的面向Java的事件捕获/回放工具JPlayer (Swing/AWT 事件记录器/回放器),介绍了基于事件源识别的捕获/回放技术,以及基于事件跟踪的回放同步技术。
关键词:
软件测试,
捕获/回放,
Java事件
Abstract: 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.
中图分类号:
姚砺,束永安. 基于Java的捕获/回放测试工具的实现[J]. , 2003, 29(15): 26-28.
YAO Li1,SHU Yong'an2. Implementation of a Java-based Capture/Playback Testing Tool[J]. , 2003, 29(15): 26-28.