You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My test crashes every time I try to click an element on screen using tapster, even the robot taps correctly the element.
These are the steps to reproduce this issue:
First calibrate using server.js, calibration.js and RobotCalibration app for iOS.
Run server once again using the calibration json file and launch appium with the --robot-address 0.0.0.0 --robot-port 4242 settings. This settings will make appium click events automatically be done by the robot.
now I'm running a simple test case that finds an element and sends a click event on it, but the test always fails on this part returning a 500 error to server and a message just after the click event occurs. Here is the log output:
debug: Appium request initiated at /wd/hub/session/a9b9b709-f4ff-438b-ad2d-170f692aea83/element/1/click
debug: Request received with params: {}
info: Pushing command to appium work queue: "au.getElement('1').rect()"
debug: Sending command to instruments: au.getElement('1').rect()
info: [INSTSERVER] Sending command to instruments: au.getElement('1').rect()
info: [INSTSERVER] Socket data received (122 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"origin":{"x":374,"y":30},"size":{"width":100,"height":29.218109130859375}}}
info: Responding to client with error: {"status":1,"value":{"message":"undefined status object"},"sessionId":"a9b9b709-f4ff-438b-ad2d-170f692aea83"}
POST /wd/hub/session/a9b9b709-f4ff-438b-ad2d-170f692aea83/element/1/click 500 3178ms - 131b
The text was updated successfully, but these errors were encountered:
My test crashes every time I try to click an element on screen using tapster, even the robot taps correctly the element.
These are the steps to reproduce this issue:
debug: Appium request initiated at /wd/hub/session/a9b9b709-f4ff-438b-ad2d-170f692aea83/element/1/click
debug: Request received with params: {}
info: Pushing command to appium work queue: "au.getElement('1').rect()"
debug: Sending command to instruments: au.getElement('1').rect()
info: [INSTSERVER] Sending command to instruments: au.getElement('1').rect()
info: [INSTSERVER] Socket data received (122 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"origin":{"x":374,"y":30},"size":{"width":100,"height":29.218109130859375}}}
info: Responding to client with error: {"status":1,"value":{"message":"undefined status object"},"sessionId":"a9b9b709-f4ff-438b-ad2d-170f692aea83"}
POST /wd/hub/session/a9b9b709-f4ff-438b-ad2d-170f692aea83/element/1/click 500 3178ms - 131b
The text was updated successfully, but these errors were encountered: