mercredi 28 septembre 2016

How to set Allow Mock Location on Android Device before executing AndroidTest with uiautomator and espresso?

Basically every time I have to execute an AndroidTest that makes use of mock location provider I need to manually check the box on device emulator: Settings--> mock locations. How to automate this task directly from the android test? Is there any way using espresso/uiautomator/something else?

Aucun commentaire:

Enregistrer un commentaire