Hello @Zuzeac nothing is happening… below are the logs
I passed duration as below
WaitOptions.waitOptions(java.time.Duration.ofSeconds(5000)))
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:{“width”:630,“height”:294}}
e[36minfoe[39m: [debug] Responding to client with success: {“status”:0,“value”:{“width”:630,“height”:294},“sessionId”:“dbd6a8c4-bb16-43aa-84df-3c0fcf8d3836”}
e[36minfoe[39m: e[37m<-- GET /wd/hub/session/dbd6a8c4-bb16-43aa-84df-3c0fcf8d3836/element/10/size e[39me[32m200e[39me[90m 13.068 ms - 98e[39m e[90m{“status”:0,“value”:{“width”:630,“height”:294},“sessionId”:“dbd6a8c4-bb16-43aa-84df-3c0fcf8d3836”}e[39m
e[36minfoe[39m: e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/dbd6a8c4-bb16-43aa-84df-3c0fcf8d3836/touch/performe[39m e[90m{“actions”:[{“action”:“press”,“options”:{“x”:360,“y”:360}},{“action”:“wait”,“options”:{“ms”:5000000}},{“action”:“moveTo”,“options”:{“x”:380,“y”:495}}]}e[39m
e[36minfoe[39m: [debug] Pushing command to appium work queue: [“element:touchDown”,{“x”:360,“y”:360}]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:touchDown”,“params”:{“x”:360,“y”:360}}
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Got command action: touchDown
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Display bounds: [0,0][720,1184]
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Performing TouchDown using element? false x: 360, y: 360
e[36minfoe[39m: [debug] [BOOTSTRAP] [debug] Returning result: {“status”:0,“value”:true}
e[36minfoe[39m: [debug] Didn’t get a new command in 60 secs, shutting down…
new TouchAction<>(driver).press(PointOption.point(x, y))
.waitAction(WaitOptions.waitOptions(java.time.Duration.ofSeconds(5000)))
.moveTo(PointOption.point(newx, newy)).perform().release();
What I see in logs is
"actions":[{“action”:“press”,“options”:{“x”:360,“y”:360}},{“action”:“wait”,“options”:{“ms”:5000000}},{“action”:“moveTo”,“options”:{“x”:380,“y”:495}}]}
Pushing command to appium work queue: [“element:touchDown”,{“x”:360,“y”:360}]
Does that mean the Operation is not happening in Signpad?
Below is the Signpad element (shared screen shot earlier)
driver.findElement(By.xpath("//android.view.View[@index=‘0’]"));
Thanks
VS