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

Androidtest Manifest Permission Not Detected

I have androidTest Manifest that has this permission: However, when I run the test, this permissi… Read more Androidtest Manifest Permission Not Detected

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

Access External Files (outside Of Avd Device) Using Android Junit

I am using Robotium to automate Android application. Created a android test project for the same. I… Read more Access External Files (outside Of Avd Device) Using Android Junit

Robolectric 3 Googleplayservicesnotavailableexception

I've just started to use Robolectric and wanted to know how to resolve Google Play Services. I&… Read more Robolectric 3 Googleplayservicesnotavailableexception

Simpletestcursor Robolectric 3.0-- Compilation Issue

I am trying to test the cursor in my app. But for the following import I get the error message-- ca… Read more Simpletestcursor Robolectric 3.0-- Compilation Issue

Android Sqlite Database Unit Testing

I'm new to android app development and I just made a note app. I want to do unit tests for the … Read more Android Sqlite Database Unit Testing

How To Run Uiautomator Tests In To Multiple Devices?

I am trying to Uiautomator android Ui tests in a .bat file. but i could not able them run parallell… Read more How To Run Uiautomator Tests In To Multiple Devices?

Instrumentation Test For Android - How To Receive New Activity After Orientation Change?

I'm trying to test, if newly created Activity (after orientation change) is properly reinitiali… Read more Instrumentation Test For Android - How To Receive New Activity After Orientation Change?

How To Force Android Application To Use Either 32bit Or 64 Bit Libraries

On a Android device with 64bit ARM, would have two variants of many libraries, 32bit and 64 bit, an… Read more How To Force Android Application To Use Either 32bit Or 64 Bit Libraries

Sdk Path Not Specified

Steps I did Downloaded Runner JAR and Client JAR from Square Copied spoon-client-1.1.2.jar to the … Read more Sdk Path Not Specified

Android Integration Test Application Permissions

I'm looking a way to get current device's serial number in my integration tests. Now, when … Read more Android Integration Test Application Permissions

Android: Inject Fake Camera Preview For Testing Purpose

I am writing some black-box, acceptance tests that run on a physical android device. The applicatio… Read more Android: Inject Fake Camera Preview For Testing Purpose

Androidjunit4 And Parameterized Tests

Google provide new classes to write tests for Android, and especially using jUnit 4: https://develo… Read more Androidjunit4 And Parameterized Tests

Create Separate Test Module/project In Android Studio

I'm using Android Studio version 0.8.14. Currently, after creating a new Android project, by de… Read more Create Separate Test Module/project In Android Studio

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

Actionbaractivity & Activityunittest - Namenotfoundexception

Ok...it is more likely to be my fault ;) When I do: public class XmlLifecycleTests extends Activity… Read more Actionbaractivity & Activityunittest - Namenotfoundexception

Android Tests Exception In Constructor Noclassdeffounderror

After solving my issues with project structure and android tests it appears that another issue is c… Read more Android Tests Exception In Constructor Noclassdeffounderror

Test Run Failed: Instrumentation Run Failed Due To 'java.lang.classnotfoundexception'

This is my first time setting up an Android test project to test a Android project. I've creat… Read more Test Run Failed: Instrumentation Run Failed Due To 'java.lang.classnotfoundexception'

How Can I Swap Test Doubles At The Scope Of An Activity Or A Fragment Using Dagger 2?

EDIT: Watch out! I have deleted the old repository reffered to in this question. See my own answer … Read more How Can I Swap Test Doubles At The Scope Of An Activity Or A Fragment Using Dagger 2?

How To Test Saving And Restoring State Of An Android Activity With Espresso?

Is there a way of testing the save and restore state code of an activity programmatically ? I mean … Read more How To Test Saving And Restoring State Of An Android Activity With Espresso?