首页 | 本学科首页   官方微博 | 高级检索  
     

基于消息机制的自动化黑盒测试方法研究
引用本文:陈浩,邹北骥,江文,潘丽丽.基于消息机制的自动化黑盒测试方法研究[J].计算机应用研究,2004,21(10):33-35,103.
作者姓名:陈浩  邹北骥  江文  潘丽丽
作者单位:1. 湖南大学,软件学院,湖南,长沙,410082
2. 湖南大学,软件学院,湖南,长沙,410082;湖南大学,计算机与通信学院,湖南,长沙,410082
3. 湖南大学,计算机与通信学院,湖南,长沙,410082
基金项目:国家"863"基础研究类项目(2002AA411510),中科院软件所计算机科学重点实验室课题资助项目(SYSKF0307)
摘    要:如何对人机交互频繁的软件如三维CAD软件进行自动化黑盒测试是一个富有挑战性的研究课题。基于Windows消息机制提出一种针对图形用户界面软件进行自动化黑盒测试的构造模型,该模型通过拦截Windows底层的各种消息,同时依据相应的流程规约和生成算法将消息序列进行重组,从而派生出大量的测试用例,然后以重构后的衍生消息序列驱动被测试系统自动运行,达到自动测试的目的。实验结果表明,基于该思路构建的测试系统具有良好的测试效果。

关 键 词:黑盒测试  自动化测试  消息机制  Hook技术
文章编号:1001-3695(2004)10-0033-03

Research on Message Mechanism-based Automated Black Box Testing Method
CHEN Hao,ZOU Bei- ji,JIANG Wen,PAN Li- li.Research on Message Mechanism-based Automated Black Box Testing Method[J].Application Research of Computers,2004,21(10):33-35,103.
Authors:CHEN Hao  ZOU Bei- ji    JIANG Wen  PAN Li- li
Affiliation:CHEN Hao~1,ZOU Bei- ji~1,2,JIANG Wen~1,PAN Li- li~2
Abstract: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.
Keywords:Black Box Testing  Automated Test  Message Mechanism  Hook Technology
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号