Testing a Facebook Login Flow for Mobile Application

Posted By : Anchal Goel | 29-Oct-2015

Testing a Facebook Login Flow for Mobile Application
Testing a Facebook Login Flow for Mobile  Application

It’s necessary to verify and test that your Facebook Login flow work good under different condition. Firstly, create separate Facebook user account to test your Login flow:

  • Create test user account with facebook

  • Log into Facebook with Test user credentials

 

Common Test cases

Make sure you remove your application from test user’s Facebook account using app settings, before you test each use case

 

 

  1. Someone new to application Login with Facebook

  • Go to application and tap on Login with Facebook button

  • Click OK to accept read permissions and OK again to accept write permissions if applicable

  • Go to app settings and confirm that accepted permissions are there

 

2. Someone who has logged into app with facebook in past logs back in

  • Back to app and click on Login with Facebook button

  • Click OK to accept read permissions and OK again to accept write permissions if applicable

  • Uninstall then reinstall app

  • Open app and click on Login with Facebook button

  • Verify that you Login without any dialogues

 

3. Someone Logs in with Facebook after already Login via a non-Facebook flow with common email address

  • Login using your email address

  • Logout of app and click on Log in with Facebook button

  • Click OK to accept read permissions and OK again to accept write permissions if applicable

  • Go to app settings on Facebook and verify that accepted permissions are there

 

4. Some removes app from Facebook via app settings and revisits app. App must find out this and expedite person to Login back

  • Go to app and click on Login with Facebook button

  • Click OK to accept read permissions and OK again to accept write permissions if applicable

  • Go to app settings on Facebook and remove app

  • Repeat steps 1-2 and confirm that Facebook Login work

 

5. Someone cancels Login with Facebook and tries to Login again

  • Go to app and click on Login with Facebook button

  • Verify that read permissions are displayed and click cancel

  • Open app and click on Login with Facebook button

  • Verify that read permissions are displayed again

 

6. Someone not enabled Facebook platform via app settings and Logs in to app

You should make sure app find out mistake so that it can inform user and direct to non-iOS integrate version of Facebook Login, in this case.

  • Turn off platform from test user via app settings

  • Go to app and click on Login with Facebook button

  • Click OK to accept read permissions and OK again to accept write permissions if applicable

  • Confirm  platform is not turned off now and app is added to test user profile with right privacy

 

7. Someone changes Facebook password after logging in with Facebook to app

 

  • Change your Facebook password and select Log me out of other devices

  • Go to app and click on Login with Facebook button

  • Click OK to accept read permissions and OK again to accept write permissions if applicable

  • Go to app settings on Facebook and verify that accepted permissions are there

Related Tags

About Author

Author Image
Anchal Goel

Anchal is a bright QA engineer and when she is not finding bugs in applications , she spends her time listening to music, dancing, travelling and cheering people around her.

Request for Proposal

Name is required

Comment is required

Sending message..