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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -