monkeyrunner之实际使用
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice,MonkeyImagefrom com.android.monkeyrunner.easy import EasyMonkeyDevice
from com.android.monkeyrunner.easy import By
device = MonkeyRunner.waitForConnection()
easy_device = EasyMonkeyDevice(device)
easy_device.startActivity('com.orient.seal.sealmobile/com.orient.seal.sealmobile.MainActivity')
device.type('newapply')
页:
[1]