{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5556","labels_url":"https://api.github.com/repos/appium/appium/issues/5556/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5556/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5556/events","html_url":"https://github.com/appium/appium/issues/5556","id":104447247,"number":5556,"title":"Appium Android: unable to get elements under android.view.View","user":{"login":"savishy","id":13379978,"avatar_url":"https://avatars.githubusercontent.com/u/13379978?v=3","gravatar_id":"","url":"https://api.github.com/users/savishy","html_url":"https://github.com/savishy","followers_url":"https://api.github.com/users/savishy/followers","following_url":"https://api.github.com/users/savishy/following{/other_user}","gists_url":"https://api.github.com/users/savishy/gists{/gist_id}","starred_url":"https://api.github.com/users/savishy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savishy/subscriptions","organizations_url":"https://api.github.com/users/savishy/orgs","repos_url":"https://api.github.com/users/savishy/repos","events_url":"https://api.github.com/users/savishy/events{/privacy}","received_events_url":"https://api.github.com/users/savishy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T10:16:23Z","updated_at":"2015-10-06T09:40:23Z","closed_at":null,"body":"I am working on automating testing for an app that has (among other things) an inbuilt gallery. \r\nI am on Appium v1.4.0 (REV 8f63e2f91ef7907aed8bda763f4e5ca08e86970a)\r\nI am able to open the gallery-view fine (using the activity name). \r\n\r\nHowever, the main portion of the view is simply recognized as \"android.view.View\" with no subelements, although I can see previews of albums etc. \r\nHere's how it looks like in Appium Inspector. The \"Selected\" element is what I wish to interact with.\r\n![appium-inspector](https://cloud.githubusercontent.com/assets/13379978/9628500/f6c7df82-5188-11e5-9fbb-565ada7b9453.png)\r\nThe screenshot is a simple case with only one album, but in a real scenario I would want to get a list of \"album\" subelements, open a specific \"album\" sub-element, and so-on.\r\n\r\nNotes:\r\n\r\n* Being able to interact with the photos is important as mine is a Gallery application.\r\n* I have access to the source code but only done basic digging into the source.\r\n\r\nHow do I proceed? I have tried googling with various search strings and drawn a blank until now. Thanks for any help you can provide!\r\n\r\nUPDATES:\r\n\r\n* I just saw this discussion: https://groups.google.com/forum/#!topic/appium-discuss/WWSENPgolCg\r\nI tooled around in the source. It appears the gallery view may be just an implementation of com.android.gallery3d (since src/ has two packages - my app's package and com.android.gallery3d). \r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/145799142","html_url":"https://github.com/appium/appium/issues/5556#issuecomment-145799142","issue_url":"https://api.github.com/repos/appium/appium/issues/5556","id":145799142,"user":{"login":"aniket-21","id":4035405,"avatar_url":"https://avatars.githubusercontent.com/u/4035405?v=3","gravatar_id":"","url":"https://api.github.com/users/aniket-21","html_url":"https://github.com/aniket-21","followers_url":"https://api.github.com/users/aniket-21/followers","following_url":"https://api.github.com/users/aniket-21/following{/other_user}","gists_url":"https://api.github.com/users/aniket-21/gists{/gist_id}","starred_url":"https://api.github.com/users/aniket-21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniket-21/subscriptions","organizations_url":"https://api.github.com/users/aniket-21/orgs","repos_url":"https://api.github.com/users/aniket-21/repos","events_url":"https://api.github.com/users/aniket-21/events{/privacy}","received_events_url":"https://api.github.com/users/aniket-21/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T09:40:23Z","updated_at":"2015-10-06T09:40:23Z","body":"Is it a custom view?"}}