Appium - Retain application state for next tests

Hi,

I’m automating android using selenium…

The use case is following:

Register the user - Close the application - Restart the application and login with the registered credentials.

When I try to automate this via Appium, it registers successfully, but in the next steps, when I perform scenario for login, it starts a new session (with clear data).

I want to retain my registered data everytime I open an application…

How is that possible in appium?

You can achieve this by using noReset = “true” and fullReset = “false” server flags.

http://appium.io/slate/en/v1.2.0/?java#server-flags

Thanks,
Donald

Thanks @Donald, it worked. :thumbsup:

You’r welcome mashkurm !