Had tried with above command to execute adb command to clear app before application launch.
final String[] cmd = { “/bin/bash”, “-c”, “adb shell pm clear com.xyzbank.android.dev” };
final Process process = Runtime.getRuntime().exec(cmd);
This command is not working.Kindly suggest me a command.
Device used:
IPhone 11.1
Appium server 1.7.2
Jdk v1.8
xcode 9.2
created
Jun '18
last reply
Jun '18
- 5
replies
- 400
views
- 4
users