TestProject Forum
Powered by leading experts in the test automation community

Allow to restart app without resetting the app data[Android]

Could I use the action “Reset App” without resetting the app data? I have to login every time when creating a new test case.
If I can’t, what should I use the action?

Hello, there are a couple ways to achieve this.
You could create a job and keep the option to reset the app after each test off, so that the data will not be reset after each test and only the first test will have it’s app’s data reset and require a login.

You could also remove the Reset App action completely, as to not have your app reset during the beginning of your test.

If you want to relaunch your app separately, you could also use an ADB shell command to launch it during any point of your test.