[1]马天鸣,梁 琛.Selenium 在电话自动拨测系统中的应用[J].计算机技术与发展,2021,31(10):141-145.[doi:10. 3969 / j. issn. 1673-629X. 2021. 10. 024]
 MA Tian-ming,LIANG Chen.Application of Selenium in Telephone Automatic Dial Testing System[J].,2021,31(10):141-145.[doi:10. 3969 / j. issn. 1673-629X. 2021. 10. 024]
点击复制

Selenium 在电话自动拨测系统中的应用()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
31
期数:
2021年10期
页码:
141-145
栏目:
应用前沿与综合
出版日期:
2021-10-10

文章信息/Info

Title:
Application of Selenium in Telephone Automatic Dial Testing System
文章编号:
1673-629X(2021)10-0141-05
作者:
马天鸣1 梁 琛2
1. 上海工程技术大学 电子电气工程学院,上海 201620;
2. 电信科学技术第一研究所有限公司,上海 200032
Author(s):
MA Tian-ming1 LIANG Chen2
1. School of Electronic & Electrical Engineering,Shanghai University of Engineering Science,Shanghai 201620,China;
2. The First Research Institute of Telecommunications Technology Co. ,Ltd. ,Shanghai 200032,China
关键词:
web 自动化Selenium回归测试pythonunittest
Keywords:
web automationSeleniumregression testpythonunittest
分类号:
TP311. 5
DOI:
10. 3969 / j. issn. 1673-629X. 2021. 10. 024
摘要:
由于电话拨测系统存在大量的省市端局、端局用户信息和数以千计的拨测号码,以手工的方式做重复的功能测试会增加测试时间和工作成本,为了减少繁琐冗余的测试工作量,提高测试效率,现使用开源 web 自动化工具 Selenium 对电话自动拨测系统进行回归测试。 对于电话自动拨测系统中端局管理等三个主要的模块,选择部分适合自动化测试的功能点来设计测试用例,以 python 为开发语言,unittest 为单元测试框架,编写测试代码并进行优化,在执行脚本后,能生成完整、易于分析和定位缺陷的测试报告并自动以电子邮件的形式发送给测试和开发人员,便于项目相关人员能及时获取系统的缺陷情况。 该测试脚本可以每天不间断执行,不仅节省了测试的时间,而且提高了测试的准确性和有效性。
Abstract:
Due to the large number of provincial and municipal end office user information and thousands of dialing and testing numbers in the telephone dialing test system,repeated functional testing by hand will increase the test time and work cost. In order to reduce the tedious and redundant? ?test workload and improve the test efficiency,Selenium,an open-source web automation tool,is used to conduct regression test of the automatic telephone dialing test system. For the three main modules of the telephone automatic dial test system,such as the end office management,select some function points suitable for automatic test to design test cases. With python as the development language and unit test as the unit test framework,the test code is written and optimized. After the script is executed,complete test reports that are easy to analyze and locate defects can be generated and automatically sent to the testers and developers in the form of E-mail,so that the project personnel can timely obtain the defect situation of the system. The test script can be executed continuously every day,which not only saves the test time,but also improves the accuracy and effectiveness of the test.
更新日期/Last Update: 2021-10-10