I am actually trying to list all the available controls in a particular screen in an app so I want to know from where exactly does target.logElementTree() retrieve the information ?? or how to retrieve the all the controls available on a particular screen from the view controller ??
I am using Xcode 6.3.2 , UIAutomation in Instruments.
Thank you for taking time to go through till the end .