Top "Android-uiautomator" questions

The uiautomator testing framework lets you test your user interface (UI) efficiently by creating automated functional UI testcases that can be run against your app on one or more devices.

Cannot resolve symbol 'AndroidJUnit4'

Obviously I need the correct import statment to solve this problem. According to the docs for AndroidJUnit4, this should be …

android gradle build.gradle android-uiautomator testing-support-library
ant build : unable to locate tools.jar. Expected find it in C:\Program Files\Java\jre7\lib\tools.jar

I know that this question is popular, but no one of solutions can help me. I used this, this, this …

android ant ui-automation build.xml android-uiautomator
Error in using UIAutomatorviewer for testing Android app in Appium

I have to automate an Android application, I am doing the same through Appium. The problem I am facing is …

appium android-uiautomator
Unable to start uiautomatorviewer

I have : Android SDK Tools, Revision 22 Android SDK Platform, API 18 I go to <android-sdk>/tools/ , I see there …

android performance android-layout android-intent android-uiautomator
Is there a way to get current activity's layout and views via adb?

For environment reasons I can only use adb commands. Is there a way to get the current layout attributes like …

android adb android-view android-uiautomator
Need to identify xpath for android element using appium

I am testing my Android application using Appium framework. I have an android screen that doesn't have ids for its …

android xpath appium android-uiautomator
Android Testing: UIAutomator vs Espresso

I was seeking for test frameworks for Android UI automation and I stumbled upon UI Automator and Espresso and this …

android android-espresso android-uiautomator
How to use espresso to press a AlertDialog button

I want to press below button using Espresso, but I'm not sure how. Should I get the resource-id? Or how …

android android-studio android-uiautomator android-espresso
Ui Automator 2.0 project in Android Studio

I want to set up a project in Android Studio. However, I don't want an Android App, just the test …

android android-studio android-uiautomator android-instrumentation