1)Connect your device to a system.
2)Launch appium GUI server
3)Provide app package , app activity of AUT(Application Under Test) for android apps. For iOS apps provide app Path
4)Also provide the desired capabilities of your test device
5)Click on appium Inspector(Search symbol on GUI). Below screen will appear.
6)Select the objects in the left pane and observe that corresponding element has been highlighted with red background.
NOTE: You can spy only one device at one time.
For steps 3 and 4, Select the corresponding platform to set the desired capabilities.(iOS or Android platform symbols on GUI)
Thanks,
Sharath N