# 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 |                                                                                                                                                                                                                      | <ul><li>Install Truecaller on smartphone 'A'</li><li>Complete profile creation step on Truecaller app</li><li>Launch your application and initiate the Truecaller verification flow</li><li>Truecaller profile consent screen should appear</li><li>Tapping on Continue button should verify the user</li></ul>                                                                                                                                                                                                                     |
| Non Truecaller User      | User *getting verified for the first time* on smartphone                                                                                                                                                             | <ul><li>Take smartphone 'A'</li><li>Uninstall Truecaller app from the smartphone</li><li>Launch your application and initiate the verification flow</li><li>User is asked for phone number in your application</li><li>On entering the phone number, call logs & phone permissions are asked ( if not already granted )</li><li>Allow the permissions to enable receiving a drop call</li><li>User is manually asked to enter name ( if it's a new user on your app )</li><li>On entering the name, SDK verifies the user</li></ul> |
| Non Truecaller User      | <p>User <em>already verified</em> on the smartphone and tried to re-verify</p><p><em>( Please ensure that you try this step only after you have performed the above step )</em></p>                                  | <ul><li>Take smartphone 'A'</li><li>Launch your application and logout from the app</li><li>Initiate the verification flow</li><li>User is asked for phone number in your application</li><li>On entering the phone number, call logs and phone permissions are asked ( if not already granted )</li><li>User should get verified directly without any drop call being initiated and received on the smartphone</li></ul>                                                                                                           |
| Non Truecaller User      | <p>User <em>already verified</em> on the smartphone, uninstalls and re-installs the application on the device</p><p><em>( Please ensure that you try this step only after you have performed the 2nd step )</em></p> | <ul><li>Take smartphone 'A'</li><li>Uninstall your application from the smartphone</li><li>Launch your application and initiate the verification flow</li><li>User is asked for phone number in your application</li><li>On entering the phone number, call logs and phone permissions are asked ( if not already granted )</li><li>User should get verified directly without any drop call being initiated and received on the smartphone</li></ul>                                                                                |

{% hint style="info" %}
*Wi-Fi or mobile internet should also be enabled on both the smartphones*
{% endhint %}
