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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -