Refreshing the application data before each test case without restarting

iā€™ am working on automation of an android mobile application .In my test suite that start the application once and perform all the tests. I want to clear the application cache before running some tests without restarting the application. Is there any command/function, that can achieve the purpose? Thanks.

1 Like


Welcome to our community. I have not seen any cleaning cache mid-testing yet. How about others?

what about just clearing the text field !! i just want to refresh the application before executing the next test case do you get me ?! and thank for your time i really appreciate it

Maybe the following link might assist you:

If you just want to clear the text field, then maybe the below. Go for it.