
Native TCT User Guide-v1.0
Figure 3-93: OAuth 2.0
4.2.1.24.
Push Service
To perform the test, select Push
Service
from the test case list. There are two tests. Firstly,
a.
Make sure
1.
Internet
is connected.
2.
run
tbt_pushtestapp
3.
kill app instance of
tbt_pushtestapp
from background by long pressing home button
b.
Now, in tbtcoreapp launch
Push module
then, Press
Start button
to start the push service and a successful
response will be displayed.
b.
Press
Normal button
, a Normal push message will be shown in list.
c.
Press
Delay button
and then press Normal button a Normal push message followed by a delay push
message will be shown in list.
d.
Press
Background Launch button
, a notification with Push Test App Launched in Background message
will be shown
e.
Press
Active button
and an Active push message will be shown.
f.
Press
Template button
and a Template push message will be shown in list.
g.
Press
Normal button
and immediately press home button to move app to pause state, a Normal push
notification will be shown in Notification panel.
h.
Press
Active button
and immediately press home button to move app to pause state, a Active push
notification will be shown in Notification panel.
i.
Press
Template butto
n and immediately press home button to move app to pause state, a push notification
with custom icon and sound will be shown in Notification panel."
j.
When new push notification will come an
increasing badge
number will be shown on app icon.
k.
If app is open and pressed
Message button
will show the message if it is not read.
l.
Press button
Disconnect
to Disconnect Push Service.