Google popup Espresso Android studio 2.2 -


how handle click on button com.google.android.gms:id/cancel (text "none of above") google dialog in screenshot attached espresso ui testing? [\sign in screenshot]

i'm pretty sure in case espresso may not work due framework limitation. try achieve using google's typical instrumentation tool called uiautomator. works great along espresso.

check: http://qathread.blogspot.com/2015/05/espresso-uiautomator-perfect-tandem.html

you can try use open-source ui automation tool called robotium along espresso.

check: https://github.com/codepath/android_guides/wiki/ui-testing-with-robotium

using espresso allowed operate inside app under test context, cannot check notifications, of popup dialogs or running app exisitng , cheking both.

hope


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -