Clear app data - operation¶
Clear app data attempts to delete local data of the app during the test run so that application is reset to its initial state before the next test step executes.
To perform this operation in the Suitest Test editor use the Clear app data line:
The application may store some data locally to remember a particular user preference or setting. Sometimes it is practical to empty the stores in order to test a particular piece of functionality.
For example if a user checks "Don't show this dialog again" on a certain popup the application may choose to store users choice in a local data store. Resetting the store will cause the popup to appear again.
What data is deleted¶
|HbbTV / Freeview Play||Cookies and local storage|
|HTML-based||Cookies and local storage|
|Xbox One (Native)||Local, roaming and temporary app data stores|
Automatic local data clearing¶
Xbox One, LG webOS, Android TV: Local data is cleared every time when the app is reinstalled on the device.
HTML based platforms: If you use Suitestify in your app, the local data is cleared automatically every time the new Suitestify session is started. In automated mode this means on the start of every test. In interactive mode this means every time you connect to a device.