I am working on getting the layout view of an activity and then parsing to get the bound of the required item.
I am using uiautomator view to get the layout view using "adb exec-out uiautomator dump /dev/tty"
but I want it to get into a file so that I can use it for parsing using Linq to XML
var xml = XDocument.Load(output);
I have gone through answer at Is there a way to get current activity's layout and views via adb? but not getting much help.Please suggest some pointer over it.