resetApp and removeApp (java client 1.6)

I test applications which have a logged in and a logged out session (both iOS and Android). It would be really great fully reset the app whenever I want (this would include plist files as well as the keychain).

As far as I could test on physical iOS devices, resetApp “only” delete the plist files (https://github.com/appium/appium/issues/191) and not the keychain (which would be needed to logout the user in my case).

I also tried “removeApp” on physical device but this lead to “Could not remove com.mysugr.enterprise.alpha2.mySugr from device” error on appium server. I started appium server with the full reset flag.

Thanks

Update: i just noticed that removeApp worked on the physical iOS device (not sure why it did not work in first place, maybe the app needs to be closed before?).

1 Like