节点文献

面向Web的软件自动化测试管理框架设计与实现

Based on Web Application of Automation Testing Framework Management System Design and Implementation

【作者】 杨柳

【导师】 陆璐; 卢智星;

【作者基本信息】 华南理工大学 , 软件工程, 2013, 硕士

【摘要】 随着软件测试的发展,自动化测试技术的不断进步,当前越来越多的企业开始重视自动化测试,在自动化发展的过程中,自动化测试框架已经流行起来,尤其是基于关键字驱动的自动化测试框架较为被广泛的应用。该课题主要是基于项目的需求实践需要提出来的,旨在提高项目自动化测试的效率。在项目实施自动化测试过程中,开发了一套自动化测试框架,该框架是通过web管理系统进行管理和控制,负责测试执行过程的管理,也包括测试用例的管理。目前在基于关键字驱动的自动化测试系统中,管理关键字表的方式主要是通过文件或者数据库进行保存和管理,其中以Excel文件管理的方式比较被大部分人采用,测试人员可以直接操作Excel文件进行设计测试用例,方便直观;但是同时也会带来一些麻烦,使用Excel表管理的测试用例是线性的,如果想要调整测试用例的执行顺序就要修改一次表,如果测试用例的数量比较多的时候,工作量就比较大;还有个主要的问题是测试用例共享性差。而采用数据库管理的方式,在开发驱动脚本的时候,要对数据库进行操作,开发脚本的成本较高,但是后期的维护会方便。在基于关键字驱动的自动化测试中,关键字管理和测试用例管理是非常重要的。本文对关键字的结构进行了详细的分析,改进了关键字库的结构以适应结合测试用例管理,提出了基于关键字驱动测试的W模型,该W模型是三层分类法,将测试用例、关键字和功能支持脚本之间分层映射对应起来。本文对关键字驱动测试和测试用例管理进行了分析研究,设计了测试用例与关键字管理结合的web管理系统。实践表明,该系统增强了测试用例从关键字表中分离出来,可以单独管理,并通过关键字间接映射关联到功能支持脚本,更加细分了自动化测试的分工,使测试人员得到合理的任务分配,提高测试效率。

【Abstract】 With the development of software testing, automation testing technology continues toprogress, more and more enterprises begin to pay more attention to the current automatedtesting. In the developing process of automation testing, automation testing framework hasbeen popular, especially the automation testing framework based on keyword-driven. Thispaper is based on the requirement of the project practical needs, in order to improve theefficiency of automation testing project. We developed an automated testing framework thatmanage and control through web ystem, in charge of test execution process management,including test case management.Nowadays, the main way to management keyword table in the automation testingframework base on keyword-driven test automation framework is saving keyword in file ofdatabase, especially through Excel file. Most testers manage keyword with Excel file, so thatthey can operate the Excel file to design test cases directly, which is very convenient andintuitive. But this method can also bring some troubles. For example, if you want to changethe schedule of the execution of test case, you must modify the Excle file, because themanagement of test cases with Excel file is linear. So if there are lots of test cases, workloadwould be quite heavy. In the other hand, tester can not share test cases in a good way. If weuse database to manag keyword, when tester develop the driven script, system neesds tooperate the database, even though the develop process cost much higher, but the latter part ofthe maintenance will be much more convenient.Keyword and test case management are very important in the keyword-drivenautomation testing. In this paper, the structure of the keywords is analyzed in detail, thenimproved to adapt with test cases management. The paper proposes a W model based on thekeyword-driven testing. W model includes three layer classifications, it will map thehierarchical among use case, keyword and test script. The paper analysis and study thekeyword driven testing and test case management, I design a web system for test case andkeyword management.The practice shows that, the test case management sytem enhanced test case separatedfrom the keyword, it can be managed individually, and test case indirect mapping associatedto driven scripting, subdivide the automated testing of the division of labor, so that testers getreasonable task allocation, and improved automation testing efficiency.

  • 【分类号】TP311.53
  • 【被引频次】6
  • 【下载频次】581
节点文献中: 

本文链接的文献网络图示:

本文的引文网络