[1]姜文,刘立康.基于 Selenium 的 Web 软件自动化测试[J].计算机技术与发展,2018,28(09):47-52.[doi:10.3969/j.issn.1673-629X.2018.09.011]
JIANG Wen,LIU Li-kang.Automation Testing of Web Software Based on Selenium[J].,2018,28(09):47-52.[doi:10.3969/j.issn.1673-629X.2018.09.011]
点击复制
基于 Selenium 的 Web 软件自动化测试(
)
《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]
- 卷:
-
28
- 期数:
-
2018年09期
- 页码:
-
47-52
- 栏目:
-
智能、算法、系统工程
- 出版日期:
-
2018-09-10
文章信息/Info
- Title:
-
Automation Testing of Web Software Based on Selenium
- 文章编号:
-
1673-629X(2018)09-0047-06
- 作者:
-
姜文; 刘立康
-
西安电子科技大学 通信工程学院,陕西 西安,710071
- Author(s):
-
JIANG Wen; LIU Li-kang
-
School of Telecommunication Engineering,Xidian University,Xi’an 710071,China
-
- 关键词:
-
Web软件; 自动化测试; 测试脚本; Selenium; Python
- Keywords:
-
Web software; automation testing; test scripts; Selenium; Python
- 分类号:
-
TP311.5
- DOI:
-
10.3969/j.issn.1673-629X.2018.09.011
- 文献标志码:
-
A
- 摘要:
-
随着互联网技术和云计算技术的发展,很多软件产品都通过Web页面来实现客户端操作.Web软件的开发与测试已经成为软件开发过程中的重要组成部分.在常见的Web自动化测试工具中,Selenium是一款开源的、表现非常优秀的自动化测试工具.Selenium支持多种类型浏览器,可在多种操作系统上运行,支持多种语言的测试脚本.结合Web软件项目自动化测试工作实践,介绍了Web软件的开发技术和软件功能测试点;叙述了测试软件开发过程;详细叙述了基于Selenium与Python的自动化测试软件开发,其主要内容包括搭建测试环境、编写测试脚本、基于测试库框架优化测试脚本、自动化脚本连跑.最后介绍了测试结果分析.工作实践表明,采用Selenium进行Web软件测试,提高了测试效率,减少了测试工程师大量的重复测试验证工作.
- Abstract:
-
With the development of Internet technology and cloud computing technology,a lot of software products have achieved client operation through the Web pages. Web software development and testing has become an important part of the software development process. In the common Web test automation tools,Selenium is an open source automation tool with excellent performances,which supports a variety of browsers,runs on multiple operating systems and supports test scripts in multiple languages. In combination with practice 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 Selenium and Python in detail,including setting up test environment,writing test scripts,optimizing test scripts based on the test library framework and running automation scripts. Finally we introduce the test result analysis. Practice shows that using Selenium for Web software test can improve testing efficiency and reduce a lot of repetition test validation for engineers.
更新日期/Last Update:
2018-09-10