23
|
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 ET11799 <not a test> Setup mime type test services
|
|
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 ServUtil
|
|
39 |
ServUtil Create
|
|
40 |
ServUtil DeleteAllServices SYNC
|
|
41 |
|
|
42 |
// EXTRA_SERVICE_9 is reserved for cases to change it's address at will
|
|
43 |
|
|
44 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
45 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/multiurl.xml"
|
|
46 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
47 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_1
|
|
48 |
|
|
49 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
50 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/allmimetypes.xml"
|
|
51 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
52 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_2
|
|
53 |
|
|
54 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
55 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/allmimetypes_stream.xml"
|
|
56 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
57 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_3
|
|
58 |
|
|
59 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
60 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/general.xml"
|
|
61 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
62 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_4
|
|
63 |
|
|
64 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
65 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/general_stream.xml"
|
|
66 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
67 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_5
|
|
68 |
|
|
69 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
70 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/general_wmv.xml"
|
|
71 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
72 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_6
|
|
73 |
|
|
74 |
ServUtil AddHardCodedService ASYNC SERVICE_9 3G_AP 1 10
|
|
75 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EAddress "http:\/\/193.65.182.78/mimetype_tests/mediagroup.xml"
|
|
76 |
ServUtil UpdateServiceField ASYNC SERVICE_9 ESetIapList WLAN_AP 1 3G_AP 1
|
|
77 |
ServUtil UpdateServiceField ASYNC SERVICE_9 EName EXTRA_SERVICE_7
|
|
78 |
|
|
79 |
ServUtil GetServices 0 0 500
|
|
80 |
|
|
81 |
ServUtil Destroy
|
|
82 |
delete ServUtil
|
|
83 |
pause 3000
|
|
84 |
[Endtest]
|
|
85 |
|
|
86 |
#------------------------------------------------------------------------------------
|
|
87 |
#
|
|
88 |
# Test updating ECG with XML which has multiple URLs for one content. MRSS extensions are used in XML.
|
|
89 |
#
|
|
90 |
#------------------------------------------------------------------------------------
|
|
91 |
[Test]
|
|
92 |
title ET11700 Service with MRSS extensions
|
|
93 |
create VCXTestUtilModule Util
|
|
94 |
Util CreateMobilecrashWatcher
|
|
95 |
pause PAUSE
|
|
96 |
create VCXVodContentApiTest test
|
|
97 |
test Create EXTRA_SERVICE_1
|
|
98 |
test SelectIap DEFAULT_AP
|
|
99 |
test UpdateEcg
|
|
100 |
waittestclass test
|
|
101 |
test EnableVerifying ET11700
|
|
102 |
test VerifyAllCategoryContent 0
|
|
103 |
test Verify ET11700
|
|
104 |
test Destroy
|
|
105 |
delete test
|
|
106 |
Util CheckMobilecrashes
|
|
107 |
delete Util
|
|
108 |
[Endtest]
|
|
109 |
|
|
110 |
#------------------------------------------------------------------------------------
|
|
111 |
#
|
|
112 |
# Test updating ECG with service where is videos for all known mime types.
|
|
113 |
#
|
|
114 |
#------------------------------------------------------------------------------------
|
|
115 |
[Test]
|
|
116 |
title ET11701 Service with all known mime types
|
|
117 |
create VCXTestUtilModule Util
|
|
118 |
Util CreateMobilecrashWatcher
|
|
119 |
pause PAUSE
|
|
120 |
create VCXVodContentApiTest test
|
|
121 |
test Create EXTRA_SERVICE_2
|
|
122 |
test SelectIap DEFAULT_AP
|
|
123 |
test UpdateEcg
|
|
124 |
waittestclass test
|
|
125 |
test EnableVerifying ET11701
|
|
126 |
test VerifyAllCategoryContent 0
|
|
127 |
test Verify ET11701
|
|
128 |
test Destroy
|
|
129 |
delete test
|
|
130 |
Util CheckMobilecrashes
|
|
131 |
delete Util
|
|
132 |
[Endtest]
|
|
133 |
|
|
134 |
#------------------------------------------------------------------------------------
|
|
135 |
#
|
|
136 |
# Test updating ECG with service where is videos for all known mime types and videos are streams.
|
|
137 |
#
|
|
138 |
#------------------------------------------------------------------------------------
|
|
139 |
[Test]
|
|
140 |
title ET11702 Service with all known mime types (streams)
|
|
141 |
create VCXTestUtilModule Util
|
|
142 |
Util CreateMobilecrashWatcher
|
|
143 |
pause PAUSE
|
|
144 |
create VCXVodContentApiTest test
|
|
145 |
test Create EXTRA_SERVICE_3
|
|
146 |
test SelectIap DEFAULT_AP
|
|
147 |
test UpdateEcg
|
|
148 |
waittestclass test
|
|
149 |
test EnableVerifying ET11702
|
|
150 |
test VerifyAllCategoryContent 0
|
|
151 |
test Verify ET11702
|
|
152 |
test Destroy
|
|
153 |
delete test
|
|
154 |
Util CheckMobilecrashes
|
|
155 |
delete Util
|
|
156 |
[Endtest]
|
|
157 |
|
|
158 |
#------------------------------------------------------------------------------------
|
|
159 |
#
|
|
160 |
# Test updating ECG with service where is enclosure and media group contain video with different mime types.
|
|
161 |
#
|
|
162 |
#------------------------------------------------------------------------------------
|
|
163 |
[Test]
|
|
164 |
title ET11703 Video in both enclosure and media group with different mime types
|
|
165 |
create VCXTestUtilModule Util
|
|
166 |
Util CreateMobilecrashWatcher
|
|
167 |
pause PAUSE
|
|
168 |
create VCXVodContentApiTest test
|
|
169 |
test Create EXTRA_SERVICE_4
|
|
170 |
test SelectIap DEFAULT_AP
|
|
171 |
test UpdateEcg
|
|
172 |
waittestclass test
|
|
173 |
test EnableVerifying ET11703
|
|
174 |
test VerifyAllCategoryContent 0
|
|
175 |
test Verify ET11703
|
|
176 |
test Destroy
|
|
177 |
delete test
|
|
178 |
Util CheckMobilecrashes
|
|
179 |
delete Util
|
|
180 |
[Endtest]
|
|
181 |
|
|
182 |
#------------------------------------------------------------------------------------
|
|
183 |
#
|
|
184 |
# Test updating ECG with service where is enclosure and media group contain stream with different mime types.
|
|
185 |
#
|
|
186 |
#------------------------------------------------------------------------------------
|
|
187 |
[Test]
|
|
188 |
title ET11704 Stream in both enclosure and media group with different mime types
|
|
189 |
create VCXTestUtilModule Util
|
|
190 |
Util CreateMobilecrashWatcher
|
|
191 |
pause PAUSE
|
|
192 |
create VCXVodContentApiTest test
|
|
193 |
test Create EXTRA_SERVICE_5
|
|
194 |
test SelectIap DEFAULT_AP
|
|
195 |
test UpdateEcg
|
|
196 |
waittestclass test
|
|
197 |
test EnableVerifying ET11704
|
|
198 |
test VerifyAllCategoryContent 0
|
|
199 |
test Verify ET11704
|
|
200 |
test Destroy
|
|
201 |
delete test
|
|
202 |
Util CheckMobilecrashes
|
|
203 |
delete Util
|
|
204 |
[Endtest]
|
|
205 |
|
|
206 |
#------------------------------------------------------------------------------------
|
|
207 |
#
|
|
208 |
# Test updating ECG with service where is enclosure and media group contain stream with different mime types.
|
|
209 |
#
|
|
210 |
#------------------------------------------------------------------------------------
|
|
211 |
[Test]
|
|
212 |
title ET11705 WMV, video or stream in both enclosure and media group with different mime types
|
|
213 |
create VCXTestUtilModule Util
|
|
214 |
Util CreateMobilecrashWatcher
|
|
215 |
pause PAUSE
|
|
216 |
create VCXVodContentApiTest test
|
|
217 |
test Create EXTRA_SERVICE_6
|
|
218 |
test SelectIap DEFAULT_AP
|
|
219 |
test UpdateEcg
|
|
220 |
waittestclass test
|
|
221 |
test EnableVerifying ET11705
|
|
222 |
test VerifyAllCategoryContent 0
|
|
223 |
test Verify ET11705
|
|
224 |
test Destroy
|
|
225 |
delete test
|
|
226 |
Util CheckMobilecrashes
|
|
227 |
delete Util
|
|
228 |
[Endtest]
|
|
229 |
|
|
230 |
#------------------------------------------------------------------------------------
|
|
231 |
#
|
|
232 |
# Test updating ECG with service where enclosure and media group contain videos or streams with different mime types.
|
|
233 |
#
|
|
234 |
#------------------------------------------------------------------------------------
|
|
235 |
[Test]
|
|
236 |
title ET11706 Video or stream in enclosure and 3 videos or streams in media group with different mime types
|
|
237 |
create VCXTestUtilModule Util
|
|
238 |
Util CreateMobilecrashWatcher
|
|
239 |
pause PAUSE
|
|
240 |
create VCXVodContentApiTest test
|
|
241 |
test Create EXTRA_SERVICE_7
|
|
242 |
test SelectIap DEFAULT_AP
|
|
243 |
test UpdateEcg
|
|
244 |
waittestclass test
|
|
245 |
test EnableVerifying ET11706
|
|
246 |
test VerifyAllCategoryContent 0
|
|
247 |
test Verify ET11706
|
|
248 |
test Destroy
|
|
249 |
delete test
|
|
250 |
Util CheckMobilecrashes
|
|
251 |
delete Util
|
|
252 |
[Endtest]
|