How to record "Click" or "Tap" action by coordinate (x,y) in Appium Studio IDE?

Hi,

I am new in using the Appium Studio to record script.
How can I record the “Click” or “Tap” action by coordinate(x,y) on Appium Studio IDE ? ( not in code environment )
Or is there a function existed in Appium Studio IDE that I can use for this?

you can achieve in two ways

you can see the x n y co ordinate visually by enabling pointer in Developer options (This works for Android )

or thru code

List element = (MobileElement) driver.findElementByAccessibilityId(“SomeAccessibilityID”);
Point location = element.getLocation();

Dont hard code x n y co ordinate . it will fail when you execute on different device. always try to get dynamic X n Y co ordinate based on elenent.

Hi @Mali ,

Thanks for your reply.
And I wanna try to find a way that I can only use the command of Appium Studio CE IDE to achieve the “Click by coordinate”, just like the command “FindElement and Click(Element)”,is there’s a command like “ClickOnCoordinate(x,y)” on Appium Studio?

The below picture shows the command that I wanna add: