android - EasyMonkeyDevice touch sometimes tap on wrong coordinates -


my program trying establish vpn connection, thus, android message "connection request - software wants setup vpn connection ... accept if trust source". uiautomationviewer saw id id/button1. so, i've used this

easy_device.touch(by.id('id/button1'), monkeydevice.down_and_up) 

the ok button according uiautomationviewer @ [810,1162][978,1288], monkeyrunner taps on x=866, y=709

170725 15:43:i [main] [com.android.chimpchat.chimpmanager] monkey command: tap 866 709. 

what doing wrong?


Comments

Popular posts from this blog

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -

python - Best design pattern for collection of objects -