hi Aish
i tried what you gave and it is not clicking the co ordinates
POM code
public void scroll_to_orders(int x, int y, long seconds)
{
((AndroidDriver)driver).findElementByAndroidUIAutomator(“new UiScrollable(new UiSelector()).scrollIntoView(text(“Orders”));”);
// t.tap(new PointOption().withCoordinates(359, 485)).perform();
new TouchAction(driver).press(point(299,437)).waitAction(waitOptions(ofSeconds(seconds))).release().perform();
// new TouchAction(driver).tap(PointOption.point(299,437)).release().perform();
}
test case
@Test
public void c_orders()
{
object = new PageObjects(driver);
object.scroll_to_orders(299, 437,10);
}
Can you help