Issue in automating Android Pay

Hi,

I’m trying to automate Android Pay. I was not able to instrument some activities (Enter credit card information). Even the current activity is not listed when executed the following command from adb shell (adb shell dumpsys activity recents). Please find the adb console logs below.

  • Recent #0: TaskRecord{cb0cd54 #30 A=com.google.android.apps.walletnfcrel U=0 sz=4}
    userId=0 effectiveUid=u0a94 mCallingUid=u0a75 mCallingPackage=com.sec.android.app.launcher
    affinity=com.google.android.apps.walletnfcrel
    intent={act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.apps.walletnfcrel/com.google.commerce.tapandpay.android.cardlist.CardListActivity}
    realActivity=com.google.android.apps.walletnfcrel/com.google.commerce.tapandpay.android.cardlist.CardListActivity
    autoRemoveRecents=false isPersistable=true numFullscreen=2 taskType=0 mTaskToReturnTo=1
    rootWasReset=true mNeverRelinquishIdentity=true mReuseTask=false mLockTaskAuth=LOCK_TASK_AUTH_PINNABLE
    Activities=[ActivityRecord{d6eb0a6 u0 com.google.android.apps.walletnfcrel/com.google.commerce.tapandpay.android.cardlist.CardListActivity t30}, ActivityRecord{5f4ef36 u0 com.google.android.gms/.tapandpay.tokenization.TokenizePanActivity t30}, ActivityRecord{b3498 u0 com.google.android.gms/.tapandpay.tokenization.AddNewCardForTokenizationActivity t30}, ActivityRecord{e33c6e5 u0 com.google.android.gms/.wallet.im.ImRootActivity t30}]
    askedCompatMode=false inRecents=true isAvailable=true
    lastThumbnail=null lastThumbnailFile=/data/system/recent_images/30_task_thumbnail.png
    stackId=1
    hasBeenVisible=true mResizeable=false firstActiveTime=1479752192486 lastActiveTime=1479752764556 lastActiveElapsedTime=4131219 (inactive for 8s)
    multiWindowStyle=MultiWindowStyle{type=0, zone=ZONE_UNKNOWN, option=0x00000000, bounds=null, isNull=false, isolatedCenterPoint=Point(0, 0), scale=0.0, specificTaskId=-1}
    bHidden=false
    isSecretMode=false

Please let me know if there is a way to automate the application.

1 Like