摘要
在分析使用AI规划方法生成GUI测试用例方法的基础上,提出了一种基于权重的AI规划生成GUI测试用例方法。通过利用权重区分GUI事件序列重要程度,在此基础上将事件划分成不同子集,以决定测试用例的生成次序,使生成的测试用例更合理,从而提高GUI测试效率。实验结果表明,应用此方法在相同的测试用例数下能发现更多的错误。
GUI testing is a very important part of software testing. However, the research of GUI testing is far from being extensively performed. With analyses of GUI test case generation based on AI planning, a new generation of weight-based automatic GUI test cases is provided. It introduces a conception of weighted event, and uses the conception to separate the events into subsets according to the importance of GUI. Then it determines the order to generate test cases in different subsets. With more reasonable test cases generated, it makes the GUI testing more efficient. The results of experiment show that more errors are detected applying this new method under the identical number of test cases.
出处
《科学技术与工程》
2006年第22期3575-3580,共6页
Science Technology and Engineering
基金
湖南省科技计划项目(05JT1035)资助