weikipeng / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

WaitForDialogToOpen & WaitForDialogToClose with android.support.v4 #624

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call show method of DialogFragment. DialogFragment has to be 
android.support.v4
2. Call WaitForDialogToOpen or WaitForDialogToClose of Solo
3. Both methods always return false.

I don't know Robotium supports v4 or not.
But I think this problem occurs because I use android.support.v4.

I resolved this problem by myself like below.

((FragmentActivity) 
activity).getSupportFragmentManager().findFragmentByTag(tagDialog) != null

I like Robotium so I just want to help little bit. 

Original issue reported on code.google.com by TVDiaryR...@gmail.com on 18 Jul 2014 at 3:43

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. 

Original comment by renasr...@gmail.com on 20 Jul 2014 at 5:40

GoogleCodeExporter commented 9 years ago
Were have you made this change?

Original comment by renasr...@gmail.com on 10 Nov 2014 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 29 Nov 2014 at 8:41