基于消息机制的自动化黑盒测试方法研究  被引量:4

Research on Message Mechanism- based Automated Black Box Testing Method

在线阅读下载全文

作  者:陈浩[1] 邹北骥[1] 江文[1] 潘丽丽[2] 

机构地区:[1]湖南大学软件学院,湖南长沙410082 [2]湖南大学计算机与通信学院,湖南长沙410082

出  处:《计算机应用研究》2004年第10期33-35,103,共4页Application Research of Computers

基  金:国家"863"基础研究类项目(2002AA411510);中科院软件所计算机科学重点实验室课题资助项目(SYSKF0307)

摘  要:如何对人机交互频繁的软件如三维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.

关 键 词:黑盒测试 自动化测试 消息机制 HOOK技术 

分 类 号:TP311.53[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象