Appium android inspector doesnt load the hierarchy

560 views
Skip to first unread message

Vikas Ravindran

unread,
Jan 23, 2014, 2:02:54 PM1/23/14
to appium-...@googlegroups.com
Hey ,

Im using Appium on 4.2 Android . The appium inspector post launching shows the screenshot but not the Element hierarchy . 

The logs indicate :

debug: transferPageSource command: "/Users/vikasn/android-sdk-macosx/platform-tools/adb" -s C4F12FA0D3C6E5E pull /data/local/tmp/dump.xml "/var/folders/xz/p1db8vpd6c9dclxpy56ynk300000gp/T/114024-37578-1vjcift.xml"

warn: remote object '/data/local/tmp/dump.xml' does not exist


When I run the adb shell command : ./adb shell uiautomator dump /data/local/tmp/view.xml, [UI hierarchy is dumped to: /data/local/tmp/view.xml]

it dumps the XML tough . 

Is anyone else facing this ? - Any suggestions ?



bootstrap online

unread,
Jan 23, 2014, 2:11:30 PM1/23/14
to Vikas Ravindran, appium-...@googlegroups.com
Does uiautomatorviewer work?
> --
> http://appium.io
> ---
> You received this message because you are subscribed to the Google Groups
> "Appium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to appium-discus...@googlegroups.com.
> Visit this group at http://groups.google.com/group/appium-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.

Vikas Ravindran

unread,
Jan 23, 2014, 2:14:00 PM1/23/14
to appium-...@googlegroups.com

Attaching a Screen for reference.

Vikas Ravindran

unread,
Jan 23, 2014, 2:18:34 PM1/23/14
to appium-...@googlegroups.com, Vikas Ravindran
Yes uiautomatorviewer just works fine .

Vikas Ravindran

unread,
Jan 23, 2014, 2:23:13 PM1/23/14
to appium-...@googlegroups.com, Vikas Ravindran
Is there a way to force Appium inspector to use the hierarchy.xml file pulled out manually via ADB ?
using this command ?
  ./adb shell uiautomator dump /data/local/tmp/view.xml

peepa

unread,
Jan 27, 2014, 4:29:43 PM1/27/14
to appium-...@googlegroups.com, Vikas Ravindran
I think this is related to https://github.com/appium/appium/issues/675 

Vikas Ravindran

unread,
Jan 28, 2014, 5:49:38 AM1/28/14
to bootstrap online, appium-...@googlegroups.com
Yes UiAutomator viewer works fine . 

Sumeet

unread,
Apr 2, 2014, 5:14:50 AM4/2/14
to appium-...@googlegroups.com, bootstrap online
Hi,

I am also facing same issue.

Could you please tell me fixed for this issue.


Thanks,
Sumeet.

Pardha Perali

unread,
Apr 7, 2014, 5:41:41 PM4/7/14
to appium-...@googlegroups.com, bootstrap online
Hi,

I am also seeing the same issue.

Any suggestions or alternatives for this?

Thanks

Kamesh Raj Velu

unread,
Apr 7, 2014, 9:13:42 PM4/7/14
to Pardha Perali, appium-...@googlegroups.com, bootstrap online
Hope you tried this already? I was sitting on this for almost a month to figure it out

If you app is using CompressXML did you try to enable this capabilities in appium before you launch the inspector?
(you have do this from CLI and then use remote server option)


For more options, visit https://groups.google.com/d/optout.



--
 --------------------------------------------
 __0/  "A ten thousand miles journey begins
   /_    with a single step. That single step
`\/  \,  has to be taken from where you are"

http://www.kameshraj.com
Reply all
Reply to author
Forward
0 new messages