{"action":"created","issue":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/204","labels_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/204/comments","events_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/204/events","html_url":"https://github.com/RobotiumTech/robotium/issues/204","id":101919788,"number":204,"title":"searchText always return true if parm onlyVisible is set to true when the view contains the text is hiden after the first round searchText","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/invalid","name":"invalid","color":"FFFFFF"},{"url":"https://api.github.com/repos/RobotiumTech/robotium/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T15:27:25Z","updated_at":"2015-08-19T15:27:32Z","closed_at":null,"body":"_From [ant...@gmail.com](https://code.google.com/u/114347417602727910555/) on July 01, 2011 03:18:20_\n\nWhat steps will reproduce the problem? 1.searchText(\"abc\",true)   //\"abc\" on a Textview on Activity A\r\n2.Activity hides TextView with text \"abc\"\r\n3.searchText(\"abc\", true) again, it returns true;\r\n\r\nCode here:\r\n for (int j = 0 ;j \\< 10;j++{\r\n\tint i = 0;\r\n\twhile(i \\< 24){\r\n\t\ti++;\r\n\t\tsolo.sleep(5000);\r\n\t\tif(solo.searchButton(\"Delete\",true)){  \r\n\t\t\t\t  //It hits here when round 2 (j=2), even if the botton is not visible.\r\n\t\t\t\t\tsolo.sleep(1000);\r\n\t\t\t\t\tsolo.clickOnButton(\"Delete\");\r\n\t\t\t\t\tsolo.sleep(1000);\r\n\t\t\t\t\tsolo.clickOnButton(\"OK\");\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tsolo.clickButton(\"Download\");    \r\n\t\t\t//When downloading,before it finish, a progressbar occupies button \"Delete\" position.\r\n} What is the expected output? What do you see instead? expected: searchText returns false at sencond round.\r\nactual:  searchText returns trun at sencond round. What version of the product are you using? On what operating system? 2.3\r\nPC: windows7\r\nMobile: Android 2.1-upadte Please provide any additional information below.\n\n_Original issue: http://code.google.com/p/robotium/issues/detail?id=125_"},"comment":{"url":"https://api.github.com/repos/RobotiumTech/robotium/issues/comments/132638224","html_url":"https://github.com/RobotiumTech/robotium/issues/204#issuecomment-132638224","issue_url":"https://api.github.com/repos/RobotiumTech/robotium/issues/204","id":132638224,"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-19T15:27:32Z","updated_at":"2015-08-19T15:27:32Z","body":"_From [hareesha...@gmail.com](https://code.google.com/u/117617842211118051874/) on July 13, 2011 00:27:39_\n\nit is one more"}}