hi team,
Is there anyway or predefined keywords to manage Android’s permission for each test cases? As well as cleaning data before any test case
hi team,
Is there anyway or predefined keywords to manage Android’s permission for each test cases? As well as cleaning data before any test case
I figured out my self by creating a new custom keyword, hope it will be useful for other people
/**
* Enable all permission
*
* @param isEnable
*/
@Keyword
public static void EnablePermission(boolean isEnable) {
DesiredCapabilities.android().setCapability("autoGrantPermissions", isEnable);
}