{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/11319","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/11319/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/11319/comments","events_url":"https://api.github.com/repos/appium/appium/issues/11319/events","html_url":"https://github.com/appium/appium/issues/11319","id":357229586,"node_id":"MDU6SXNzdWUzNTcyMjk1ODY=","number":11319,"title":"Appium issue not able to select date","user":{"login":"RohitrajElpis","id":43004068,"node_id":"MDQ6VXNlcjQzMDA0MDY4","avatar_url":"https://avatars0.githubusercontent.com/u/43004068?v=4","gravatar_id":"","url":"https://api.github.com/users/RohitrajElpis","html_url":"https://github.com/RohitrajElpis","followers_url":"https://api.github.com/users/RohitrajElpis/followers","following_url":"https://api.github.com/users/RohitrajElpis/following{/other_user}","gists_url":"https://api.github.com/users/RohitrajElpis/gists{/gist_id}","starred_url":"https://api.github.com/users/RohitrajElpis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RohitrajElpis/subscriptions","organizations_url":"https://api.github.com/users/RohitrajElpis/orgs","repos_url":"https://api.github.com/users/RohitrajElpis/repos","events_url":"https://api.github.com/users/RohitrajElpis/events{/privacy}","received_events_url":"https://api.github.com/users/RohitrajElpis/received_events","type":"User","site_admin":false},"labels":[{"id":474876872,"node_id":"MDU6TGFiZWw0NzQ4NzY4NzI=","url":"https://api.github.com/repos/appium/appium/labels/NeedsInfo","name":"NeedsInfo","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-05T13:28:22Z","updated_at":"2018-09-07T12:44:18Z","closed_at":null,"author_association":"NONE","body":"\r\nI am trying to automate insurance related android app. where I need to select policy effective date. but I am not able to click on policy effective date I even tried all locators sucj as: id, name, classname, xpath.\r\n\r\nThe part below mentions all locators I used such as:\r\n\r\n#id\r\nclickeffectivee=ebroker.com.ebroker:id/edt_effective_date\r\n\r\n#by name\r\nclickeffectivee1=Policy Effective Date\r\n\r\n#class name\r\nclickeffectivee2=android.widget.EditText\r\n\r\n#classname2\r\nclickeffectivee3=TextInputLayout\r\n\r\n#xpath with text\r\nclickeffectivee4=//android.widget.EditText[@text=\"Policy Effective Date\"]\r\nclickeffectivee5=//android.widget.EditText[@name='Policy Effective Date']\r\n\r\n#xpath with contain\r\n\r\nclickeffectivee6=//android.widget.EditText[contains(@resource-id,'effective_date_layout')]\r\n\r\n\r\n#xpath with contain and text \r\n\r\nclickeffectivee7=//android.widget.EditText[contains(@resource-id,'effective_date_layout')and (@text='Policy Effective Date')]\r\nfor this particular method as\r\n\r\n    public void  selectdate () throws InterruptedException, FileNotFoundException, IOException,\r\n    EncryptedDocumentException, InvalidFormatException {\r\n    Thread.sleep(5000);\r\n    WebElementcp(appium.findElement(By.xpath(Lib.getProperty(CONFIG_PATH, \"clickeffectivee7\"))));\r\n    cp.click();\r\nAfter running I am getting an error message I even tried so many times still I am getting the same below mentioned error message\r\n\r\n PFA image [issue image ][1]\r\n\r\n        Thread.sleep(3000);\r\n\r\n\r\n  [1]: https://i.stack.imgur.com/sPL1n.png"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/419427693","html_url":"https://github.com/appium/appium/issues/11319#issuecomment-419427693","issue_url":"https://api.github.com/repos/appium/appium/issues/11319","id":419427693,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQyNzY5Mw==","user":{"login":"mykola-mokhnach","id":7767781,"node_id":"MDQ6VXNlcjc3Njc3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T12:44:18Z","updated_at":"2018-09-07T12:44:18Z","author_association":"COLLABORATOR","body":"http://appium.io/docs/en/drivers/android-uiautomator2/"}}
{"actor":{"display_login":"mykola-mokhnach"}}