Professional Documents
Culture Documents
OnDeviceOttSupplementaryActionService
Facebook
www.Infovista.com | 1
Copyright Infovista Sweden AB 2022
TEMS is a trademark of Infovista. All other trademarks are the property of their respective holders.
No part of this document may be reproduced in any form without the written permission of the copyright holder.
The contents of this document are subject to revision without notice due to continued progress in methodology, design and
manufacturing. Infovista shall have no liability for any error or damage of any kind resulting from the use of this document.
www.Infovista.com | 2
Contents
1 Introduction....................................................................................................................................................... 4
2 Versions ........................................................................................................................................................... 5
3 KPIs .................................................................................................................................................................. 6
3.1 Supported KPIs ......................................................................................................................................... 6
3.2 Non-supported KPIs .................................................................................................................................. 6
4 Configurations .................................................................................................................................................. 7
4.1 Example Script Parameters ....................................................................................................................... 7
4.2 Common Configurations............................................................................................................................ 7
4.3 Unique Configurations ............................................................................................................................... 7
5 Error Codes ...................................................................................................................................................... 8
6 Known Limitations .......................................................................................................................................... 13
6.1 Hidden UI Component Resource Identity ................................................................................................ 13
6.2 Caching ................................................................................................................................................... 13
6.3 Facebook Account Types ........................................................................................................................ 13
7 Other Notes .................................................................................................................................................... 14
www.Infovista.com | 3
1 Introduction
This document provides information for understanding and implementing support for TEMS OnDevice OTT
Supplementary Action service for Facebook.
www.Infovista.com | 4
2 Versions
Versions Device * Support Date
405.1.0.28.72 Samsung S21+ GM-996B ODM+ Android 12 25 Jan 2024
Samsung S21+ GM-996U ODM+ Android 12 25 Jan 2024
Samsung S21+ GM-996B ODM+ Android 11 25 Jan 2024
Samsung S21+ GM-996B ODM Android 11 25 Jan 2024
Samsung S22 Ultra SM-S908B 25 Jan 2024
Samsung S22+ SM-S906B 25 Jan 2024
Samsung S22+ SM-S906U 25 Jan 2024
* The list of devices listed above only represent the devices that were used to verify the python script. In general, the python script
should work for all TEMS connectable devices.
www.Infovista.com | 5
3 KPIs
Refer to General Technical Specifications for OnDeviceOttSupplementaryActionService document for the list of
supported KPIs.
N/A
www.Infovista.com | 6
4 Configurations
-a loadpagefeed -pgn OrientalDailyNewsMalaysia -pwis False -cs 1000000 -nat 5 -dnst 6 -ttfbt 7
Refer to General Technical Specifications for OnDeviceOttSupplementaryActionService document for the list of
common configurations.
www.Infovista.com | 7
5 Error Codes
Common Checking:
• Ensure you are using the supported
Facebook App version. The supported
Facebook App version for the python script
is listed at the beginning of the python script.
• Check and ensure there are no pop-up
window that could be blocking the button.
• Requires trp, logcat and a screen recording
for troubleshooting by R&D.
www.Infovista.com | 8
• Requires trp and logcat for troubleshooting
by R&D.
140 Post status failure. Failed to share post • Failed to share to Facebook.
• Failed when checking if the post was
shared.
• Refer to common checking above.
151 Failed to find like button. • Failed to like the post from facebook
• Could be either facebook doesn’t load or no
post available.
• A very slow internet connection could cause
this error.
www.Infovista.com | 9
152 Failed to find comment tab • Failed to find comment tab from facebook
• Could be either facebook doesn’t load or no
post available.
• A very slow internet connection could cause
this error.
153 Failed to find send button • Failed to click send button from facebook
• Could be either facebook doesn’t load or no
post available.
• A very slow internet connection could cause
this error.
154 Failed to find post button. • Failed to click menu button from facebook
post
• Could be either facebook doesn’t load or no
post available.
• A very slow internet connection could cause
this error.
155 Failed to click move to recycle bin button • Failed to click move to recycle bin button
from facebook post
• Could be either facebook doesn’t load or no
post available.
www.Infovista.com | 10
• A very slow internet connection could cause
this error.
• In the case UI shown different from the
screenshot, it could be facebook account is
not created with gmail or Hotmail account
extension. If the facebook account created
with yahoo extension, the UI will be slightly
different from the screenshot.
156 Failed to click delete button • Failed to click delete button from facebook
post
• Could be either facebook doesn’t load or no
post available.
• A very slow internet connection could cause
this error.
www.Infovista.com | 11
161 Failed to load user profile • Failed to load user page from facebook post
• Could be either facebook doesn’t load
• A very slow internet connection could cause
this error.
162 Failed to load page profile • Failed to load page from facebook post
• Could be either facebook doesn’t load
• A very slow internet connection could cause
this error.
www.Infovista.com | 12
6 Known Limitations
Facebook has developed the application with the intention to make it hard for UI automation by
removing/hiding/altering the Resource Id property for each UI Component displayed by the application.
This made it harder to identify the correct UI Component to control during testing. We need to infer or use
workarounds in the python script which normally would not be required.
6.2 Caching
The pm clear command cannot be used to clear the application cache as it will also clear the application data as
well. Clearing the application data will result in user getting logged out.
Caching causes the payload and thus throughput for subsequent tests to be lower.
There are issues when using Facebook accounts created using Gmail email or the phone number itself. The UI
Components are more hidden (See Known Limitation 5.1), thus will not be supported for now. Try creating Facebook
accounts using yahoo email instead.
www.Infovista.com | 13
7 Other Notes
www.Infovista.com | 14