摘要
根据GUI基于事件驱动的特点,对事件流思想在GUI测试中的应用进行研究。针对事件流模型对GUI事件之间的关系描述过于薄弱,生成大量冗余测试用例的问题,在事件流模型中加入用来描述事件间交互关系的信息。同时指出事件交互的本质是事件处理程序之间的变量共享和消息传递。最后给出生成有效交互测试用例的具体算法,并在实例中验证了其有效性。
According to that GUI is based on event-driven mode, method of event-flow used in GUI test is researched. To improve the relationship between GUI events, information describing interaction relationship between GUI events is added in the event-flow model. The interaction relationship is based on the sharing variable or exchanging message. Then, an algorithm is given to generate GUI effective and interactive test cases based on improved event-flow model, and the result of the experiments shows that this method obviously reduces the number of GUI test cases.
出处
《计算机与现代化》
2012年第8期32-36,共5页
Computer and Modernization
基金
总装预先研究项目(513190802)