Skip to main content

ApplicationClearData

Description​

Use this command to clear the entire application data and cache from the device it is installed on during runtime.

Parameters​

NameTypeDescription
BundleId (iOS) / Application Activity (Android)stringApplication whose data you want to clear

Example​

info

Replace <server> with the appropriate URL.

Usage of ApplicationClearData Command

driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);


...
...


seetest.applicationClearData("com.experitest.ExperiBank/.LoginActivity");