Input tap function percentage values.
Hello.
I want to run the tasks I prepared on multiple mobile devices.
Do we have the chance to use the input tap function with percentage values instead of X and Y coordinates?
Hello.
I want to run the tasks I prepared on multiple mobile devices.
Do we have the chance to use the input tap function with percentage values instead of X and Y coordinates?
You could make a fuction to calculate the correct coordinates:
- Use the action "Display->Test Display->Hardware Resolution" to get the actual resolution of the device (e.g. "1080x2340")
- "Variable split" with "x" as separator gets you the two dimensions
- create a task out of it which can be run with the desired percentage as parameter %par1
- in the task, do the math and then return the value with the "return" action