Top "Android-espresso" questions

Espresso is a library which is used to write Android UI tests.

Android Espresso - assert text on screen against string in resources

I have the following text in strings.xml resources file: <string name="txt_to_assert">My Text</…

android android-espresso
Android tests build error: Multiple dex files define Landroid/support/test/BuildConfig

I'm trying to add Espresso 2 to my project (which also has lots of other dependencies), but I'm hitting this error …

java android android-gradle-plugin build.gradle android-espresso
Click on not fully visible imageButton with Espresso

I have a custom ImageButton that is not fully visible, by design, so when I perform a click action I …

android testing android-espresso ui-testing
Google Espresso java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN

I am new to Espresso UI testing. I am getting this error while running tests (ADT Eclipse IDE ). The app …

android eclipse runtimeexception android-espresso
Reset app state between InstrumentationTestCase runs

One of my QA engineers is supporting an app with a fairly large codebase and a lot of different SharedPreferences …

android-testing android-espresso android-instrumentation
Espresso startActivity that depends on Intent

I have the following situation. My activity has a fragment that depends of a Serializable Object. Here is my onCreate: @…

android testing android-intent android-espresso
Espresso: How to do custom swipe e.g. swipeTop or swipeBottom

So far we can do: swipeLeft swipeRight swipeUp swipeDown How can we swipeTop(all the way to the Top) or …

android android-espresso ui-testing
Android Espresso: PerformException

I`m getting android.support.test.espresso.PerformException: Error performing 'send keyCode: 4, metaState: 0 key event' on view 'Animations or transitions …

java android android-espresso
Espresso select children of included layout

I have been using Espresso to carry out automated UI testing with an Android app. (I have been trying to …

android android-espresso
Espresso how to test if Activity is finished?

I want to assert that my Acitivty that I am currently testing is finished when certain actions are performed. Unfortunately …

android testing android-activity android-espresso android-testing