lundi 4 février 2019

How to correctly set up UiAutomatorViewer to inspect elements for testing Android apps with Appium?

When running uiautomatorviewer, I am getting the following NullPointerException error:

enter image description here

I have installed and set up Appium following the setup process and set up environment variables for ANDROID_HOME and the Android SDK. The uiautomatorviewer command is using a Path user variable that points to the directory Sdk/tools/bin, where the uiautomatorviewer.bat file is located. From everything I've read online, running this executable should open up the UiAutomatorViewer application so I can inspect elements on my Android app. I'm looking for any ideas on why this isn't working.

Any more tips on tools to inspect elements in Android apps are welcome.

Let me know if any more information is needed. Thank you!

Aucun commentaire:

Enregistrer un commentaire