sangmingming / robotium

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

No way to determine if a certain dialog is shown #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, if I want to find out whether or not a certain Dialog which may not 
yet have
been instantiated is being shown or not is to either search for text, buttons 
or other
views that are contained within the dialog.

It would be very helpful to have some kind of method like getCurrentDialogs to 
get
an ArrayList of dialogs.

Original issue reported on code.google.com by max.fell...@gmail.com on 2 Aug 2011 at 3:58

GoogleCodeExporter commented 9 years ago
There is unfortunately no way to know if the view container is a dialog or not. 
All that is given back to Robotium from the platform is the views them selves. 

Original comment by renasr...@gmail.com on 3 Aug 2011 at 6:13