{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7435","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7435/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7435/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7435/events","html_url":"https://github.com/appium/appium/issues/7435","id":193806072,"number":7435,"title":"Unable to change Slider value","user":{"login":"rkavalap","id":80310,"avatar_url":"https://avatars.githubusercontent.com/u/80310?v=3","gravatar_id":"","url":"https://api.github.com/users/rkavalap","html_url":"https://github.com/rkavalap","followers_url":"https://api.github.com/users/rkavalap/followers","following_url":"https://api.github.com/users/rkavalap/following{/other_user}","gists_url":"https://api.github.com/users/rkavalap/gists{/gist_id}","starred_url":"https://api.github.com/users/rkavalap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkavalap/subscriptions","organizations_url":"https://api.github.com/users/rkavalap/orgs","repos_url":"https://api.github.com/users/rkavalap/repos","events_url":"https://api.github.com/users/rkavalap/events{/privacy}","received_events_url":"https://api.github.com/users/rkavalap/received_events","type":"User","site_admin":false},"labels":[{"id":143265062,"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-06T15:44:09Z","updated_at":"2016-12-14T21:37:49Z","closed_at":null,"body":"@shivakrishnach31 commented on [Thu Nov 03 2016](https://github.com/appium/appium-xcuitest-driver/issues/278)\n\nHi @imurchie & @jlipps ,\r\n\r\nI am unable to change slider values using `sendKeys(\"1\")` in iOS devices using Appium 1.6.0 and Xcode 8. It was working fine in Xcode 7.3 but not working now.\r\nBelow is the code I used:\r\n`driver.findElementByClassName(\"XCUIElementTypeSlider\").sendKeys(\"1\");`\r\n\r\nAppium log:\r\n```\r\n> Laxmi-iOSs-iMac:~ Shiva$ [Appium] Welcome to Appium v1.6.0\r\n> [Appium] Appium REST http interface listener started on 0.0.0.0:4723\r\n> [HTTP] --> POST /wd/hub/session {\"desiredCapabilities\":{\"app\":\"/Users/Shiva/Downloads/S*********.ipa\",\"sendKeyStrategy\":\"setValue\",\"realDeviceLogger\":\"/usr/local/lib/node_modules/deviceconsole/deviceconsole\",\"platformVersion\":\"9.3\",\"automationName\":\"XCUITest\",\"browserName\":\"\",\"platformName\":\"iOS\",\"udid\":\"*********\",\"deviceName\":\"Shiva’s iPhone\"}}\r\n> [MJSONWP] Calling AppiumDriver.createSession() with args: [{\"app\":\"/Users/Shiva/Downl...\r\n> [Appium] Creating new XCUITestDriver session\r\n> [Appium] Capabilities:\r\n> [Appium]   app: '/Users/Shiva/Downloads/*************.ipa'\r\n> [Appium]   sendKeyStrategy: 'setValue'\r\n> [Appium]   realDeviceLogger: '/usr/local/lib/node_modules/deviceconsole/deviceconsole'\r\n> [Appium]   platformVersion: '9.3'\r\n> [Appium]   automationName: 'XCUITest'\r\n> [Appium]   browserName: ''\r\n> [Appium]   platformName: 'iOS'\r\n> [Appium]   udid: '*********************'\r\n> [Appium]   deviceName: 'Shiva’s iPhone'\r\n> [debug] [XCUITest] XCUITestDriver version: 2.0.26\r\n> [BaseDriver] Session created with session id: 004a9542-1e71-416c-bb75-2d6e41c2693c\r\n> [debug] [XCUITest] Xcode version set to '8.0'\r\n> [debug] [XCUITest] iOS SDK Version set to '10.0'\r\n> [debug] [XCUITest] Available devices: ******************\r\n> [debug] [XCUITest] Creating iDevice object with did **************\r\n> [XCUITest] Determining device to run tests on: udid: '39e1f150b412544633088c913f117be93a846b67', real device: true\r\n> [BaseDriver] Using local app '/Users/Shiva/Downloads/***************.ipa'\r\n> [debug] [BaseDriver] Copying local zip to tmp dir\r\n> [debug] [BaseDriver] Unzipping /var/folders/p_/y4z5csh55y3_gg0rht_dj91w0000gp/T/2016103-22617-1a7k1rn.bj9j05dn29/appium-app.zip\r\n> [debug] [BaseDriver] Testing zip archive: /var/folders/p_/y4z5csh55y3_gg0rht_dj91w0000gp/T/2016103-22617-1a7k1rn.bj9j05dn29/appium-app.zip\r\n> [BaseDriver] Unzipped local app to '/var/folders/p_/y4z5csh55y3_gg0rht_dj91w0000gp/T/2016103-22617-1a7k1rn.bj9j05dn29/Payload/******.app'\r\n> [debug] [XCUITest] Checking whether app is actually present\r\n> [debug] [ios-app-utils] Getting bundle ID from app\r\n> [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog\r\n> [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'\r\n> [XCUITest] Setting up real device\r\n> [debug] [XCUITest] Stdout from app isInstalled check: [....] Waiting for iOS device to be connected\r\n> [....] Using iPhone 6 Plus 'Shiva’s iPhone' (*************).\r\n> true\r\n> \r\n> [debug] [XCUITest] App is installed.\r\n> [debug] [XCUITest] Full reset not requested. No need to install.\r\n> [XCUITest] Using default agent: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj\r\n> [XCUITest] Using default bootstrap: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent\r\n> [XCUITest] Launching WebDriverAgent on the device\r\n> [debug] [XCUITest] Carthage found: /usr/local/bin/carthage\r\n> [debug] [XCUITest] Beginning test with command '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/bin/run-xcodebuild.sh --project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj --scheme WebDriverAgentRunner --destination id=39e1f150b412544633088c913f117be93a846b67' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'\r\n> [XCUITest] Waiting for WebDriverAgent to start on device\r\n> [debug] [XCUITest] Log file for xcodebuild test: /Users/Shiva/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/5B1C1C82-0A17-4468-BC02-B0D5D02F1A87/Session-WebDriverAgentRunner-2016-11-03_161903-RaFDOq.log\r\n> [XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.1.224:8100'\r\n> [XCUITest] WebDriverAgent started at url 'http://192.168.1.224:8100'\r\n> [debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB\r\n> [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {\"desiredCapabilities\":{\"bu...\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{\"sessionId\":\"2774...\r\n> [Appium] New XCUITestDriver session created successfully, session 004a9542-1e71-416c-bb75-2d6e41c2693c added to master session list\r\n> [MJSONWP] Responding to client with driver.createSession() result: {\"webStorageEnabled\":false,...\r\n> [HTTP] <-- POST /wd/hub/session 200 32944 ms - 582 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element {\"using\":\"accessibility id\",\"value\":\"OK\"}\r\n> [MJSONWP] Calling AppiumDriver.findElement() with args: [\"accessibility id\",\"OK\",\"0...\r\n> [debug] [XCUITest] Executing command 'findElement'\r\n> [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id\r\n> [debug] [BaseDriver] Waiting up to 0 ms for condition\r\n> [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element] with body: {\"using\":\"accessibility id\"...\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{\"using\":\"access...\r\n\r\n\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element 500 933 ms - 164 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/elements {\"using\":\"class name\",\"value\":\"UIAAlert\"}\r\n> [MJSONWP] Calling AppiumDriver.findElements() with args: [\"class name\",\"UIAAlert\",\"0...\r\n> [debug] [XCUITest] Executing command 'findElements'\r\n> [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id\r\n> [XCUITest] Rewrote incoming selector from 'UIAAlert' to 'XCUIElementTypeAlert' to match XCUI type. You should consider updating your tests to use the new selectors directly\r\n> [debug] [BaseDriver] Waiting up to 0 ms for condition\r\n> [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/elements] with body: {\"using\":\"class name\",\"value..\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":[],\"sessionId\":\"27...\r\n> [MJSONWP] Responding to client with driver.findElements() result: []\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/elements 200 923 ms - 74 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/elements {\"using\":\"accessibility id\",\"value\":\"Get Started\"}\r\n> [MJSONWP] Calling AppiumDriver.findElements() with args: [\"accessibility id\",\"Get St...\r\n> [debug] [XCUITest] Executing command 'findElements'\r\n> [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id\r\n> [debug] [BaseDriver] Waiting up to 0 ms for condition\r\n> [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/elements] with body: {\"using\":\"accessibility id\"...\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":[],\"sessionId\":\"27...\r\n> [MJSONWP] Responding to client with driver.findElements() result: []\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/elements 200 970 ms - 74 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element {\"using\":\"accessibility id\",\"value\":\"24/48 kHz\"}\r\n> [MJSONWP] Calling AppiumDriver.findElement() with args: [\"accessibility id\",\"24/48 ...\r\n> [debug] [XCUITest] Executing command 'findElement'\r\n> [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id\r\n> [debug] [BaseDriver] Waiting up to 0 ms for condition\r\n> [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element] with body: {\"using\":\"accessibility id\"...\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{\"ELEMENT\":\"552E08...\r\n> [MJSONWP] Responding to client with driver.findElement() result: {\"ELEMENT\":\"552E0835-0539-4...\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element 200 1180 ms - 177 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element/552E0835-0539-4FE1-92BD-F9D4FC4D4792/click {\"id\":\"552E0835-0539-4FE1-92BD-F9D4FC4D4792\"}\r\n> [MJSONWP] Calling AppiumDriver.click() with args: [\"552E0835-0539-4FE1-92BD-F...\r\n> [debug] [XCUITest] Executing command 'click'\r\n> [JSONWP Proxy] Proxying [POST /uiaElement/552E0835-0539-4FE1-92BD-F9D4FC4D4792/scroll] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/uiaElement/552E0835-0539-4FE1-92BD-F9D4FC4D4792/scroll] with body: {\"toVisible\":true}\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{},\"sessionId\":\"27...\r\n> [JSONWP Proxy] Proxying [POST /element/552E0835-0539-4FE1-92BD-F9D4FC4D4792/click] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element/552E0835-0539-4FE1-92BD-F9D4FC4D4792/click] with body: {}\r\n> [JSONWP Proxy] Got response with status 200: {\"status\":0,\"id\":\"552E0835-...\r\n> [MJSONWP] Responding to client with driver.click() result: \"\"\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element/552E0835-0539-4FE1-92BD-F9D4FC4D4792/click 200 2847 ms - 74 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element {\"using\":\"accessibility id\",\"value\":\"16/44.1 kHz\"}\r\n> [MJSONWP] Calling AppiumDriver.findElement() with args: [\"accessibility id\",\"16/44....\r\n> [debug] [XCUITest] Executing command 'findElement'\r\n> [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id\r\n> [debug] [BaseDriver] Waiting up to 0 ms for condition\r\n> [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element] with body: {\"using\":\"accessibility id\"...\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{\"ELEMENT\":\"140854...\r\n> [MJSONWP] Responding to client with driver.findElement() result: {\"ELEMENT\":\"1408544D-95AD-4...\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element 200 1291 ms - 179 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element/1408544D-95AD-40CF-BC9F-B3B0C6B721EF/click {\"id\":\"1408544D-95AD-40CF-BC9F-B3B0C6B721EF\"}\r\n> [MJSONWP] Calling AppiumDriver.click() with args: [\"1408544D-95AD-40CF-BC9F-B...\r\n> [debug] [XCUITest] Executing command 'click'\r\n> [JSONWP Proxy] Proxying [POST /uiaElement/1408544D-95AD-40CF-BC9F-B3B0C6B721EF/scroll] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/uiaElement/1408544D-95AD-40CF-BC9F-B3B0C6B721EF/scroll] with body: {\"toVisible\":true}\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{},\"sessionId\":\"27...\r\n> [JSONWP Proxy] Proxying [POST /element/1408544D-95AD-40CF-BC9F-B3B0C6B721EF/click] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element/1408544D-95AD-40CF-BC9F-B3B0C6B721EF/click] with body: {}\r\n> (node:22617) Warning: Possible EventEmitter memory leak detected. 11 timeout listeners added. Use emitter.setMaxListeners() to increase limit\r\n> [JSONWP Proxy] Got response with status 200: {\"status\":0,\"id\":\"1408544D-...\r\n> [MJSONWP] Responding to client with driver.click() result: \"\"\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element/1408544D-95AD-40CF-BC9F-B3B0C6B721EF/click 200 2939 ms - 74 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element {\"using\":\"class name\",\"value\":\"XCUIElementTypeSlider\"}\r\n> [MJSONWP] Calling AppiumDriver.findElement() with args: [\"class name\",\"XCUIElementT...\r\n> [debug] [XCUITest] Executing command 'findElement'\r\n> [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id\r\n> [debug] [BaseDriver] Waiting up to 0 ms for condition\r\n> [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element] with body: {\"using\":\"class name\",\"value..\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":{\"ELEMENT\":\"E3F5F1...\r\n> [MJSONWP] Responding to client with driver.findElement() result: {\"ELEMENT\":\"E3F5F1FA-0650-4...\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element 200 1573 ms - 166 \r\n> [HTTP] --> POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element/E3F5F1FA-0650-49B5-BAD0-BE2CC85DF0E9/value {\"id\":\"E3F5F1FA-0650-49B5-BAD0-BE2CC85DF0E9\",\"value\":[\"1\"]}\r\n> [MJSONWP] Calling AppiumDriver.setValue() with args: [[\"1\"],\"E3F5F1FA-0650-49B5-...\r\n> [debug] [XCUITest] Executing command 'setValue'\r\n> [JSONWP Proxy] Proxying [POST /element/E3F5F1FA-0650-49B5-BAD0-BE2CC85DF0E9/value] to [POST http://localhost:8100/session/27740E6E-BA8E-4FAE-A1F8-53C02873A0E5/element/E3F5F1FA-0650-49B5-BAD0-BE2CC85DF0E9/value] with body: {\"value\":[\"1\"]}\r\n> [JSONWP Proxy] Got response with status 200: {\"value\":\"Error Domain=com....\r\n> [HTTP] <-- POST /wd/hub/session/004a9542-1e71-416c-bb75-2d6e41c2693c/element/E3F5F1FA-0650-49B5-BAD0-BE2CC85DF0E9/value 500 7110 ms - 304 \r\n> [debug] [iProxy] recv failed: Resource temporarily unavailable\r\n> [debug] [iProxy] recv failed: Operation not permitted..\r\n```\n\n---\n\n@imurchie commented on [Fri Nov 04 2016](https://github.com/appium/appium-xcuitest-driver/issues/278#issuecomment-258535823)\n\nIt seems the upstream project does not correctly handle the slider setting.\n\nUnfortunately, the Apple-provided method for doing this does not currently work. :(\n\n\n---\n\n@tomachi commented on [Thu Nov 24 2016](https://github.com/appium/appium-xcuitest-driver/issues/278#issuecomment-262722862)\n\nWe also have this issue. \r\nIs there a solution in the near future?\n\n---\n\n@Siddh010 commented on [Thu Dec 01 2016](https://github.com/appium/appium-xcuitest-driver/issues/278#issuecomment-264124765)\n\nWe are also facing same issue . Is there any workaround.. \n\n---\n\n@jlipps commented on [Thu Dec 01 2016](https://github.com/appium/appium-xcuitest-driver/issues/278#issuecomment-264347125)\n\nWait for appium 1.6.2 which will be published today or tomorrow\n\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/267164431","html_url":"https://github.com/appium/appium/issues/7435#issuecomment-267164431","issue_url":"https://api.github.com/repos/appium/appium/issues/7435","id":267164431,"user":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T21:37:49Z","updated_at":"2016-12-14T21:37:49Z","body":"@marekcirkos is slider value setting not working in WDA a known issue?"}}
{"actor":{"display_login":"jlipps"}}