基于车型认证系统的自动化测试设计与实现
The Design and Implement of the Automation Test Based on Vehicle Certification System
DOI: 10.12677/SEA.2016.55031, PDF, HTML, XML, 下载: 2,167  浏览: 3,807 
作者: 庄恒国, 国建胜, 邵学彬:中国汽车技术研究中心,天津
关键词: 自动化测试SeleniumTestNgAutomated Test Selenium TestNg
摘要: 随着信息化步伐不断加快,软件作为处理业务和提供服务的重要保障,其开发任务日趋繁重,各类管理软件也变得越来越庞大和复杂,这就对软件测试提出了更高的要求。为了节省大量的时间和开支,必须使用自动化测试技术代替效率低下的手工测试,节省软件测试成本,缩短产品发布周期[1]。Selenium是众多功能自动化测试工具中较为成熟的一个产品。当集成了WebDriver API,进入了Selenium 2.0时代后,其能力和影响力得到极大增强。本文研究了基于Selenium 2.0的自动化测试技术,对TestNg (Testing Next Generation)框架进行封装,并结合汽车行业软件申报零件多且重复性高的特点,在实际汽车软件平台中加以应用,不仅提升了软件测试工作的积累和复用度,而且有效保障了系统升级过程中的持续稳定性。
Abstract: With the accelerating pace of the information technology, as the important guarantee for handling business and providing service, the development tasks of software are becoming increasingly arduous. All kinds of management software have become increasingly complex, which puts forward higher requirements for software testing. In order to save time and expenses, we must use automated testing technology instead of inefficient manual testing for saving software testing costs and shortening the release cycle of the product. Selenium is relatively mature in the automated testing tools. Especially after Selenium 2.0, the integration of Webdriver API significantly enhances its performance. Based on the software in the automotive sectors, this paper applies Selenium 2.0 to it with TestNg (Testing Next Generation) framework, which not only enhances the reusability and efficiency, but also improves the stability and reliability during system updating.
文章引用:庄恒国, 国建胜, 邵学彬. 基于车型认证系统的自动化测试设计与实现[J]. 软件工程与应用, 2016, 5(5): 269-276. http://dx.doi.org/10.12677/SEA.2016.55031

参考文献

[1] 杨晔. 基于BDD的自动化测试框架研究[J]. 电脑与电信, 2016(6): 30-33.
[2] 刘纯录, 主编. 软件评测师教程[M]. 北京: 清华大学出版社, 2005: 59.
[3] 梁向阳, 高丽萍. 一种基于Selenium的Web应用软件自动化测试平台设计与实现[J]. 科研信息化技术与应用, 2014, 5(6): 44-52.
[4] 曹磊, 董科军, 袁博文. 基于Selenium的Web测试研究及应用[J]. 电脑编程技巧与维护, 2015(21): 5-9.
[5] 何煌. 通过Selenium实现Web自动化测试的研究[J]. 电子技术与软件工程, 2016(7): 65.
[6] 张慧琳, 李威, 佟秋利, 等. 基于Selenium和TestNG的集成自动化测试平台设计[J]. 实验技术与管理, 2015, 32(9): 153-159.
[7] 冯楠, 陈有为, 张静姝, 等. Web自动化测试框架的设计, 实现和应用[J]. 自动化与仪表仪器, 2016(6): 226-228.
[8] 樊付星, 黄大庆, 周未, 等. 基于Web的自动化测试框架的研究与实现[J]. 电子设计工程, 2012, 20(1): 126-128.