android - How to get the instance of the dialog (like DatePickerDialog, ProgressDialog, TimePickerDialog) after it pop up -


Precondition: I am working on Android automatic test, so we can not touch the application's source code, but just Test it out.

Q: How to get an example of a dialog after popping up? After its example, it will be very convenient for further action, such as determining its value at times rather than sending the main event of activity.

Thank you.

It seems that you are testing "black box", which is "robotium" and " Roblickik "is the domain of such utility. See them, they specially press the button, wait for the dialogue, accept the dialogue and are ready in the same way.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -