Reputation: 15
Hello I am new to appium. I want to know that how can I use UIautomator in appium to detect an element. Please help me how to do that.
Upvotes: 0
Views: 6210
Reputation: 1592
You can use android 'uiautomatorviewer' which acts same as the Appium Inspector. "uiautomatorviewer" is a GUI tool using which you can view the UI components of any android application.
To access uiautomatorviewer:
Upvotes: 1
Reputation: 1370
If you go to android SDK>tools>UIAutomator. Make sure device is connected, tap on green button on top left side. This will take the screenshot of your current screen on the device. This way you can point mouse on the screen to detect elements.
Upvotes: 0
Reputation: 1195
Internally Appium use UIAutomator you don't need to use use it.
You can follow link "How to setup appium
Thanks Sadik
Upvotes: 0