摘要
如何对人机交互频繁的软件如三维CAD软件进行自动化黑盒测试是一个富有挑战性的研究课题。基于Windows消息机制提出一种针对图形用户界面软件进行自动化黑盒测试的构造模型,该模型通过拦截Win dows底层的各种消息,同时依据相应的流程规约和生成算法将消息序列进行重组,从而派生出大量的测试用例,然后以重构后的衍生消息序列驱动被测试系统自动运行,达到自动测试的目的。实验结果表明,基于该思路构建的测试系统具有良好的测试效果。
How to make an automated black box tesing on human- machine interactive software such as CAD systems is a challenging subject.Basing on Windows message mechanism,proposes a stuctural model of automated black box testing aimed at graphic user interface software.Through picking up various message at the bottom of Windows and meanwhile reorganizing the message order according to the relevant flow specification and generative calculation,this model derives abundant testing cases and then drives the system being tested to work automatically by the reorganized derivative message order,thus achieving the goal of automated testing.Experiments show that the testing system constructed following this idea achieves good testing results.
出处
《计算机应用研究》
CSCD
北大核心
2004年第10期33-35,103,共4页
Application Research of Computers
基金
国家"863"基础研究类项目(2002AA411510)
中科院软件所计算机科学重点实验室课题资助项目(SYSKF0307)