Method and system for testing graphical user interface programs
    1.
    发明授权
    Method and system for testing graphical user interface programs 失效
    用于测试图形用户界面程序的方法和系统

    公开(公告)号:US5634002A

    公开(公告)日:1997-05-27

    申请号:US455583

    申请日:1995-05-31

    IPC分类号: G06F11/36 G06F11/00

    CPC分类号: G06F11/3696 G06F11/3688

    摘要: In a preferred embodiment, the present invention provides an improved method and system for testing a graphical user interface program. The preferred embodiment provides improved performance over prior methods because it decouples the testing of an program's engine component from the testing of its GUI component. The preferred method begins the testing process by invoking test functions that send data to the program's engine component. The data simulates user action on the graphical user interface of the program. In response to receiving the data, the engine component processes the simulated user action as if it had been sent from the graphical user interface component. The preferred method captures the results of this processing and uses the results to determine whether the engine component is performing properly. By testing the engine component without invoking the graphical user interface component, the preferred embodiment reduces the overall time spent testing the GUI program and allows the testing of the program to begin at an earlier point in the development process than had earlier been possible.

    摘要翻译: 在优选实施例中,本发明提供了用于测试图形用户界面程序的改进的方法和系统。 优选实施例提供了比现有方法更好的性能,因为它使程序的引擎组件的测试与其GUI组件的测试分离。 首选方法是通过调用向程序引擎组件发送数据的测试函数开始测试过程。 数据模拟用户对程序图形用户界面的操作。 响应于接收到数据,引擎组件处理模拟用户动作,就像从图形用户界面组件发送的一样。 首选方法捕获此处理的结果,并使用结果来确定引擎组件是否正常执行。 通过在不调用图形用户界面组件的情况下测试引擎组件,优选实施例减少了用于测试GUI程序的总体时间,并允许程序的测试从开发过程的早期开始开始,而不是早先可能。