{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/17976","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/17976/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/17976/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/17976/events","html_url":"https://github.com/facebook/react-native/issues/17976","id":297048990,"number":17976,"title":"Identifying unique object is very difficult  in React Native- All parent and child objects has similar name","user":{"login":"mali5590","id":35725322,"avatar_url":"https://avatars3.githubusercontent.com/u/35725322?v=4","gravatar_id":"","url":"https://api.github.com/users/mali5590","html_url":"https://github.com/mali5590","followers_url":"https://api.github.com/users/mali5590/followers","following_url":"https://api.github.com/users/mali5590/following{/other_user}","gists_url":"https://api.github.com/users/mali5590/gists{/gist_id}","starred_url":"https://api.github.com/users/mali5590/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mali5590/subscriptions","organizations_url":"https://api.github.com/users/mali5590/orgs","repos_url":"https://api.github.com/users/mali5590/repos","events_url":"https://api.github.com/users/mali5590/events{/privacy}","received_events_url":"https://api.github.com/users/mali5590/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T10:44:23Z","updated_at":"2018-02-24T03:19:25Z","closed_at":null,"author_association":"NONE","body":"### Is this a bug report?\r\n\r\n\r\nYes\r\n\r\n\r\n### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)?\r\n\r\nYes\r\n\r\n### Environment\r\n\r\n\r\n\r\n\r\n  Environment:\r\n    OS:  mac/ Ubuntu\r\n    Node:  v8.1.4\r\n    Yarn:  -N/A\r\n    npm:  5.6.0\r\n    Watchman:-N/A  \r\n    Xcode:  9.2\r\n    Android Studio:  latest\r\n\r\n  Packages: (wanted => installed)\r\n    react-native: 0.48.1 => 0.48.1\r\n    react: 16.0.0-alpha.12 => 16.0.0-alpha.12\r\n\r\n  Target Platform: iOS (10.3)\r\n\r\n\r\n\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n\r\n I gonna start automation using React Native application -But object identification seems to be challenging\r\n\r\n\r\n\r\n\r\n1. install the react native app\r\n2. spy the object using appium studio\r\n3. verify the properties of the object\r\n\r\n### Expected Behavior\r\n\r\n\r\n  I have planned to automate react native app  using appium studio - But the object spying seems to be a challenging one , We require a unique id for each object (ID,Frame,LinearLayout,Switch,UIATable,UIAView) to automate\r\n\r\n\r\n\r\n\r\n### Actual Behavior\r\n\r\n\r\n  The objects displayed in object hierarchy not seems to be unique, all objects having the same identifier ,and also the hidden=true elements are not differentiated properly. Refer Screenshot .\r\nIn Native app we are not finding this kind of  challenges. but only in react native app the objects are not unique and there is no differentiation between parent and child object.. Parent and child objects have same name, More Complex to Automate\r\n![d2s_objecthierarchy](https://user-images.githubusercontent.com/35725322/36084991-334a7fd0-0fe8-11e8-90fb-41587705f2bb.PNG)\r\n\r\n\r\n\r\n### Reproducible Demo\r\n\r\n\r\n  Not required by seeing the screenshot ,we can visually identify the object structure and the naming convention\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/368194746","html_url":"https://github.com/facebook/react-native/issues/17976#issuecomment-368194746","issue_url":"https://api.github.com/repos/facebook/react-native/issues/17976","id":368194746,"user":{"login":"react-native-bot","id":32686087,"avatar_url":"https://avatars0.githubusercontent.com/u/32686087?v=4","gravatar_id":"","url":"https://api.github.com/users/react-native-bot","html_url":"https://github.com/react-native-bot","followers_url":"https://api.github.com/users/react-native-bot/followers","following_url":"https://api.github.com/users/react-native-bot/following{/other_user}","gists_url":"https://api.github.com/users/react-native-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/react-native-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-native-bot/subscriptions","organizations_url":"https://api.github.com/users/react-native-bot/orgs","repos_url":"https://api.github.com/users/react-native-bot/repos","events_url":"https://api.github.com/users/react-native-bot/events{/privacy}","received_events_url":"https://api.github.com/users/react-native-bot/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T03:19:25Z","updated_at":"2018-02-24T03:19:25Z","author_association":"COLLABORATOR","body":"Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version? \n\nI am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.\n\n<sub>[How to Contribute](https://facebook.github.io/react-native/docs/contributing.html#bugs) • [What to Expect from Maintainers](https://facebook.github.io/react-native/docs/maintainers.html#handling-issues)</sub>\n\n"}}
{"actor":{"display_login":"react-native-bot"}}