Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Espresso

Espresso - Asserting A Textview With Async Loaded Data

I'm writing a UI test with Google Espresso for Android and I'm stuck on how to assert a Tex… Read more Espresso - Asserting A Textview With Async Loaded Data

What Is The Purpose Of @smalltest, @mediumtest, And @largetest Annotations In Android?

I'm new to Android and I've seen example code using these annotations. For example: @SmallT… Read more What Is The Purpose Of @smalltest, @mediumtest, And @largetest Annotations In Android?

How To Count Recyclerview Items With Espresso

Using Espresso and Hamcrest, How can I count items number available in a recyclerView? Exemple: I w… Read more How To Count Recyclerview Items With 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 Sha… Read more Reset App State Between Instrumentationtestcase Runs

Could Not Find Support-annotations.jar

I'm trying to follow the instructions on android testing step 7 https://codelabs.developers.goo… Read more Could Not Find Support-annotations.jar

Espresso Test Blocked With Background Thread. Application Not Idle Exception: "appnotidleexception."

My android espresso unit test blocked due to some background thread not idle. How can i figure out … Read more Espresso Test Blocked With Background Thread. Application Not Idle Exception: "appnotidleexception."

"java.lang.runtimeexception: Could Not Launch Intent" For Ui With Indeterminate Progressbar

Are there any known issues with displaying indeterminate ProgressBars with the AndroidJUnitRunner? … Read more "java.lang.runtimeexception: Could Not Launch Intent" For Ui With Indeterminate Progressbar

What Is Android Test Orchestrator?

Google released Android Testing Support Library 1.0 recently. After reading the overview, I'm a… Read more What Is Android Test Orchestrator?

Android Androidtestcompile Espresso-core Causing Filenotfoundexception R.txt

I'm trying to add androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.… Read more Android Androidtestcompile Espresso-core Causing Filenotfoundexception R.txt

Dropdown Value Selection Using Espresso Android With Dynamic Element Id's

PopupWindow$PopupViewContainer(@xxxxxxxx) --ListPopupWindow$DropDownListView(@yyyyyyyy) --Relativ… Read more Dropdown Value Selection Using Espresso Android With Dynamic Element Id's

Espresso Not Starting Activity The Same For Second Iteration In Parameterised Test

Is there something different about how Espresso runs tests after the first one when using parameter… Read more Espresso Not Starting Activity The Same For Second Iteration In Parameterised Test

How To Validate Whether Opened Correct Activity - Espresso

I created android UI test with espresso and done Button click and opening an Activity. Now I want t… Read more How To Validate Whether Opened Correct Activity - Espresso

Error Inflating Class Fragment When Testing Fragment Using Databinding

Can someone help me on this? In my test I want to check if the login button is displayed on the Sta… Read more Error Inflating Class Fragment When Testing Fragment Using Databinding

Getactivity() Call Causes Runtimeexception: Could Not Launch Intent Intent Act=android.intent.action.main

Updated #1: more info added to the end of this post I'm new to Android development and testing.… Read more Getactivity() Call Causes Runtimeexception: Could Not Launch Intent Intent Act=android.intent.action.main

Resources Error When I Add Espresso-contrib

When I include espresso-contrib library to my gradle androidx.test.espresso:espresso-contrib:3.1.1… Read more Resources Error When I Add Espresso-contrib

Espresso Test Aren't Running After Adding Espresso-contrib Library In Gradle

When I'm adding the androidTestCompile 'com.android.support.test.espresso:espresso-contrib… Read more Espresso Test Aren't Running After Adding Espresso-contrib Library In Gradle

Record Espresso Test For Two Instantapp Modules

PROBLEM: An instantapp activity from one module (base) calls activity from another module (my_featu… Read more Record Espresso Test For Two Instantapp Modules

How To Test Android Ui Using Idlingresource When Using Retrofit Network Requests

I am writing integration tests that perform actions in the UI which start network calls using Retro… Read more How To Test Android Ui Using Idlingresource When Using Retrofit Network Requests

Run Espresso In Activityinstrumentationtestcase2

I have written some test cases but when I try to include espresso in it, it shows java.lang.Illegal… Read more Run Espresso In Activityinstrumentationtestcase2

Android Mocking A Dagger2 Injected Dependency For A Espresso Test

I have a heavily dependency injected (dagger2) application. I would like to run an espresso test wi… Read more Android Mocking A Dagger2 Injected Dependency For A Espresso Test