I"m trying to set up and run Appium tests for IOS with Ruby using Visual Studio Code. Everything has been fine so far but no matter what I do I can’t get Appium to recognize a send_keys command.
This is the part of the log where it generates the error and dies:
[debug] [Instruments] [INST] 2016-06-23 21:16:47 +0000 Debug: Running system command #4: /usr/local/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/44/nlwn1bg52ksbtsc01qvyt9rchkpgkm/T/instruments_sock 2,{“status”:0,“value”:{“ELEMENT”:“0”}}…
[debug] [UIAuto] Socket data received (38 bytes)
[debug] [UIAuto] Got result from instruments: {“status”:0,“value”:{“ELEMENT”:“0”}}
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“0”}
[HTTP] <-- POST /wd/hub/session/c0695234-20ab-4037-aba2-97612a8030e6/element 200 132 ms - 87
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.2”,“revision”:“66cda616d1f2a2f5cb6bcece7be9ff29f5d6f863”}}
[HTTP] <-- GET /wd/hub/status 200 9 ms - 121
[HTTP] --> POST /wd/hub/session/c0695234-20ab-4037-aba2-97612a8030e6/element/0/value {“value”:[“12”]}
[MJSONWP] Calling AppiumDriver.setValue() with args: [[“12”],“0”,“c0695234-20ab-4037-aba2-97612a8030e6”]
[debug] [iOS] Executing iOS command ‘setValue’
[HTTP] <-- POST /wd/hub/session/c0695234-20ab-4037-aba2-97612a8030e6/element/0/value 501 4 ms - 122
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.2”,“revision”:“66cda616d1f2a2f5cb6bcece7be9ff29f5d6f863”}}
[HTTP] <-- GET /wd/hub/status 200 18 ms - 121
Anyone have a clue why this is happening? I’m using the most recent appium_lib gem and Ruby 1.9.3-p551