请参阅所附图片。如何使用MonkeyRunner
按下Instagram
应用程序中的“下一步”按钮?在
有什么建议吗?在
我的代码
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
device = MonkeyRunner.waitForConnection()
package_sq = 'com.instest'
activity_sq = 'com.instest.MainActivity'
runComponent = package_sq + '/' + activity_sq
device.startActivity(component = runComponent)
device.press('KEYCODE_FORWARD', MonkeyDevice.DOWN_AND_UP)
目前没有回答
相关问题 更多 >
编程相关推荐