Professional Documents
Culture Documents
Contents
1
Overview
1.1
2.2
Features .......................................................................................................... 2
Prerequisites
2.1
2.1.2
Activity Configuration
3.1.1
3.1.2
3.1.3
Facebook ......................................................................................... 8
3.1.4
10
4.1
4.2
Events............................................................................................................10
4.3
Highlights
12
5.1
Limitations .....................................................................................................12
5.2
Overview
1.1
Features
Features
Description
Post Photo
Post a photo
Post Status
Load Feeds
Prerequisites
2.1
Facebook Account
Install and run a special Ascom app from which you grant the on-device
Facebook service permission to perform the operations to be tested (post status,
post photo, etc.)
2.1.1
1.
2.
2.1.2
2.1.2.1
For Gmail, you must complete the whole sign-up process, confirming
the email address by clicking the Confirm Now button on the top bar,
as shown in the screenshot below. On the screen that follows, click
Accept. Then log out from Facebook.
For Outlook, the above is not needed. Just log out from Facebook
once registered.
Instruction
Step 1:
Download the apk from
https://www.dropbox.com/s/ae7e7frzy
9v0m2i/OnDeviceFacebookUtility.apk
or browse to the OnDevice folder on
the external storage of your Android
device, and click the file
OnDeviceFacebookUtility.apk.
Screen shot
Step 2:
Under Security, check the Unknown
sources option.
Step 3:
On the next screen, click OK.
Step 4:
Now click the Install button, and the
installation will start.
Step 5:
Upon successful installation, you
should see this screen. Click Done to
finish.
2.1.2.2
Instruction
Step 1:
Locate and click the icon for the
OnDeviceFacebookUtility app.
Screen shot
Step 2:
Click the Logon button.
Step 3:
Enter your Facebook account logon
detail and click on Submit button.
Wait for few seconds (depending on
your network condition) until you see
screen shown in next step.
Remarks:
If you see a pop up saying Logon
failed. Please verify your account at
www.facebook.com, you might have
encountered Facebook security
check, identity verification, etc. Please
manually logon to your account from
Facebook website and clear all the
verification until you can logon
successfully without any blockage.
Then, retry Step 3 again.
Step 4:
Enter your Facebook account logon
detail again to logon to Facebook.
Step 5:
Click the OK button to accept it.
Step 6:
Click the OK button to accept it.
Step 7:
Log out from your Facebook account
by clicking the Logout button.
Step 8 (Optional):
If you wish to uninstall the app, locate
this app as shown here in the
Application Manager and uninstall it.
2.2
Phone Setup
Activity Configuration
3.1.1
Sample Script
Sample Script
Facebook.tsc
3.1.2
Facebook Logon
Logs on to a Facebook account. This account must have been set up in advance and
registered as a test account so that it can allow the on-device service to perform the
actions done with the Facebook activity. Regarding this registration, see the Device
Configuration Guide, section 2.1.
Property
Description
User Name
Password
3.1.3
Performs a user action while logged on to a Facebook test account (compare the
Facebook Logon activity).
Be aware that the data fetched by the load operations is not saved and cannot be
inspected in TEMS Investigation.
It is not possible to run multiple Facebook activities concurrently using a Parallel
construct.
Property
Description
Operation
Post Photo
o
Post Status
o
3.1.4
Post a status update in the form of plain text. Enter the text
string to post under Status.
Load Feeds
o
Facebook Logoff
4.1
Measurement Trigger
Trigger Point
Abstract Description
Technical Description
Logged on to Facebook
Tr-4
Operation completed
Tr-5
Tr-6
Tr-1
Tr-2
Tr-3
4.2
Events
Events
Description
Facebook Logon
Attempt
Facebook Logon
Duration
Start
Trigger
End
Trigger
Tr-1
Tr-1
Tr-2
Tr-1
Tr-2
Facebook Operation
Start
Facebook Operation
Attempt
Tr-3
Facebook Operation
Duration
Tr-3
Tr-4
Facebook Operation
Error
Operation failed.
Tr-3
Tr-4
Facebook Operation
End
Facebook Logoff
Attempt
Tr-5
Facebook Logoff
Duration
Tr-5
Tr-6
Logoff failed.
Tr-5
Tr-6
10
4.3
Information Elements
Information Elements
Description
Success rate for Facebook Operations (all types of user actions taken
together).
11
Highlights
5.1
Limitations
Limitations
NOT support to run in parallel with any activity that uses HTTP protocol.
For a regular Facebook account, a limit is imposed on the frequency of posting. This limit is not
constant but adapts to the pattern of user activity; the account will typically be blocked if more
than 2030 posts are made within a short period of time.
To escape this limitation, it is necessary to register the Facebook account as a test user. For
assistance in this task, please contact Ascom technical support.
5.2
Potential Issues
Potential Issues
Facebook Logon operation is tightly coupled with the Facebook Logon request flow. Any
changes made on the flow or request parameters will break the Facebook Logon functionality.
12