检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陆永忠[1] 余幸花[1] 聂松林[2] 裴小兵[1] 汪春[1]
机构地区:[1]华中科技大学软件学院,湖北武汉430074 [2]华中科技大学机械科学与工程学院,湖北武汉430074
出 处:《计算机工程与科学》2008年第5期142-146,共5页Computer Engineering & Science
基 金:华中科技大学自然科学基金资助项目(2007Q006B);湖北省自然科学基金资助项目(2006ABA085);国家自然科学基金资助项目(50775081,50675074)
摘 要:针对目前GUI自动化测试方法中存在着一定程度的手工依赖性以及对测试用例和测试覆盖率缺乏系统管理等问题,本文结合Microsoft UI Automation框架开发了一个基于事件流图的GUI自动化测试系统。该系统先对被测标准GUI进行逆向工程以得到GUI的事件流图和期望的结果,然后分别采用基于蚁群算法的日常冒烟测试用例生成算法和基于宽度优先搜索的深度回归测试用例生成算法生成测试用例,并用这些生成的测试用例来测试新的GUI。测试结果表明,该GUI自动化测试模型是切实可用的,为在Windows环境下提高GUI测试的自动化程度提供了一种更为有效的途径。In the software industry, nowadays automatic testing methods are widely used in GUI testing, which largely depends on manual work, and features low adaptability to software variation, and lacks systematic management as to testing cases and coverage. Accordingly, a more highly automated GUI testing system which is based on event-flow graphs is proposed under the framework of Microsoft UI Automation, where the automation tool is first used to carry out the reverse engineering for testing samples so as to obtain a majority of event-flow graphs and expected testing results. During the process of the formation of the testing cases, two strategies are adopted. For the daily smoke testing, an ant colony optimization algorithm is used to go through all the event points in the event-flow graphs and establish a sequence as a testing case. For the deep regression testing, a spanning tree obtained by the goal-directed searching approach is explored to obtain the testing cases from the goal point to the outset point. And these cases are applied to test the new GUI. The results of experiments illaminate that the event-flow-graph-based system is feasible, which reflects the system is a more effective means of improvement for the GUI testing automation in Windows systems.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30