InnovationM Testing Facebook Integration

Testing – Facebook Integration in iOS and Android

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)

  • My App page containing Facebook Login button

  • Facebook Login Page

  • Permission Page

  • Back to My App page

2

Facebook App installed on device

  • My App page containing Facebook Login button

  • Facebook app is launched presenting Login page

  • Permission Page

  • Back to My App page

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.

  • My App page containing Facebook Login button

  • Facebook Page asking “Logged in as facebook – username” Continue or Not You.

  • Permission Page

  • Back to My App page

1. Screenshots

longin112

2. Screenshots

longin1 32

4. Screenshots

longin1 42

2.  Logged in Facebook Account (Starts the app again)

#

Situation

        Observation / Flow

1

Safari

(Facebook App not installed on device)

  • My App page containing Facebook Login button

  • Permission Page

  • Back to My App page

2

Facebook App installed on device

  • My App page containing Facebook Login button

  • Permission Page

  • No page of Facebook app is shown and user continues in my app

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)

  • My App page containing Facebook Login button

  • Permission Page

  • Back to My App page

2

Facebook App installed on device

  • My App page containing Facebook Login button

  • No page of Facebook app is shown and user continues in my app

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)

  • My App page containing Facebook Login button

  • Facebook Login Page

  • Permission Page

  • Back to My App page

2

Settings of Facebook in iOS is available (iOS 6 and above) and user has logged in by entering credentials in Settings.

  • My App page containing Facebook Login button

  • Facebook Page asking “Logged in as facebook – username” Continue or Not You.

  • Permission Page

  • Back to My App page

Android – Login Test Scenarios

1. User wants to login for the first time

#

Situation

         Observation / Flow

1

Safari

(Facebook App not installed on device)

  • My App page containing Facebook Login button

  • Facebook Login Page

  • Permission Page

  • Back to My App page

2

Facebook App installed on device

  • My App page containing Facebook Login button

  • Facebook app is launched presenting Login page

  • Syn Gallery and Calender Page.

  • app would like to share your profile page.

  • Back to My App page

1. Screenshots

longin122

2. Screenshots

456

2.  Logged in Facebook Account (Starts the app again)

#

Situation

        Observation / Flow

1

Facebook App installed on device (& You are logged In)

  • My App page containing Facebook Login button

  • It should be permisson page

  • Back to my app

6

3. User logs out from My App and wants to login again

#

Situation

Observation / Flow

1

Safari

(Facebook App not installed on device)

  • My App page containing Facebook Login button

  • No page of Facebook app is shown and user continues in my app

2

Facebook App installed on device

  • My App page containing Facebook Login button

  • No page of Facebook app is shown and user continues in my app

3. User uninstall My App and install again                                                                                                    

#

Situation

         Observation / Flow

1

Safari

(Facebook App not installed on device)

  • My App page containing Facebook Login button

  • Facebook Login Page

  • Permission Page

  • Back to My App page

2

Facebook App installed on device

  • My App page containing Facebook Login button

  • Facebook app is launched presenting Login page

  • Syn Gallery and Calender Page.

  • app would like to share your profile page.

  • Back to My App page

                                                                      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.

ABCD

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                                                                                      1     2

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

Leave a Reply