I use python code as follow to horizontal drag t开发者_Python百科he screen, but the device will response with long press event. I do not know why it is.I sincerely somebody could help me to solve this
Does anyone know if there is a way to add a contact via adb or monkeyrunner? Using device.shell(\"am start -a android.intent.action.ACTION_INSERT -t ContactsContract.Contacts.CONTEN开发者_高级运维T
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I want to simulate touch event, keyboard event on mobile device. Can I do it with MonkeyRunner? Also, I have the impression that it only works with SDK?
checking=MonkeyRunner.loadImageFromFile(chk) checking=MonkeyRunner.loadFromFile(chk) checking=MonkeyImage.loadFromFile(chk)
I am trying to test my apps using python and monkey runner. I want to send an intent during start activity.
I\'m using this following script to take screenshots: def snap(): from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
I\'m using MonkeyRunner to play with simulation of user activity. All fine but I cannot press EndCall.
Script: from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice device = MonkeyRunner.waitForConnection(5,\'192.168.6.60:5555\')
I have gone through the \"Monkey Runner\" for the following link http://developer.android.com/guide/topics/testing/testing_android.html