Clear app data - operation¶
- HbbTV / Freeview Play
- LG webOS / Netcast
- Philips NetTV
- PlayStation 4/5
- Samsung Tizen / Orsay
- Xbox (One, Series X/S)
- Other Smart TVs and STBs - HTML apps
This operation 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, Series X/S) Native||Application data (local, roaming and temporary data stores)|
|Xbox (One, Series X/S) HTML||Application data (local, roaming and temporary data stores), cookies and local storage|
Automatic local data clearing¶
Application's local data can be cleared in several cases:
- For packaged applications, local data is cleared every time the application is re-installed on the device.
- For hosted HTML-based (i.e. URL-based) application that use Suitestify, local data is updated whenever 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. Whenever Suitestify session is started, a new domain is generated for the application, thus all domain-dependent data (cookies, local storage etc.) would be cleared.