Skip to content

Instantly share code, notes, and snippets.

@px-amaac
Created February 2, 2016 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save px-amaac/f384abc042ee4865be64 to your computer and use it in GitHub Desktop.
Save px-amaac/f384abc042ee4865be64 to your computer and use it in GitHub Desktop.
Output from failed instrumentation test.
+---------->RelativeLayout{id=2131624061, res-name=mainLayout, visibility=VISIBLE, width=1080, height=1401, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}
|
+------>RelativeLayout{id=2131624116, res-name=main_menu_fragmentAnimate, visibility=GONE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+------->ScrollView{id=-1, visibility=VISIBLE, width=675, height=1536, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+-------->LinearLayout{id=2131624113, res-name=inner_placeHolder, visibility=VISIBLE, width=675, height=676, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+--------->GridLayoutWithAdapter{id=2131624114, res-name=main_list_view, visibility=VISIBLE, width=675, height=676, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=8} ****MATCHES****
+------>RelativeLayout{id=2131624117, res-name=main_menu_fragment, visibility=VISIBLE, width=675, height=1536, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+------->ScrollView{id=-1, visibility=VISIBLE, width=675, height=1536, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+-------->LinearLayout{id=2131624113, res-name=inner_placeHolder, visibility=VISIBLE, width=675, height=676, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=1}
|
+--------->GridLayoutWithAdapter{id=2131624114, res-name=main_list_view, visibility=VISIBLE, width=675, height=676, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=8} ****MATCHES****
onData(allOf(withText("Text"), withId(R.id.title))).inAdapterView(allOf(withId(R.id.main_list_view), withParent(withId(R.id.main_menu_fragmentAnimate)), isClickable())).perform(click());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment