Hi,
I want clear app data and cache before testing
I am using Appium v1.4.13, java and Android 5.1…
How can this be done?
Thanks
if you do a full reset then your app will have no data.
@sunny_sachdeva can you be more specific… and give the java code for that…
@VineethPulikote
you can start your appium server with flag --full-reset or after creating driver you can execute method driver.resetApp().
not sure but if i remember by default full reset is true.one need to check this
@sunny_sachdeva
But i would rather suggest go with second solution i mentioned.