Get all UI locators from Android/iOS screen for Mobile Automation Testing
<p>Problem Definition: I am trying to develop a Utility which can mirror an Android/iOS device screen in my windows and on a button click it provides all the locators available on the screen in one xls file.</p>

<p>I am trying to find a direction to work on this. Till now i am able find that using ddmlib library for Android we can interact with DDMS. I do not know how to interact with this ddmlib library. Plus is it possible to mirror Android Screen using the ddmlib library? still a question to me.</p>

<p>On iOS front no luck.</p>

<p>Looking for a direction. Thanks!</p>