Empenguin  

Instrumentation:monitor all of the interaction the system has with the application

里面提供了许多有用的方法:如sendKeySync,实现方法

(IWindowManager.Stub.asInterface(ServiceManager.getService("window")))
.injectKeyEvent(event, true);通过模拟Input的sendKeyEvent给WindowManger发送事件。

android测试流程:

posted on 2013-05-06 17:48  Empenguin  阅读(149)  评论(0编辑  收藏  举报