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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -