I want to test sharing functionality of an app but I have no idea how to handle android dialog "Complete action using" (Facebook, Gmail etc.)
When I use query("*")
it is returning an empty set of fields.
Is there any way to handle such system dialogs using Calabash or any other way to test such functionality as sharing?
I am running my tests on physical device.
Edit: If there is no way to check whether the dialog has been opened or not, then maybe it is possible using adb shell or something like that?