I'm doing an Android Instrumentation Test Case using the class ActivitiyInstrumentationTestCase2. I've displayed an dialog using the Activity context.
Activity.java
Dialog customDialog = new Dialog(this);
Is there any way to retrieve the dialog using the activity context in the test case activity?