These are the activities that need to be performed in order to dump the XML screen of a Device.
- Open Eclipse.
- Go to
Window -> Show View -> Other... - Click on the
Androidfolder selectDevicesand clickOK. - A list with devices and emulator connected to the Machine is shown.
- Locate the device from which you want to dump the XML.
- Click on the button with an emulator screen icon that says
Dump View Hierarchy for UIAutomator.
- Wait for UIAutomator to dump the XML.