Reset sandbox/remove app on iOS device between tests.

So following tips on this https://forums.xamarin.com/discussion/28284/xamarin-uitest-reset-app-state-before-running-tests#latest thread I have been trying to clear data from app installed on iOS device not having much luck.

Ideally would like to uninstall app, but mtouch doesn't seem to have a mtouch --removedev to compliment the mtouch --installdev

Have tried ConfigureApp.iOS.StartApp (Xamarin.UITest.Configuration.AppDataMode.Clear) too but that doesn't seem to work on device at all it just launches the app.

Any ideas ?

thanks

Posts

Sign In or Register to comment.