Thursday, November 15, 2012

Android: UI Automator Viewer (uiautomatorviewer) - issue in landscape screen

If you are ttrying to use UI Testing tools introduced in Android SDK Tools, Revision 21  you will see a port-tailed image in uiautomatorviewer capture for landscape activities.
Hover over selection and uix file will perform properly, but only issue will be the image will not be aligned properly.
I found a possible workaround, just close the file (note down the location) and got the folder, you will see a image, please rotate accordingly.
Then come back and reopen the uix, it will ask for the screen slot, just show the rotated screen.