Reputation: 4327
I'm exploring the UiAutomator capabilities on Android and I am trying to test it out along with the Google hangouts app. I've managed to go to the create new hangout page and enter a name, but I can't click on any of the drop down contacts as shown in the image below. I've tried searching by the package name com.google.android.talk
and then using the instance()
function, but I wasn't able to select the contacts. Is there anyway I could figure what the class name of that UI element would be? Or how else could I go about clicking that ui element?
Upvotes: 2
Views: 980
Reputation: 1691
You could try this tool:
/home/gabriel/android/android-sdk/tools/uiautomatorviewer
Use it to navigate through the application's views and layouts.
Upvotes: 1