Native Apps - Inspect elements by using UI Automator Viewer and Appium Desktop Inspector

There are many different tools that help you inspect elements in mobile apps. But the most popular and widely used tools are: 1. UIAutomatorViewer : This is a tool provided by Android Studio that lets you inspect elements in the mobile app NOTE : The UIAutomatorViewer can be used only for android native apps. 2. Appium Desktop Inspector : The latest version of Appium GUI (Appium Desktop) comes with an inspector. We can use this inspector for both Android and iOS apps (for iOS apps, you would need a Mac). How to open UIAutomatorViewer : UIAutomatorViewer comes with Android Studio installation package. So when we install Android Studio, UIAutomatorViewer would automatically get installed with it. There are 2 ways in which we can open UIAutomatorViewer. Follow any of these methods to open it. Method 1: Open UIAutomatorViewer from Command Prompt This is the easiest way of opening UIAutomatorViewer. Just follow the steps given below to open it – Step 1.1 : Open command p...