Appium : v1.13.0
Xcode: 12.1
Visual Studio: 2017
scripting language: C sharp
I am running automated iOS test in simulator using visual studio and getting error ‘method not implemented’ for clicking on a element. The script worked in older version of Xcode but now it failed to find the element or doing any action.
Here is the appium server log
[HTTP] --> POST /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/element
[HTTP] {“using”:“accessibility id”,“value”:“Sign In”}
[debug] [W3C (5e2a2c67)] Calling AppiumDriver.findElement() with args: [“accessibility id”,“Sign In”,“5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e”]
[debug] [XCUITest] Executing command ‘findElement’
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/60D5EE50-7F50-4610-A435-CA943E1EA218/element] with body: {“using”:“accessibility id”,“value”:“Sign In”}
[debug] [WD Proxy] Got response with status 200: {“value”:{“ELEMENT”:“53000000-0000-0000-B0C9-000000000000”},“sessionId”:“60D5EE50-7F50-4610-A435-CA943E1EA218”,“status”:0}
[debug] [W3C (5e2a2c67)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“53000000-0000-0000-B0C9-000000000000”,“ELEMENT”:“53000000-0000-0000-B0C9-000000000000”}
[HTTP] <-- POST /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/element 200 197 ms - 137
[HTTP]
[HTTP] --> GET /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/element/53000000-0000-0000-B0C9-000000000000/enabled
[HTTP] {}
[W3C (5e2a2c67)] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[debug] [WD Proxy] Matched ‘/wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/element/53000000-0000-0000-B0C9-000000000000/enabled’ to command name ‘elementEnabled’
[debug] [WD Proxy] Proxying [GET /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/element/53000000-0000-0000-B0C9-000000000000/enabled] to [GET http://localhost:8100/session/60D5EE50-7F50-4610-A435-CA943E1EA218/element/53000000-0000-0000-B0C9-000000000000/enabled] with body: {}
[debug] [WD Proxy] Got response with status 200: “{\n “value” : true,\n “sessionId” : “60D5EE50-7F50-4610-A435-CA943E1EA218”,\n “status” : 0\n}”
[WD Proxy] Replacing sessionId 60D5EE50-7F50-4610-A435-CA943E1EA218 with 5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e
[HTTP] <-- GET /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/element/53000000-0000-0000-B0C9-000000000000/enabled 200 108 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/execute/sync
[HTTP] {“script”:“return (function(){return function(){var k=this;function l(a){return void 0!==a}function m(a){return"string”==typeof a}function aa(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript(“var “+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&l(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}\nfunction ba(a){var b=typeof a;if(“object”==b)if(a){if(a instanceof Array)return"array”;if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(”[object Window]"==c)return"object";if("[object Array]"==c||“number”==typeof a.length&&“undefined”!=typeof a.splice&&“undefined”!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(“splice”))return"array";if("[object Function]"==c||“undefined”!=typeof a.call&&“undefined”!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(“call”))return"function"}else return"null";\nelse if(“function”==b&&“undefined”==typeof a.call)return"object";return b}function ca(
[debug] [W3C (5e2a2c67)] Calling AppiumDriver.execute() with args: [“return (function(){return function(){var k=this;function l(a){return void 0!==a}function m(a){return"string”==typeof a}function aa(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript(“var “+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&l(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}}\nfunction ba(a){var b=typeof a;if(“object”==b)if(a){if(a instanceof Array)return"array”;if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(”[object Window]"==c)return"object";if("[object Array]"==c||“number”==typeof a.length&&“undefined”!=typeof a.splice&&“undefined”!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(“splice”))return"array";if("[object Function]"==c||“undefined”!=typeof a.call&&“undefined”!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(“call”))return"function"}else return"null";\nelse if(“function”==b&&“undefined”==typeof a.call)return"object";return b}function ca(a,b,c){return a.call.apply(a.b…
[debug] [XCUITest] Executing command ‘execute’
[debug] [W3C (5e2a2c67)] Encountered internal error running command: NotImplementedError: Method is not implemented
[debug] [W3C (5e2a2c67)] at XCUITestDriver.execute (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/execute.js:13:11)
[debug] [W3C (5e2a2c67)] at curCommandCancellable._bluebird.default.resolve.then (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:301:66)
[debug] [W3C (5e2a2c67)] at tryCatcher (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/util.js:16:23)
[debug] [W3C (5e2a2c67)] at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:512:31)
[debug] [W3C (5e2a2c67)] at Promise._settlePromise (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:569:18)
[debug] [W3C (5e2a2c67)] at Promise._settlePromiseCtx (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/promise.js:606:10)
[debug] [W3C (5e2a2c67)] at _drainQueueStep (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:142:12)
[debug] [W3C (5e2a2c67)] at _drainQueue (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:131:9)
[debug] [W3C (5e2a2c67)] at Async._drainQueues (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:147:5)
[debug] [W3C (5e2a2c67)] at Immediate.Async.drainQueues (/usr/local/lib/node_modules/appium/node_modules/bluebird/js/release/async.js:17:14)
[debug] [W3C (5e2a2c67)] at runCallback (timers.js:781:20)
[debug] [W3C (5e2a2c67)] at tryOnImmediate (timers.js:743:5)
[debug] [W3C (5e2a2c67)] at processImmediate [as _immediateCallback] (timers.js:714:5)
[HTTP] <-- POST /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e/execute/sync 405 8 ms - 1500
[HTTP]
[HTTP] --> DELETE /wd/hub/session/5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e
[HTTP] {}
[debug] [W3C (5e2a2c67)] Calling AppiumDriver.deleteSession() with args: [“5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e”]
[debug] [BaseDriver] Event ‘quitSessionRequested’ logged at 1561644273253 (15:04:33 GMT+0100 (BST))
[Appium] Removing session 5e2a2c67-8be7-42a7-802d-ae5ff10a9c8e from our master session list
Any help would be appreciated