Interact Touch Click

734 views
Skip to first unread message

robertsh...@gmail.com

unread,
Sep 14, 2018, 10:18:18 AM9/14/18
to Automate
Interact Touch Click

I created a flow with a few Interact Touch Click blocks. Sometimes the flow works as expected, and other times not every click works. I am testing with a simple paint app so I can see where each click should register. I have tried adding some Delay blocks, but that didn't seem to help.

Could this be a bug, or might there be other factors that could impact the flow?

App version: 1.12.3
Android version: 4.4.4 (non-upgradable)
Latform: Acer Iconia tablet

Henrik "The Developer" Lindqvist

unread,
Sep 14, 2018, 10:26:16 AM9/14/18
to Automate
Maybe the device is locked, or the paint app isn't in the foreground. Also, please read:

robertsh...@gmail.com

unread,
Sep 14, 2018, 12:17:52 PM9/14/18
to Automate
Hi,

The screen is not locked and the paint app is in the foreground when the flow is launched. I am actively using Automate and Paint to learn and debug when I see that not every touch is occuring.

I am launching the flow via a Notification Show block because the Dialog Choice seemed to steal focus (and I hate using the volume up/down lol.)

robertsh...@gmail.com

unread,
Sep 14, 2018, 12:56:59 PM9/14/18
to Automate
I found the first click. The position was 1% 1%, and the system drop down hadn't cleared. The point was not hitting anything so nothing was activated. I am having trouble with the % as opposed to an exact x/y coordinate.

Henrik "The Developer" Lindqvist

unread,
Sep 14, 2018, 1:08:45 PM9/14/18
to Automate
Yes, using values near 0% and 100% will likely not work as expected since those positions are for notification bar, navigation bar, app side drawers, etc.
If you know the screen size calculate the coordinate percentages with:
x/screen width
y/screen height

robertsh...@gmail.com

unread,
Sep 14, 2018, 3:30:36 PM9/14/18
to Automate
Hi,

Thanks for the help. Would you consider building a "Get Screen Resolution" block?

Henrik "The Developer" Lindqvist

unread,
Sep 15, 2018, 9:10:23 AM9/15/18
to Automate
Unlikely, it's not needed at run-time anyway, since percentages are used everywhere.

anige...@gmail.com

unread,
Sep 15, 2018, 10:58:43 AM9/15/18
to Automate
Благоприятно действие на възможност
Reply all
Reply to author
Forward
0 new messages