{"action":"created","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/517","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/517/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/517/events","html_url":"https://github.com/RobotiumTech/robotium/issues/517","id":102021447,"number":517,"title":"Using EnterText is not representative of typing text in password field","user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/wontfix","name":"wontfix","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T23:17:47Z","updated_at":"2015-08-19T23:17:54Z","closed_at":null,"body":"_From [selwyn.l...@gmail.com](https://code.google.com/u/106382662654992049908/) on April 17, 2013 10:03:28_\n\nWhat steps will reproduce the problem? 1. Setup an EditText object in code where android:password=\"true\".\r\n2. Call \"solo.typeText(passField, \"This is my password\");\"\r\n3. Observe result What is the expected output? What do you see instead? I am expecting to see the password entered as a series of asterisks (\"*\"). I also have code which reacts to the length of the string entered. Neither of these things occur: the full text of the password is visible, and the code which reacts to the change in text length is not firing. What version of the product are you using? On what operating system? Robotium 4.0 in IntelliJ Idea on a Mac. The target device is running Android 4.2.2 Please provide any additional information below. The code which reacts to the change in text length polls the editText object periodically using \"view.getText().length()\". This is returning zero when entering text using \"solo.typeText()\".\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=438_"},"comment":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/comments/132823257","html_url":"https://github.com/RobotiumTech/robotium/issues/517#issuecomment-132823257","issue_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/517","id":132823257,"user":{"login":"renas","id":165541,"avatar_url":"https://avatars.githubusercontent.com/u/165541?v=3","gravatar_id":"","url":"https://api.github.com/users/renas","html_url":"https://github.com/renas","followers_url":"https://api.github.com/users/renas/followers","following_url":"https://api.github.com/users/renas/following{/other_user}","gists_url":"https://api.github.com/users/renas/gists{/gist_id}","starred_url":"https://api.github.com/users/renas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renas/subscriptions","organizations_url":"https://api.github.com/users/renas/orgs","repos_url":"https://api.github.com/users/renas/repos","events_url":"https://api.github.com/users/renas/events{/privacy}","received_events_url":"https://api.github.com/users/renas/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T23:17:54Z","updated_at":"2015-08-19T23:17:54Z","body":"_From [selwyn.l...@gmail.com](https://code.google.com/u/106382662654992049908/) on April 17, 2013 11:44:33_\n\nActually there is! You can use sendKey() to send individual characters without needing access to the keyboard, although alphabet characters are limited to lower case using this method. After a little research I discovered this on Stack Overflow: http://stackoverflow.com/questions/10209681/entertext-in-robotium Using this method, both the masked field and text length issues were fixed :)"}}