Created
July 17, 2016 11:49
-
-
Save Egorand/2b64e4f61d3982328be6a805da969c04 to your computer and use it in GitHub Desktop.
android-testing-runtime-permissions-deny-current-permission
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void denyCurrentPermission(UiDevice device) throws UiObjectNotFoundException { | |
UiObject denyButton = device.findObject(new UiSelector().text(TEXT_DENY)); | |
denyButton.click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment