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

GUI自动化测试用例生成策略的研究
引用本文:陆永忠,汪春,聂松林.GUI自动化测试用例生成策略的研究[J].系统工程与电子技术,2009,31(1):174-177.
作者姓名:陆永忠  汪春  聂松林
作者单位:1. 华中科技大学软件学院, 湖北, 武汉, 430074;2. 华中科技大学机械科学与工程学院, 湖北, 武汉, 430074
基金项目:国家自然科学基金,华中科技大学自然科学基金 
摘    要:针对目前在图形用户界面(graphic user interface,GUI)自动化测试方法中存在的手工依赖性和测试缺乏准确性等问题,提出了一种改进的GUI自动化测试算法。该算法包括两种基于事件流图的GUI自动化测试用例生成策略:基于蚁群算法的日常冒烟测试用例生成策略和基于宽度优先搜索生成树的深度回归测试用例生成策略。将这两种策略应用于没有考虑分层的GUI事件流图模型中,得到标准GUI的测试用例,然后再进行GUI测试。结合Microsoft UI Automation框架和Visual Studio 2005开发平台,对该算法进行了实验研究。研究表明:该算法可以提高GUI测试的自动化程度和准确性。

关 键 词:软件测试自动化  冒烟测试  回归测试  蚁群算法  图形用户界面  事件流图
收稿时间:2007-10-20
修稿时间:2008-05-17

Study on generation strategies of GUI automation testing cases
LU Yong-zhong,WANG Chun,NIE Song-lin.Study on generation strategies of GUI automation testing cases[J].System Engineering and Electronics,2009,31(1):174-177.
Authors:LU Yong-zhong  WANG Chun  NIE Song-lin
Institution:1. School of Software Engineering, Huazhong Univ. of Science & Technology, Wuhan 430074, China;2. School of Mechanical Science and Engineering, Huazhong Univ. of Science & Technology, Wuhan 430074, China
Abstract:Aiming at the present problems in the course of GUI automation test such as large dependence on manual work,lack of testing accuracy and so forth,an improved automated GUI testing algorithm is proposed.It includes two strategies based on its event-flow graph: a daily smoke testing strategy based on the ant colony optimization algorithm(ACO) and a deep regression testing strategy based on the spanning tree algorithm.Two strategies are applied to the non-hierarchical GUI event-flow graph,and the standard testing cases are obtained.Then GUI test is done.With the help of Microsoft UI Automation and Visual Studio 2005,a testing study on the proposed algorithm is done.The studying results show that it can improve the automation and accuracy of GUI test.
Keywords:
本文献已被 万方数据 等数据库收录!
点击此处可从《系统工程与电子技术》浏览原始摘要信息
点击此处可从《系统工程与电子技术》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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