首页> 中文期刊> 《计算机应用与软件》 >网页自动化测试框架的设计与实现

网页自动化测试框架的设计与实现

         

摘要

随着软件开发项目的日益庞大,自动化测试技术的重要性日益突出.自动化测试技术的出现,大大提高了软件测试的效率和测试人员的积极性.但是自动化测试,尤其是网页自动化测试还存在不少的缺陷.分析了网页自动化测试中存在的难点,通过对同类软件的分析,提出了解决问题的指导思想和设计原则,并实现了一个网页自动化测试框架—NetAuto.NetAuto在开源项目Selenium的基础上,引入了对象库的概念,实现了测试脚本和测试数据的分离,并通过引入日志,报表,扩展接口等提高了测试的效率.通过实际的应用证明,NetAuto可以极大地提高测试工作的效率,尤其对于回归测试,可以完全替代人工.%With increasingly larger of software projects, the importance of automated testing technology becomes growing prominent. The emergence of automated testing technology has greatly enhanced software testing efficiency and tester' s enthusiasm. However, there are still quite a few shortcomings in automated testing, especially the automated testing for webpage. In this article we analyse the difficulties existing in webpage automated testing, and propose the guiding idea and design principle to the solving of the problems through analysing the similar software. Furthermore, we introduce the implementation of a webpage automated testing framework—NetAuto. Based on the open source project Selenium, NetAuto introduces a concept of object library, achieves the detachment of scripts and data, improves the efficiency of automated testing through introducing logs, tables and extended interfaces, etc. In real application, it proves that NetAuto can significantly improve testing efficiency, especially in regression testing, and can completely replace artificial work.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号