Android自动化测试系统的设计与实现
首发时间:2015-12-31
摘要:Android自动化测试在当前移动互联网快速发展的背景下正逐渐兴起。现有的Android自动化测试方法普遍需要PC端配合,无法在Android终端独立进行自动化测试,并且不能实现多终端多任务并行执行。针对这些问题,本文设计实现了一个Android自动化测试系统,通过基于Servlet3异步特性实现http长连接的方式取代与PC端物理连接,保证实时推送任务消息到Android终端,并且通过Android系统的getevent和input工具基于事件流分析与事件注入的方法直接在Android终端实现脚本的录制回放,实现多终端多任务并行执行。
For information in English, please click here
Design and Implementation of Android Automated Test System
Abstract:With the rapid development of mobile Internet,Android automated test is gradually on the rise.The existing automate test methods generally require the PC side to carry out and Android device can not do the test independently.Besides,the existing methods can not achieve multi-device to perform multiple tasks in parallel.To solve these problems, this paper designed and implemented an Android automated test system, using http long connection based on the asynchronous nature of Servlet3 to replace PC physical connection to ensure to push task message to the Android device real-time.In additon,by Android system tools getevent and input,this system achieve to record and playback scripts directly on the Android device based on the method of event flow analysis and event injection.Therefore,the system can achieve multi-device to perform multiple tasks in parallel.
Keywords: automated test Android long connection script recording and playback
基金:
论文图表:
引用
No.4673475112547914****
同行评议
勘误表
Android自动化测试系统的设计与实现
评论
全部评论0/1000