Hello Community,
I am facing an issue while testing a mobile app using Web views.
This problem occurs after several iterations of tests. My test is a data driven test with more than 20 iterations with various data.
After a certain amount of iterations, Katalon / Appium can’t locate anymore my elements in Web views.
My colleagues and me identified that the problem is related to the application data / caching, as after Clearing the app storage and restarting the application, the tests work again.
NB: When we only stop and restart the application without removing the application data, the problem still occurs.
My question is the following:
Does anybody have an advice how to perform a Application data clearing from Katalon, working both with Android and with iOS after N iterations?
However, having the possibility to do it already for Android would be a great help.
Thank you in advance for your ideas and comments.