57
|
1 |
#***********************************************************************************
|
|
2 |
#
|
|
3 |
# STIF test script file for testing VOD content client API.
|
|
4 |
#
|
|
5 |
#***********************************************************************************
|
|
6 |
|
|
7 |
[StifSettings]
|
|
8 |
CapsModifier= IptvTestClientApiCapsMod.exe
|
|
9 |
[EndStifSettings]
|
|
10 |
|
|
11 |
[Define]
|
|
12 |
INCLUDE c:\testframework\VCXConsts.inc
|
|
13 |
INCLUDE c:\testframework\VCXErrors.inc
|
|
14 |
INCLUDE c:\testframework\VCXVodContentApiTest.inc
|
|
15 |
INCLUDE c:\testframework\VCXServiceNames.inc
|
|
16 |
INCLUDE c:\testframework\VCXServiceUpdating.inc
|
|
17 |
[Enddefine]
|
|
18 |
|
|
19 |
#------------------------------------------------------------------------------------
|
|
20 |
#
|
|
21 |
# Setup services in service database and delete the EPG db.
|
|
22 |
#
|
|
23 |
#------------------------------------------------------------------------------------
|
|
24 |
[Test]
|
|
25 |
title ET19099 <not a test> Setup search test services 2
|
|
26 |
|
|
27 |
create VCXTestUtilModule Util
|
|
28 |
// Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
|
|
29 |
Util CopyMethod "Internet" "Internet" "Internet"
|
|
30 |
Util SetMethodPriority DEFAULT_DEST 3G_AP 0
|
|
31 |
Util SetUsedDestination DEFAULT_DEST
|
|
32 |
// Disable connection dialog for "Internet" destination.
|
|
33 |
Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
|
|
34 |
Util SetDefaultIapCenrep
|
|
35 |
delete Util
|
|
36 |
|
|
37 |
pause PAUSE
|
|
38 |
create VCXServiceManagementApiTest SMTest
|
|
39 |
SMTest Create
|
|
40 |
SMTest DeleteAllServices SYNC
|
|
41 |
|
|
42 |
// nseries test search
|
|
43 |
SMTest AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
44 |
SMTest UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/nseries.xml"
|
|
45 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESearchUrl "http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
|
|
46 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
47 |
SMTest UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_1
|
|
48 |
|
|
49 |
// google test search
|
|
50 |
SMTest AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
51 |
SMTest UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/video.google.com/videofeed?type=top100new&num=20&output=rss"
|
|
52 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESearchUrl "http:\/\/video.google.com/videofeed?type=search&q=#search#&so=0&num=20&output=rss"
|
|
53 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
54 |
SMTest UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_2
|
|
55 |
|
|
56 |
// blip test search
|
|
57 |
SMTest AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
58 |
SMTest UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/blip.tv/?1=1&s=posts&skin=rss"
|
|
59 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESearchUrl "http:\/\/blip.tv/?1=1&file_type=mpeg1%2Cmpeg2%2Cmpeg4;search=#search#;page=1;s=posts&skin=rss"
|
|
60 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
61 |
SMTest UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_3
|
|
62 |
|
|
63 |
// yahoo test search
|
|
64 |
SMTest AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
65 |
SMTest UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/rss.ent.yahoo.com/movies/thisweek.xml"
|
|
66 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESearchUrl "http:\/\/api.search.yahoo.com/VideoSearchService/rss/videoSearch.xml?appid=ysearchblog&adult_ok=0&results=50&format=mpeg&query=#search#"
|
|
67 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
68 |
SMTest UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_4
|
|
69 |
|
|
70 |
// dailymotion test search
|
|
71 |
SMTest AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10 // OOPS9
|
|
72 |
SMTest UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/www.dailymotion.com/rss/featured/1"
|
|
73 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESearchUrl "http:\/\/www.dailymotion.com/rss/relevance/search/#search#/1"
|
|
74 |
SMTest UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
75 |
SMTest UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_5
|
|
76 |
|
|
77 |
SMTest GetServices SYNC 0 250
|
|
78 |
|
|
79 |
SMTest Destroy
|
|
80 |
delete SMTest
|
|
81 |
|
|
82 |
create VCXVodContentApiTest test
|
|
83 |
test DeleteEpgDb
|
|
84 |
delete test
|
|
85 |
|
|
86 |
[Endtest]
|
|
87 |
|
|
88 |
#------------------------------------------------------------------------------------
|
|
89 |
#
|
|
90 |
# Get ECG list for search category when database is empty.
|
|
91 |
#
|
|
92 |
#------------------------------------------------------------------------------------
|
|
93 |
[Test]
|
|
94 |
title ET19001 Empty DB - GetEcgList
|
|
95 |
create VCXTestUtilModule Util
|
|
96 |
Util CreateMobilecrashWatcher
|
|
97 |
pause PAUSE
|
|
98 |
create VCXVodContentApiTest test
|
|
99 |
test Create EXTRA_SERVICE_1
|
|
100 |
test SelectIap DEFAULT_AP
|
|
101 |
test GetEcgList KIptvTestSearchCategoryId "" 0 10
|
|
102 |
test Destroy
|
|
103 |
delete test
|
|
104 |
Util CheckMobilecrashes
|
|
105 |
delete Util
|
|
106 |
[Endtest]
|
|
107 |
|
|
108 |
#------------------------------------------------------------------------------------
|
|
109 |
#
|
|
110 |
# Get category list for search when ECG DB is empty.
|
|
111 |
#
|
|
112 |
#------------------------------------------------------------------------------------
|
|
113 |
[Test]
|
|
114 |
title ET19002 Empty DB - EcgCategoryList
|
|
115 |
create VCXTestUtilModule Util
|
|
116 |
Util CreateMobilecrashWatcher
|
|
117 |
pause PAUSE
|
|
118 |
create VCXVodContentApiTest test
|
|
119 |
test Create EXTRA_SERVICE_1
|
|
120 |
test SelectIap DEFAULT_AP
|
|
121 |
test EcgCategoryList KIptvTestSearchCategoryId
|
|
122 |
test Destroy
|
|
123 |
delete test
|
|
124 |
Util CheckMobilecrashes
|
|
125 |
delete Util
|
|
126 |
[Endtest]
|
|
127 |
|
|
128 |
#------------------------------------------------------------------------------------
|
|
129 |
#
|
|
130 |
# Get category details for search category when database is empty.
|
|
131 |
#
|
|
132 |
#------------------------------------------------------------------------------------
|
|
133 |
[Test]
|
|
134 |
title ET19003 Empty DB - CategoryDetails
|
|
135 |
create VCXTestUtilModule Util
|
|
136 |
Util CreateMobilecrashWatcher
|
|
137 |
pause PAUSE
|
|
138 |
create VCXVodContentApiTest test
|
|
139 |
test Create EXTRA_SERVICE_1
|
|
140 |
test SelectIap DEFAULT_AP
|
|
141 |
test CategoryDetails KIptvTestSearchCategoryId
|
|
142 |
test Destroy
|
|
143 |
delete test
|
|
144 |
Util CheckMobilecrashes
|
|
145 |
delete Util
|
|
146 |
[Endtest]
|
|
147 |
|
|
148 |
#------------------------------------------------------------------------------------
|
|
149 |
#
|
|
150 |
# Check that CIptvVodContentClient returns parentCategoryId correctly.
|
|
151 |
#
|
|
152 |
#------------------------------------------------------------------------------------
|
|
153 |
[Test]
|
|
154 |
title ET19004 Empty DB - ParentCategory
|
|
155 |
create VCXTestUtilModule Util
|
|
156 |
Util CreateMobilecrashWatcher
|
|
157 |
pause PAUSE
|
|
158 |
create VCXVodContentApiTest test
|
|
159 |
test Create EXTRA_SERVICE_1
|
|
160 |
test SelectIap DEFAULT_AP
|
|
161 |
test ParentCategory 0 //KIptvTestSearchCategoryId
|
|
162 |
test Destroy
|
|
163 |
delete test
|
|
164 |
Util CheckMobilecrashes
|
|
165 |
delete Util
|
|
166 |
[Endtest]
|
|
167 |
|
|
168 |
#------------------------------------------------------------------------------------
|
|
169 |
#
|
|
170 |
# Get content details list for search category when database is empty.
|
|
171 |
#
|
|
172 |
#------------------------------------------------------------------------------------
|
|
173 |
[Test]
|
|
174 |
title ET19005 Empty DB - ContentDetailsList
|
|
175 |
create VCXTestUtilModule Util
|
|
176 |
Util CreateMobilecrashWatcher
|
|
177 |
pause PAUSE
|
|
178 |
create VCXVodContentApiTest test
|
|
179 |
test Create EXTRA_SERVICE_1
|
|
180 |
test SelectIap DEFAULT_AP
|
|
181 |
test ContentDetailsList SEARCH_CONTENT_1
|
|
182 |
test Destroy
|
|
183 |
delete test
|
|
184 |
Util CheckMobilecrashes
|
|
185 |
delete Util
|
|
186 |
[Endtest]
|
|
187 |
|
|
188 |
#------------------------------------------------------------------------------------
|
|
189 |
#
|
|
190 |
# Test CIptvVodContentClient::SetLastPositionL for Search content.
|
|
191 |
#
|
|
192 |
#------------------------------------------------------------------------------------
|
|
193 |
[Test]
|
|
194 |
title ET19006 Empty DB - SetLastPosition
|
|
195 |
create VCXTestUtilModule Util
|
|
196 |
Util CreateMobilecrashWatcher
|
|
197 |
pause PAUSE
|
|
198 |
create VCXVodContentApiTest test
|
|
199 |
test Create EXTRA_SERVICE_1
|
|
200 |
test SetLastPosition KIptvRssSearchContentId1 0 0
|
|
201 |
test SetLastPosition KIptvRssSearchContentId1 0 500
|
|
202 |
test Destroy
|
|
203 |
delete test
|
|
204 |
Util CheckMobilecrashes
|
|
205 |
delete Util
|
|
206 |
[Endtest]
|
|
207 |
|
|
208 |
#------------------------------------------------------------------------------------
|
|
209 |
#
|
|
210 |
# Test CIptvVodContentClient::Search
|
|
211 |
#
|
|
212 |
#------------------------------------------------------------------------------------
|
|
213 |
[Test]
|
|
214 |
title ET19008 Search Blip 3G
|
|
215 |
create VCXTestUtilModule Util
|
|
216 |
Util SetMethodPriority DEFAULT_DEST 3G_AP 0
|
|
217 |
Util CreateMobilecrashWatcher
|
|
218 |
pause PAUSE
|
|
219 |
create VCXVodContentApiTest test
|
|
220 |
test EnableThumbnails
|
|
221 |
test DeleteEpgDb
|
|
222 |
test Create EXTRA_SERVICE_3
|
|
223 |
test SelectIap 3G_AP
|
|
224 |
test Search super
|
|
225 |
waittestclass test
|
|
226 |
test UpdateEcg
|
|
227 |
waittestclass test
|
|
228 |
test EnableVerifying ET19008
|
|
229 |
test VerifyAllCategoryContent KIptvTestSearchCategoryId
|
|
230 |
//test Verify ET19008
|
|
231 |
test Destroy
|
|
232 |
delete test
|
|
233 |
Util CheckMobilecrashes
|
|
234 |
delete Util
|
|
235 |
[Endtest]
|
|
236 |
|
|
237 |
#------------------------------------------------------------------------------------
|
|
238 |
#
|
|
239 |
# Test CIptvVodContentClient::Search
|
|
240 |
#
|
|
241 |
#------------------------------------------------------------------------------------
|
|
242 |
[Test]
|
|
243 |
title ET19010 Search Dailymotion 3G
|
|
244 |
create VCXTestUtilModule Util
|
|
245 |
Util SetMethodPriority DEFAULT_DEST 3G_AP 0
|
|
246 |
Util CreateMobilecrashWatcher
|
|
247 |
pause PAUSE
|
|
248 |
create VCXVodContentApiTest test
|
|
249 |
test EnableThumbnails
|
|
250 |
test DeleteEpgDb
|
|
251 |
test Create EXTRA_SERVICE_5
|
|
252 |
test SelectIap 3G_AP
|
|
253 |
test Search survivors
|
|
254 |
waittestclass test
|
|
255 |
test UpdateEcg
|
|
256 |
waittestclass test
|
|
257 |
test EnableVerifying ET19010
|
|
258 |
test VerifyAllCategoryContent KIptvTestSearchCategoryId
|
|
259 |
//test Verify ET19010
|
|
260 |
test Destroy
|
|
261 |
delete test
|
|
262 |
Util CheckMobilecrashes
|
|
263 |
delete Util
|
|
264 |
[Endtest]
|