android testing - Caching issue in uiautomator -
i have android app. doing automated testing of app using uiautomator. before doing processing need login app. @ first time store data in cache , login automatically every time when launch.
i want application should logged in every time filled credential.
is there way stop caching using uiautomator api.
you can give below command before start tests, clear application data. start tests !
adb shell pm clear yourpackagename
Comments
Post a Comment