检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王枝 WANG Zhi(Xiamen Hymake Technology CO.,LTD.Digital Construction Division,Xiamen,China,361008)
机构地区:[1]厦门海迈科技股份有限公司数字建造事业部,福建厦门361008
出 处:《福建电脑》2021年第11期9-13,共5页Journal of Fujian Computer
摘 要:为了降低自动化测试对测试人员开发能力的依赖,以及解决维护成本高的问题,通过对传统自动化框架的研究,自行开发基于关键字驱动并自动生成测试代码的自动化测试框架。该自动化测试框架基于Selenium+Java+TestNG开发实现,采用层次化的结构设计,通过用例、数据与代码分离,实现了利用关键字驱动自动生成自动化脚本,适用于各种Web服务的自动化测试。实践结果表明,采用该自动化测试框架,能够减少对测试开发能力的依赖,并能快速响应系统的界面和需求变化。In order to reduce the dependence on testers'development capabilities of Automated testing,and solve the problem of high maintenance cost,Through the research on the traditional automation framework,an automatic test framework based on Keyword Driven and automatic test code generation is developed.The automated testing framework is developed and implemented based on Selenium+Java+TestNG.It adopts hierarchical structure design and realizes the automatic generation of automated scripts driven by keywords through the separation of use cases,data and code.It is suitable for the automated testing of various Web services.The practice results show that the automatic test framework can reduce the dependence on the test development ability,and can quickly respond to the changes of system interface and requirements.
关 键 词:自动化测试 关键字驱动 数据驱动 自动生成测试代码
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.117.129.247