Test Setup

Quick guide on getting your test setup ready to test the common verification scenarios as described in previous sections

Pre-Requisites

  • We suggest you to keep handy at-least 2 android smartphones with active SIM connections. Ensure that both the smartphones have your test app installed (Integrated with Truecaller SDK)

  • 2 different smartphones are required so that in case you get verified on one of the smartphones, you can use the second smartphone to check for the fresh verification scenarios.

Steps to follow for testing user scenarios :

User State

App Scenario

Steps

Existing Truecaller user

  • Install Truecaller on smartphone 'A'

  • Complete profile creation step on Truecaller app

  • Launch your application and initiate the Truecaller verification flow

  • Truecaller profile consent screen should appear

  • Tapping on Continue button should verify the user

Non Truecaller User

User getting verified for the first time on smartphone

  • Take smartphone 'A'

  • Uninstall Truecaller app from the smartphone

  • Launch your application and initiate the verification flow

  • User is asked for phone number in your application

  • On entering the phone number, call logs & phone permissions are asked ( if not already granted )

  • Allow the permissions to enable receiving a drop call

  • User is manually asked to enter name ( if it's a new user on your app )

  • On entering the name, SDK verifies the user

Non Truecaller User

User already verified on the smartphone and tried to re-verify

( Please ensure that you try this step only after you have performed the above step )

  • Take smartphone 'A'

  • Launch your application and logout from the app

  • Initiate the verification flow

  • User is asked for phone number in your application

  • On entering the phone number, call logs and phone permissions are asked ( if not already granted )

  • User should get verified directly without any drop call being initiated and received on the smartphone

Non Truecaller User

User already verified on the smartphone, uninstalls and re-installs the application on the device

( Please ensure that you try this step only after you have performed the 2nd step )

  • Take smartphone 'A'

  • Uninstall your application from the smartphone

  • Launch your application and initiate the verification flow

  • User is asked for phone number in your application

  • On entering the phone number, call logs and phone permissions are asked ( if not already granted )

  • User should get verified directly without any drop call being initiated and received on the smartphone

Wi-Fi or mobile internet should also be enabled on both the smartphones

Last updated