payload: {"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7245","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7245/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7245/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7245/events","html_url":"https://github.com/appium/appium/issues/7245","id":190002404,"node_id":"MDU6SXNzdWUxOTAwMDI0MDQ=","number":7245,"title":"Can't send keys to a UIAlertController with textField","user":{"login":"dodigital","id":2572747,"node_id":"MDQ6VXNlcjI1NzI3NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2572747?v=4","gravatar_id":"","url":"https://api.github.com/users/dodigital","html_url":"https://github.com/dodigital","followers_url":"https://api.github.com/users/dodigital/followers","following_url":"https://api.github.com/users/dodigital/following{/other_user}","gists_url":"https://api.github.com/users/dodigital/gists{/gist_id}","starred_url":"https://api.github.com/users/dodigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodigital/subscriptions","organizations_url":"https://api.github.com/users/dodigital/orgs","repos_url":"https://api.github.com/users/dodigital/repos","events_url":"https://api.github.com/users/dodigital/events{/privacy}","received_events_url":"https://api.github.com/users/dodigital/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-17T10:18:46Z","updated_at":"2019-04-28T14:04:59Z","closed_at":"2016-11-28T10:21:30Z","author_association":"NONE","body":"## The problem\r\n\r\nSimply as the title states. I'm unable to use the sendKeys(String) method to enter texts into a UITextField during testing. I also previously used to be able to tap on certain keys on a keyboard when it's in view. \r\n\r\nSince updated to the Appium Beta 1.6.1 version the problem above arose. I had to use this version due to being able to slide on a UISlider.\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.6.1 beta\r\n* Last Appium version that did not exhibit the issue (if applicable): 1.6.0\r\n* Desktop OS/version used to run Appium: Mac\r\n* Mobile platform/version under test: iOS\r\n* Real device or emulator/simulator: Real device\r\n\r\n## Details\r\n\r\nI created a simple demo project to simulate the interaction with a alertcontroller textfield. The user long presses on a point on the screen and an alertcontroller with a textfield pops up and the user is supposed to be able to enter a text into the textfield.\r\n\r\n## Link to Appium logs: \r\nVia command line:\r\n[]https://gist.github.com/dodigital/5f9b89f42f549bda00aa8b3c79c54754\r\nVia eclipse console:\r\n[]https://gist.github.com/dodigital/849587c7bc76f3f089b5a9aae5dd82d6\r\n\r\n## Code To Reproduce Issue\r\n```java\r\n        @Test (priority = 1)\r\n\tpublic void scenarioOne() throws InterruptedException {\r\n\t\tThread.sleep(3000);\r\n\t\t// Highlight A, X position\r\n\t\tint posX = driver.manage().window().getSize().getWidth() / 2;\r\n\t\tint posY = driver.manage().window().getSize().getHeight() / 2;\r\n\t\t\r\n\t\tTouchAction longPress = new TouchAction(driver);\r\n\t\tlongPress.press(posY, posX).waitAction(2000).release().perform();\r\n\t\t\r\n\t\tThread.sleep(2000);\r\n\t\tSystem.out.println(driver.getPageSource());\r\n\t\t\r\n\t\tWebElement field = (new WebDriverWait(driver, 5).until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//XCUIElementTypeTextField\"))));\r\n\t\tfield.click();\r\n\t\tfield.sendKeys(\"TEST\");\r\n\t\t\r\n\t\t//typeTextIntoAlert(\"TEST\");\r\n\t\r\n\t}\r\n\t\r\n\t\r\n\tpublic void typeTextIntoAlert(String test){\r\n\t\t\r\n\t\tchar[] charArray = test.toCharArray();\r\n\t\t\r\n\t\tfor(int i = 0; i < charArray.length; i++){\r\n\t\t\tdriver.findElement(By.xpath(String.format(\"//XCUIElementTypeKey[@name='%s']\", Character.toString(charArray[i]).toLowerCase()))).click();\r\n\t\t}\r\n\t}\r\n```"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/487382341","html_url":"https://github.com/appium/appium/issues/7245#issuecomment-487382341","issue_url":"https://api.github.com/repos/appium/appium/issues/7245","id":487382341,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NzM4MjM0MQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-04-28T14:04:59Z","updated_at":"2019-04-28T14:04:59Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs."}}
other: {"actor":{"display_login":"lock"}}