Testing – Facebook integration of the app – requires different combinations of situations and cases to be tested. Ex Login to Application using Facebook when Facebook app is installed on the device. In another case, Facebook app is not installed. Let us go through some of them ….
iOS – Login Test Scenarios
1. User wants to login for the first time
# |
Situation |
Observation / Flow |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Facebook App installed on device |
|
3 |
Settings of Facebook in iOS is available (iOS 6 and above) and user has logged in by entering credentials in Settings. |
Same as #1 |
4 |
Settings of Facebook in iOS is available (iOS 6 and above). Facebook App is also installed. User has logged in by entering credentials in Settings. |
|
1. Screenshots
2. Screenshots
4. Screenshots
2. Logged in Facebook Account (Starts the app again)
# |
Situation |
Observation / Flow |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Facebook App installed on device |
|
3 |
Settings of Facebook in iOS is available (iOS 6 and above) and user has logged in by entering credentials in Settings. |
Same as #1 |
4 |
Settings of Facebook in iOS is available (iOS 6 and above). Facebook App is also installed. User has logged in by entering credentials in Settings. |
Same as #2 |
3. User logs out from My App and wants to login again
# |
Situation |
Observation / Flow |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Facebook App installed on device |
|
3 |
Settings of Facebook in iOS is available (iOS 6 and above) and user has logged in by entering credentials in Settings. |
Same as #1 |
4 |
Settings of Facebook in iOS is available (iOS 6 and above). Facebook App is also installed. User has logged in by entering credentials in Settings. |
Same as #2 |
4. User is logged in. Remove Cookies from Safari Settings. Starts the app again.
# |
Situation |
User logs out from My App and wants to login again |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Settings of Facebook in iOS is available (iOS 6 and above) and user has logged in by entering credentials in Settings. |
|
Android – Login Test Scenarios
1. User wants to login for the first time
# |
Situation |
Observation / Flow |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Facebook App installed on device |
|
1. Screenshots
2. Screenshots
2. Logged in Facebook Account (Starts the app again)
# |
Situation |
Observation / Flow |
1 |
Facebook App installed on device (& You are logged In) |
|
3. User logs out from My App and wants to login again
# |
Situation |
Observation / Flow |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Facebook App installed on device |
|
3. User uninstall My App and install again
# |
Situation |
Observation / Flow |
1 |
Safari (Facebook App not installed on device) |
|
2 |
Facebook App installed on device |
|
Setting (Facebook)
Note – There is an option in Settings where you can add facebook account. See screenshot
Go to Personal –> Add account –> Tap on Facebook for syncing(Add username and password) –> Your account is then created.
Some cases after Settings – Facebook setup :
Case 1: Facebook app not installed and you setup Facebook through settings A – User wants to login for the first time
B – User tap on my app facebook button again No page of Facebook app is shown and user continues in my app
B – User logs out from My App and wants to login again No page of Facebook app is shown and user continues in my app
Note 1 : If you install Facebook App and add your credential, it will automatically sync facebook in Settings. Note 2 : If you uninstall Facebook App, it will automatically De – sync facebook in Settings