Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test crashes when running tests using robot (tapster) #4

Open
formiganinja opened this issue Jun 20, 2014 · 1 comment
Open

Test crashes when running tests using robot (tapster) #4

formiganinja opened this issue Jun 20, 2014 · 1 comment

Comments

@formiganinja
Copy link

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

@DavidTolley
Copy link

I'm having the same issue. Did you get it solved formiganinja?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants