You could try using the Toggle NAF Nodes option ( http://developer.android.com/tools/testing/testing_ui.html#uianalysis) The uiautomatorviewer may show you some information for these nodes too - but remember that if you are going to use uiautomator later, these nodes may not be available to your tests.
Make sure your views are accessible. uiautomator relies on the accessibility framework to do its job. More info here - http://developer.android.com/tools/testing/testing_ui.html#accessibility On Wednesday, 26 March 2014 14:52:47 UTC+5:30, vedantham udish wrote: > > I have started using UiAutomator for automating our functional tests. I > came across this issue that - some objects/views inside our application are > not being identified by the UiAutomatorViewer. But manually, we can view > and tap on them. The views are being identifed in the hierarchyviewer, but > not on UiAutomatorViewer. FYI - these views will popup - due to user > actions such as tapping on some other objects in the current page. > > Are there any specific conditions to be satisfied for any view/object that > is visible to the user to be identified by the UiAutomatorViewer? > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
