摘要
结合国家电网公司移动应用平台建设,提出了一种基于Appium的移动自动化测试系统,实现了跨平台(i OS、And roid、Firefox OS)、跨架构(Native、Hybrid、Web)的移动测试服务,解决移动端操作系统的多样化、碎片化为移动测试带来的困难和挑战。通过扩展Web Driver协议报文,引入测试用例参数适配器和数据库,解决了测试用例参数配置过程繁琐、可变性大的难题。通过测试用例开发包分层结构设计,实现了一次编写多平台适用的开发框架,能够简单、快速有效的开发和维护测试用例,极大地提升测试效率和产品质量。
Combined with the State Grid mobile application platform construction, this paper proposes a mobile automation test system based on Appium. The system provides a cross platform ( iOS. Android. FirefoxOS ), cross application ( Native. Hybrid. Web ) mobile test cloud services. It solves the difficulties and challenges of mobile terminal operating system diversification, fragmentation of mobile testing. By extending the WebDriver protocol, the test case adapter and database are introduced, the problem that the test case parameter configuration process is complicated and changeable is solved. It provides one development multi platform application test case development framework, it greatly improves the test efficiency and product quality.
作者
王俊
蒋厚明
王海涛
顾学海
WANG Jun JIANG Hou-ming WANG Hai-tao GU Xue-hai(National Electricity Science Research Institute, Nanjing 210000 China)
出处
《自动化技术与应用》
2017年第10期68-72,共5页
Techniques of Automation and Applications
基金
国家电网公司科技项目(编号524606150120)
关键词
移动应用测试
自动化测试
移动应用平台
系统实现
mobile app test
automated test
mobile application platform
system implementation