期刊文献+

基于Selenium的Web软件自动化测试 被引量:22

Automation Testing of Web Software Based on Selenium
下载PDF
导出
摘要 随着互联网技术和云计算技术的发展,很多软件产品都通过Web页面来实现客户端操作。Web软件的开发与测试已经成为软件开发过程中的重要组成部分。在常见的Web自动化测试工具中,Selenium是一款开源的、表现非常优秀的自动化测试工具。Selenium支持多种类型浏览器,可在多种操作系统上运行,支持多种语言的测试脚本。结合Web软件项目自动化测试工作实践,介绍了Web软件的开发技术和软件功能测试点;叙述了测试软件开发过程;详细叙述了基于Selenium与Python的自动化测试软件开发,其主要内容包括搭建测试环境、编写测试脚本、基于测试库框架优化测试脚本、自动化脚本连跑。最后介绍了测试结果分析。工作实践表明,采用Selenium进行Web软件测试,提高了测试效率,减少了测试工程师大量的重复测试验证工作。 With the development of Internet technology and cloud computing technology,a lot of software products have achieved clientoperation through the Web pages. Web software development and testing has become an important part of the software developmentprocess. In the common Web test automation tools,Selenium is an open source automation tool with excellent performances,which sup-ports a variety of browsers,runs on multiple operating systems and supports test scripts in multiple languages. In combination with prac-tice of Web software test automation project,we introduce the development of Web software technology and software function test points,and describe the testing software development process. In addition,we describe the test automation software development based on Sele-nium and Python in detail,including setting up test environment,writing test scripts,optimizing test scripts based on the test library frame-work and running automation scripts. Finally we introduce the test result analysis. Practice shows that using Selenium for Web softwaretest can improve testing efficiency and reduce a lot of repetition test validation for engineers.
作者 姜文 刘立康 JIANG Wen;LIU Li-kang(School of Telecommunication Engineering,Xidian University,Xi'an 710071,China)
出处 《计算机技术与发展》 2018年第9期47-52,58,共7页 Computer Technology and Development
基金 国家部委基础科研计划 国防预研基金项目(A1120110007)
关键词 WEB软件 自动化测试 测试脚本 SELENIUM PYTHON Web software automation testing test scripts Selenium Python
  • 相关文献

参考文献6

二级参考文献36

  • 1宋波,张忠能.基于系统功能测试的软件自动化测试可行性分析[J].计算机应用与软件,2005,22(12):31-33. 被引量:22
  • 2韩丽娜.黑盒测试及测试工具Rational Robot的应用[J].计算机工程与设计,2006,27(2):359-360. 被引量:7
  • 3彭彬,甘早斌.Web应用系统的性能和伸缩性评价[J].计算机工程,2006,32(11):251-252. 被引量:4
  • 4古乐,史九林.软件测试技术概论[M].北京:清华大学出版社,2004
  • 5Wikipedia Website. HP QuickTest Professional[EB/OL].http ://en. wikipedia. org/wiki/HP_QuickTest_Profession-al, 2012-08-09.
  • 6IBM Website. Rational Functional Tester [EB/OL]. http://www. ibm. com/developerworks/cn/rational/products/func-tionaltester/, 2012-08-09.
  • 7朱少民.强大的Web开源测试工具——Selenium[EB/OL]. http://www. 51 testing. com/html/53/n-7153. html,2007-04-12.
  • 8Selenium Project. Selenium Documentation[EB/OL]. ht-tp ://seleniumhq. org/docs/, 2012-08-26.
  • 9LouiseTamres[英]著.软件测试入门[M].包晓露,王小娟,朱国平译.北京:人民邮电出版社,2004.
  • 10DanielJ.Mosley[美]著.软件测试自动化[M].邓波,黄丽娟,曹青春译.北京:机械工业出版社,2003.

共引文献50

同被引文献123

引证文献22

二级引证文献59

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部