48
|
1 |
#-----------------------------------------------------------------------------------
|
|
2 |
#
|
|
3 |
# STIF test script file for testing service management client API.
|
|
4 |
#
|
|
5 |
# This cfg has test cases which are run when Helium generates ATS3 test drops.
|
|
6 |
# The cases are from other cfgs under the test module, if they are changed then
|
|
7 |
# easiest way to update cases here is to run perl script in the internal tool folder.
|
|
8 |
#
|
|
9 |
#-----------------------------------------------------------------------------------
|
|
10 |
|
|
11 |
[StifSettings]
|
|
12 |
CapsModifier= IptvTestClientApiCapsMod.exe
|
|
13 |
[EndStifSettings]
|
|
14 |
|
|
15 |
[Define]
|
|
16 |
INCLUDE c:\testframework\VCXConnUtilTest.inc
|
|
17 |
INCLUDE c:\testframework\VCXDrives.inc
|
|
18 |
INCLUDE c:\testframework\VCXConsts.inc
|
|
19 |
INCLUDE c:\testframework\VCXErrors.inc
|
|
20 |
[Enddefine]
|
|
21 |
|
|
22 |
|
|
23 |
[Test]
|
|
24 |
title ET31100 <not a test> Setup and cleanup
|
|
25 |
create VCXTestUtilModule Util
|
|
26 |
|
|
27 |
Util CopyMethod "Internet" "Internet" "Internet"
|
|
28 |
// Disable connection dialog for "Internet" destination.
|
|
29 |
Util SetConnectionMethodIntAttribute "Internet" "Internet" ECmSeamlessnessLevel 2
|
|
30 |
|
|
31 |
allowerrorcodes KERRNOTFOUND
|
|
32 |
Util DeleteDestination DEST_TEST
|
|
33 |
allowerrorcodes KERRNOTFOUND
|
|
34 |
Util DeleteDestination DEST_TEST2
|
|
35 |
|
|
36 |
delete Util
|
|
37 |
[Endtest]
|
|
38 |
|
|
39 |
[Test]
|
|
40 |
title ET31126 Create and destroy
|
|
41 |
create VCXTestUtilModule Util
|
|
42 |
|
|
43 |
create VCXConnUtilTest VCXCONN
|
|
44 |
VCXCONN PrepareCase
|
|
45 |
|
|
46 |
VCXCONN Create "MASTERPS"
|
|
47 |
|
|
48 |
print created
|
|
49 |
pause 3000
|
|
50 |
VCXCONN PrintConnUtilDetails
|
|
51 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
52 |
print pausing
|
|
53 |
pause 3000
|
|
54 |
print OK!
|
|
55 |
|
|
56 |
VCXCONN ShutdownTester
|
|
57 |
delete VCXCONN
|
|
58 |
pause 3000
|
|
59 |
delete Util
|
|
60 |
[Endtest]
|
|
61 |
|
|
62 |
[Test]
|
|
63 |
title ET31101 Connect to destination with 1 IAP
|
|
64 |
create VCXTestUtilModule Util
|
|
65 |
|
|
66 |
// Destination with 1 working IAP
|
|
67 |
allowerrorcodes KERRNOTFOUND
|
|
68 |
Util DeleteDestination DEST_TEST
|
|
69 |
pause 1000
|
|
70 |
Util CreateDestination DEST_TEST
|
|
71 |
Util SetUsedDestination DEST_TEST
|
|
72 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
73 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
74 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
75 |
|
|
76 |
create VCXConnUtilTest VCXCONN
|
|
77 |
VCXCONN PrepareCase
|
|
78 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
79 |
VCXCONN GetIap DEST_TEST
|
|
80 |
waittestclass VCXCONN
|
|
81 |
|
|
82 |
Util WaitForConnectionActivity AP1
|
|
83 |
waittestclass Util
|
|
84 |
VCXCONN PrintConnUtilDetails
|
|
85 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
86 |
|
|
87 |
print OK!
|
|
88 |
VCXCONN ShutdownTester
|
|
89 |
delete VCXCONN
|
|
90 |
pause 3000
|
|
91 |
delete Util
|
|
92 |
[Endtest]
|
|
93 |
|
|
94 |
[Test]
|
|
95 |
title ET31102 Connect to destination with 2 IAPs
|
|
96 |
create VCXTestUtilModule Util
|
|
97 |
|
|
98 |
// Destination with 2 working IAPs
|
|
99 |
allowerrorcodes KERRNOTFOUND
|
|
100 |
Util DeleteDestination DEST_TEST
|
|
101 |
pause 1000
|
|
102 |
Util CreateDestination DEST_TEST
|
|
103 |
Util SetUsedDestination DEST_TEST
|
|
104 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
105 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
106 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
107 |
Util SetMethodPriority DEST_TEST AP2 0
|
|
108 |
Util SetMethodPriority DEST_TEST AP1 1´
|
|
109 |
|
|
110 |
create VCXConnUtilTest VCXCONN
|
|
111 |
VCXCONN PrepareCase
|
|
112 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
113 |
VCXCONN GetIap DEST_TEST
|
|
114 |
waittestclass VCXCONN
|
|
115 |
|
|
116 |
Util WaitForConnectionActivity AP2
|
|
117 |
waittestclass Util
|
|
118 |
VCXCONN PrintConnUtilDetails
|
|
119 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
120 |
|
|
121 |
print OK!
|
|
122 |
VCXCONN ShutdownTester
|
|
123 |
delete VCXCONN
|
|
124 |
pause 3000
|
|
125 |
delete Util
|
|
126 |
[Endtest]
|
|
127 |
|
|
128 |
[Test]
|
|
129 |
title ET31103 Connect to destination with 10 IAPs
|
|
130 |
create VCXTestUtilModule Util
|
|
131 |
|
|
132 |
// Destination with 10 working IAPs
|
|
133 |
allowerrorcodes KERRNOTFOUND
|
|
134 |
Util DeleteDestination DEST_TEST
|
|
135 |
pause 1000
|
|
136 |
Util CreateDestination DEST_TEST
|
|
137 |
Util SetUsedDestination DEST_TEST
|
|
138 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
139 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
140 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
141 |
Util CopyMethod 3G_AP AP3 DEST_TEST
|
|
142 |
Util CopyMethod 3G_AP AP4 DEST_TEST
|
|
143 |
Util CopyMethod 3G_AP AP5 DEST_TEST
|
|
144 |
Util CopyMethod 3G_AP AP6 DEST_TEST
|
|
145 |
Util CopyMethod 3G_AP AP7 DEST_TEST
|
|
146 |
Util CopyMethod 3G_AP AP8 DEST_TEST
|
|
147 |
Util CopyMethod 3G_AP AP9 DEST_TEST
|
|
148 |
Util CopyMethod 3G_AP AP10 DEST_TEST
|
|
149 |
|
|
150 |
Util SetMethodPriority DEST_TEST AP5 0
|
|
151 |
Util SetMethodPriority DEST_TEST AP1 1
|
|
152 |
Util SetMethodPriority DEST_TEST AP2 2
|
|
153 |
Util SetMethodPriority DEST_TEST AP3 3
|
|
154 |
Util SetMethodPriority DEST_TEST AP4 4
|
|
155 |
Util SetMethodPriority DEST_TEST AP6 5
|
|
156 |
Util SetMethodPriority DEST_TEST AP7 6
|
|
157 |
Util SetMethodPriority DEST_TEST AP8 7
|
|
158 |
Util SetMethodPriority DEST_TEST AP9 8
|
|
159 |
Util SetMethodPriority DEST_TEST AP10 9
|
|
160 |
|
|
161 |
create VCXConnUtilTest VCXCONN
|
|
162 |
VCXCONN PrepareCase
|
|
163 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
164 |
VCXCONN GetIap DEST_TEST
|
|
165 |
waittestclass VCXCONN
|
|
166 |
|
|
167 |
Util WaitForConnectionActivity AP5
|
|
168 |
waittestclass Util
|
|
169 |
VCXCONN PrintConnUtilDetails
|
|
170 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
171 |
|
|
172 |
print OK!
|
|
173 |
VCXCONN ShutdownTester
|
|
174 |
delete VCXCONN
|
|
175 |
pause 3000
|
|
176 |
delete Util
|
|
177 |
[Endtest]
|
|
178 |
|
|
179 |
[Test]
|
|
180 |
title ET31108 Connect, disconnect
|
|
181 |
create VCXTestUtilModule Util
|
|
182 |
|
|
183 |
// Destination with 1 working IAP
|
|
184 |
allowerrorcodes KERRNOTFOUND
|
|
185 |
Util DeleteDestination DEST_TEST
|
|
186 |
pause 1000
|
|
187 |
Util CreateDestination DEST_TEST
|
|
188 |
Util SetUsedDestination DEST_TEST
|
|
189 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
190 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
191 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
192 |
|
|
193 |
create VCXConnUtilTest VCXCONN
|
|
194 |
VCXCONN PrepareCase
|
|
195 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
196 |
VCXCONN GetIap DEST_TEST
|
|
197 |
waittestclass VCXCONN
|
|
198 |
Util WaitForConnectionActivity AP1
|
|
199 |
waittestclass Util
|
|
200 |
|
|
201 |
VCXCONN Disconnect
|
|
202 |
waittestclass VCXCONN
|
|
203 |
Util WaitUntilConnectionIsClosed AP1
|
|
204 |
waittestclass Util
|
|
205 |
VCXCONN PrintConnUtilDetails
|
|
206 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
207 |
pause 3000
|
|
208 |
|
|
209 |
print OK!
|
|
210 |
VCXCONN ShutdownTester
|
|
211 |
delete VCXCONN
|
|
212 |
pause 3000
|
|
213 |
delete Util
|
|
214 |
[Endtest]
|
|
215 |
|
|
216 |
[Test]
|
|
217 |
title ET31109 Connect, disconnect, connect
|
|
218 |
create VCXTestUtilModule Util
|
|
219 |
|
|
220 |
// Destination with 1 working IAP
|
|
221 |
allowerrorcodes KERRNOTFOUND
|
|
222 |
Util DeleteDestination DEST_TEST
|
|
223 |
pause 1000
|
|
224 |
Util CreateDestination DEST_TEST
|
|
225 |
Util SetUsedDestination DEST_TEST
|
|
226 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
227 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
228 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
229 |
|
|
230 |
create VCXConnUtilTest VCXCONN
|
|
231 |
VCXCONN PrepareCase
|
|
232 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
233 |
VCXCONN GetIap DEST_TEST
|
|
234 |
waittestclass VCXCONN
|
|
235 |
Util WaitForConnectionActivity AP1
|
|
236 |
waittestclass Util
|
|
237 |
|
|
238 |
VCXCONN Disconnect
|
|
239 |
waittestclass VCXCONN
|
|
240 |
pause 3000
|
|
241 |
Util WaitUntilConnectionIsClosed AP1
|
|
242 |
waittestclass Util
|
|
243 |
VCXCONN PrintConnUtilDetails
|
|
244 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
245 |
|
|
246 |
VCXCONN GetIap DEST_TEST
|
|
247 |
waittestclass VCXCONN
|
|
248 |
Util WaitForConnectionActivity AP1
|
|
249 |
waittestclass Util
|
|
250 |
VCXCONN PrintConnUtilDetails
|
|
251 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
252 |
|
|
253 |
print OK!
|
|
254 |
VCXCONN ShutdownTester
|
|
255 |
delete VCXCONN
|
|
256 |
pause 3000
|
|
257 |
delete Util
|
|
258 |
[Endtest]
|
|
259 |
|
|
260 |
[Test]
|
|
261 |
title ET31110 Connect, disconnect, disconnect
|
|
262 |
create VCXTestUtilModule Util
|
|
263 |
|
|
264 |
// Destination with 1 working IAP
|
|
265 |
allowerrorcodes KERRNOTFOUND
|
|
266 |
Util DeleteDestination DEST_TEST
|
|
267 |
pause 1000
|
|
268 |
Util CreateDestination DEST_TEST
|
|
269 |
Util SetUsedDestination DEST_TEST
|
|
270 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
271 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
272 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
273 |
|
|
274 |
create VCXConnUtilTest VCXCONN
|
|
275 |
VCXCONN PrepareCase
|
|
276 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
277 |
VCXCONN GetIap DEST_TEST
|
|
278 |
waittestclass VCXCONN
|
|
279 |
|
|
280 |
Util WaitForConnectionActivity AP1
|
|
281 |
waittestclass Util
|
|
282 |
|
|
283 |
VCXCONN Disconnect
|
|
284 |
waittestclass VCXCONN
|
|
285 |
Util WaitUntilConnectionIsClosed AP1
|
|
286 |
waittestclass Util
|
|
287 |
|
|
288 |
VCXCONN Disconnect
|
|
289 |
waittestclass VCXCONN
|
|
290 |
|
|
291 |
Util WaitUntilConnectionIsClosed AP1
|
|
292 |
waittestclass Util
|
|
293 |
|
|
294 |
print OK!
|
|
295 |
VCXCONN ShutdownTester
|
|
296 |
delete VCXCONN
|
|
297 |
pause 3000
|
|
298 |
delete Util
|
|
299 |
[Endtest]
|
|
300 |
|
|
301 |
[Test]
|
|
302 |
title ET31111 Disconnect without connection, then connect
|
|
303 |
create VCXTestUtilModule Util
|
|
304 |
|
|
305 |
// Destination with 1 working IAP
|
|
306 |
allowerrorcodes KERRNOTFOUND
|
|
307 |
Util DeleteDestination DEST_TEST
|
|
308 |
pause 1000
|
|
309 |
Util CreateDestination DEST_TEST
|
|
310 |
Util SetUsedDestination DEST_TEST
|
|
311 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
312 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
313 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
314 |
|
|
315 |
create VCXConnUtilTest VCXCONN
|
|
316 |
VCXCONN PrepareCase
|
|
317 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
318 |
VCXCONN Disconnect
|
|
319 |
waittestclass VCXCONN
|
|
320 |
|
|
321 |
VCXCONN GetIap DEST_TEST
|
|
322 |
waittestclass VCXCONN
|
|
323 |
pause 3000
|
|
324 |
Util WaitForConnectionActivity AP1
|
|
325 |
waittestclass Util
|
|
326 |
VCXCONN PrintConnUtilDetails
|
|
327 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
328 |
|
|
329 |
print OK!
|
|
330 |
VCXCONN ShutdownTester
|
|
331 |
delete VCXCONN
|
|
332 |
pause 3000
|
|
333 |
delete Util
|
|
334 |
[Endtest]
|
|
335 |
|
|
336 |
[Test]
|
|
337 |
title ET31112 2nd IAP priority changes during connection
|
|
338 |
create VCXTestUtilModule Util
|
|
339 |
|
|
340 |
// Destination with 1 working IAP
|
|
341 |
allowerrorcodes KERRNOTFOUND
|
|
342 |
Util DeleteDestination DEST_TEST
|
|
343 |
pause 1000
|
|
344 |
Util CreateDestination DEST_TEST
|
|
345 |
Util SetUsedDestination DEST_TEST
|
|
346 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
347 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
348 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
349 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
350 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
351 |
|
|
352 |
create VCXConnUtilTest VCXCONN
|
|
353 |
VCXCONN PrepareCase
|
|
354 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
355 |
VCXCONN GetIap DEST_TEST
|
|
356 |
waittestclass VCXCONN
|
|
357 |
|
|
358 |
pause 1000
|
|
359 |
Util SetMethodPriority DEST_TEST AP2 0
|
|
360 |
|
|
361 |
pause 5000
|
|
362 |
|
|
363 |
Util WaitForConnectionActivity AP1
|
|
364 |
waittestclass Util
|
|
365 |
VCXCONN PrintConnUtilDetails
|
|
366 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
367 |
|
|
368 |
pause 5000
|
|
369 |
|
|
370 |
print OK!
|
|
371 |
VCXCONN ShutdownTester
|
|
372 |
delete VCXCONN
|
|
373 |
pause 3000
|
|
374 |
delete Util
|
|
375 |
[Endtest]
|
|
376 |
|
|
377 |
[Test]
|
|
378 |
title ET31113 IAP priority changes during connection
|
|
379 |
create VCXTestUtilModule Util
|
|
380 |
|
|
381 |
// Destination with 1 working IAP
|
|
382 |
allowerrorcodes KERRNOTFOUND
|
|
383 |
Util DeleteDestination DEST_TEST
|
|
384 |
pause 1000
|
|
385 |
Util CreateDestination DEST_TEST
|
|
386 |
Util SetUsedDestination DEST_TEST
|
|
387 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
388 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
389 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
390 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
391 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
392 |
|
|
393 |
create VCXConnUtilTest VCXCONN
|
|
394 |
VCXCONN PrepareCase
|
|
395 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
396 |
VCXCONN GetIap DEST_TEST
|
|
397 |
waittestclass VCXCONN
|
|
398 |
|
|
399 |
pause 1000
|
|
400 |
Util SetMethodPriority DEST_TEST AP1 1
|
|
401 |
|
|
402 |
pause 5000
|
|
403 |
|
|
404 |
Util WaitForConnectionActivity AP1
|
|
405 |
waittestclass Util
|
|
406 |
VCXCONN PrintConnUtilDetails
|
|
407 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
408 |
|
|
409 |
pause 5000
|
|
410 |
|
|
411 |
print OK!
|
|
412 |
VCXCONN ShutdownTester
|
|
413 |
delete VCXCONN
|
|
414 |
pause 3000
|
|
415 |
delete Util
|
|
416 |
[Endtest]
|
|
417 |
|
|
418 |
[Test]
|
|
419 |
title ET31114 2nd IAP removed during connection
|
|
420 |
create VCXTestUtilModule Util
|
|
421 |
|
|
422 |
// Destination with 1 working IAP
|
|
423 |
allowerrorcodes KERRNOTFOUND
|
|
424 |
Util DeleteDestination DEST_TEST
|
|
425 |
pause 1000
|
|
426 |
Util CreateDestination DEST_TEST
|
|
427 |
Util SetUsedDestination DEST_TEST
|
|
428 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
429 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
430 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
431 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
432 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
433 |
|
|
434 |
create VCXConnUtilTest VCXCONN
|
|
435 |
VCXCONN PrepareCase
|
|
436 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
437 |
VCXCONN GetIap DEST_TEST
|
|
438 |
waittestclass VCXCONN
|
|
439 |
|
|
440 |
Util WaitForConnectionActivity AP1
|
|
441 |
waittestclass Util
|
|
442 |
|
|
443 |
Util DeleteMethod DEST_TEST AP2
|
|
444 |
|
|
445 |
pause 5000
|
|
446 |
|
|
447 |
print OK!
|
|
448 |
VCXCONN ShutdownTester
|
|
449 |
delete VCXCONN
|
|
450 |
pause 3000
|
|
451 |
delete Util
|
|
452 |
[Endtest]
|
|
453 |
|
|
454 |
[Test]
|
|
455 |
title ET31115 Another app connected to the dest, connect 1
|
|
456 |
create VCXTestUtilModule Util
|
|
457 |
|
|
458 |
allowerrorcodes KERRNOTFOUND
|
|
459 |
Util DeleteDestination DEST_TEST
|
|
460 |
pause 1000
|
|
461 |
Util CreateDestination DEST_TEST
|
|
462 |
Util SetUsedDestination DEST_TEST
|
|
463 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
464 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
465 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
466 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
467 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
468 |
|
|
469 |
Util Connect AP1
|
|
470 |
waittestclass Util
|
|
471 |
|
|
472 |
create VCXConnUtilTest VCXCONN
|
|
473 |
VCXCONN PrepareCase
|
|
474 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
475 |
VCXCONN GetIap DEST_TEST
|
|
476 |
waittestclass VCXCONN
|
|
477 |
|
|
478 |
Util Disconnect
|
|
479 |
pause 3000
|
|
480 |
|
|
481 |
Util WaitForConnectionActivity AP1
|
|
482 |
waittestclass Util
|
|
483 |
VCXCONN PrintConnUtilDetails
|
|
484 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
485 |
|
|
486 |
print OK!
|
|
487 |
VCXCONN ShutdownTester
|
|
488 |
delete VCXCONN
|
|
489 |
pause 3000
|
|
490 |
delete Util
|
|
491 |
[Endtest]
|
|
492 |
|
|
493 |
[Test]
|
|
494 |
title ET31116 Another app connected to the dest, connect 2
|
|
495 |
create VCXTestUtilModule Util
|
|
496 |
|
|
497 |
allowerrorcodes KERRNOTFOUND
|
|
498 |
Util DeleteDestination DEST_TEST
|
|
499 |
pause 1000
|
|
500 |
Util CreateDestination DEST_TEST
|
|
501 |
Util SetUsedDestination DEST_TEST
|
|
502 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
503 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
504 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
505 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
506 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
507 |
|
|
508 |
Util Connect 3G_AP
|
|
509 |
waittestclass Util
|
|
510 |
|
|
511 |
create VCXConnUtilTest VCXCONN
|
|
512 |
VCXCONN PrepareCase
|
|
513 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
514 |
VCXCONN GetIap DEST_TEST
|
|
515 |
waittestclass VCXCONN
|
|
516 |
|
|
517 |
Util Disconnect
|
|
518 |
pause 3000
|
|
519 |
|
|
520 |
Util WaitForConnectionActivity 3G_AP
|
|
521 |
waittestclass Util
|
|
522 |
|
|
523 |
VCXCONN PrintConnUtilDetails
|
|
524 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
525 |
|
|
526 |
print OK!
|
|
527 |
VCXCONN ShutdownTester
|
|
528 |
delete VCXCONN
|
|
529 |
pause 3000
|
|
530 |
delete Util
|
|
531 |
[Endtest]
|
|
532 |
|
|
533 |
[Test]
|
|
534 |
title ET31117 Another app connected to 2nd dest, connect
|
|
535 |
create VCXTestUtilModule Util
|
|
536 |
|
|
537 |
allowerrorcodes KERRNOTFOUND
|
|
538 |
Util DeleteDestination DEST_TEST
|
|
539 |
pause 1000
|
|
540 |
Util CreateDestination DEST_TEST
|
|
541 |
Util SetUsedDestination DEST_TEST
|
|
542 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
543 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
544 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
545 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
546 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
547 |
|
|
548 |
Util Connect 3G_AP
|
|
549 |
waittestclass Util
|
|
550 |
|
|
551 |
create VCXConnUtilTest VCXCONN
|
|
552 |
VCXCONN PrepareCase
|
|
553 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
554 |
VCXCONN GetIap DEST_TEST
|
|
555 |
waittestclass VCXCONN
|
|
556 |
VCXCONN PrintConnUtilDetails
|
|
557 |
|
|
558 |
Util Disconnect
|
|
559 |
pause 3000
|
|
560 |
|
|
561 |
Util WaitForConnectionActivity 3G_AP
|
|
562 |
waittestclass Util
|
|
563 |
|
|
564 |
print OK!
|
|
565 |
VCXCONN ShutdownTester
|
|
566 |
delete VCXCONN
|
|
567 |
pause 3000
|
|
568 |
delete Util
|
|
569 |
[Endtest]
|
|
570 |
|
|
571 |
[Test]
|
|
572 |
title ET31118 Connect, another app connects, disconnect
|
|
573 |
create VCXTestUtilModule Util
|
|
574 |
|
|
575 |
allowerrorcodes KERRNOTFOUND
|
|
576 |
Util DeleteDestination DEST_TEST
|
|
577 |
pause 1000
|
|
578 |
Util CreateDestination DEST_TEST
|
|
579 |
Util SetUsedDestination DEST_TEST
|
|
580 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
581 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
582 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
583 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
584 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
585 |
|
|
586 |
create VCXConnUtilTest VCXCONN
|
|
587 |
VCXCONN PrepareCase
|
|
588 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
589 |
VCXCONN GetIap DEST_TEST
|
|
590 |
waittestclass VCXCONN
|
|
591 |
|
|
592 |
Util WaitForConnectionActivity AP1
|
|
593 |
waittestclass Util
|
|
594 |
|
|
595 |
Util Connect AP1
|
|
596 |
waittestclass Util
|
|
597 |
|
|
598 |
VCXCONN Disconnect
|
|
599 |
waittestclass VCXCONN
|
|
600 |
VCXCONN PrintConnUtilDetails
|
|
601 |
|
|
602 |
pause 4000
|
|
603 |
|
|
604 |
Util WaitForConnectionActivity AP1
|
|
605 |
waittestclass Util
|
|
606 |
|
|
607 |
print OK!
|
|
608 |
VCXCONN ShutdownTester
|
|
609 |
delete VCXCONN
|
|
610 |
pause 3000
|
|
611 |
delete Util
|
|
612 |
[Endtest]
|
|
613 |
|
|
614 |
[Test]
|
|
615 |
title ET31120 Connect 2nd dest when connected to 1st already
|
|
616 |
create VCXTestUtilModule Util
|
|
617 |
|
|
618 |
allowerrorcodes KERRNOTFOUND
|
|
619 |
Util DeleteDestination DEST_TEST
|
|
620 |
pause 1000
|
|
621 |
Util CreateDestination DEST_TEST
|
|
622 |
Util SetUsedDestination DEST_TEST
|
|
623 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
624 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
625 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
626 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
627 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
628 |
|
|
629 |
create VCXConnUtilTest VCXCONN
|
|
630 |
VCXCONN PrepareCase
|
|
631 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
632 |
|
|
633 |
VCXCONN GetIap DEST_TEST
|
|
634 |
waittestclass VCXCONN
|
|
635 |
|
|
636 |
Util WaitForConnectionActivity AP1
|
|
637 |
waittestclass Util
|
|
638 |
|
|
639 |
VCXCONN GetIap "Internet"
|
|
640 |
waittestclass VCXCONN
|
|
641 |
|
|
642 |
pause 2000
|
|
643 |
|
|
644 |
Util WaitForConnectionActivity AP1
|
|
645 |
waittestclass Util
|
|
646 |
|
|
647 |
VCXCONN Disconnect
|
|
648 |
waittestclass VCXCONN
|
|
649 |
|
|
650 |
print OK!
|
|
651 |
VCXCONN ShutdownTester
|
|
652 |
delete VCXCONN
|
|
653 |
pause 3000
|
|
654 |
delete Util
|
|
655 |
[Endtest]
|
|
656 |
|
|
657 |
[Test]
|
|
658 |
title ET31121 Connect 2nd dest, disconnect, connect to 1st
|
|
659 |
create VCXTestUtilModule Util
|
|
660 |
|
|
661 |
allowerrorcodes KERRNOTFOUND
|
|
662 |
Util DeleteDestination DEST_TEST
|
|
663 |
pause 1000
|
|
664 |
Util CreateDestination DEST_TEST
|
|
665 |
Util SetUsedDestination DEST_TEST
|
|
666 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
667 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
668 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
669 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
670 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
671 |
|
|
672 |
allowerrorcodes KERRNOTFOUND
|
|
673 |
Util DeleteDestination DEST_TEST2
|
|
674 |
pause 1000
|
|
675 |
Util CreateDestination DEST_TEST2
|
|
676 |
Util DeleteDestinationAfterwards DEST_TEST2
|
|
677 |
Util CopyMethod 3G_AP AP3 DEST_TEST2
|
|
678 |
Util SetMethodPriority DEST_TEST2 AP3 0
|
|
679 |
|
|
680 |
create VCXConnUtilTest VCXCONN
|
|
681 |
VCXCONN PrepareCase
|
|
682 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
683 |
|
|
684 |
VCXCONN GetIap DEST_TEST
|
|
685 |
waittestclass VCXCONN
|
|
686 |
|
|
687 |
Util WaitForConnectionActivity AP1
|
|
688 |
waittestclass Util
|
|
689 |
|
|
690 |
VCXCONN Disconnect
|
|
691 |
waittestclass VCXCONN
|
|
692 |
|
|
693 |
Util WaitUntilConnectionIsClosed AP1
|
|
694 |
waittestclass Util
|
|
695 |
|
|
696 |
VCXCONN PrintConnUtilDetails
|
|
697 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
698 |
VCXCONN GetIap DEST_TEST2
|
|
699 |
waittestclass VCXCONN
|
|
700 |
VCXCONN PrintConnUtilDetails
|
|
701 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
702 |
|
|
703 |
Util WaitForConnectionActivity AP1
|
|
704 |
waittestclass Util
|
|
705 |
|
|
706 |
VCXCONN Disconnect
|
|
707 |
waittestclass VCXCONN
|
|
708 |
|
|
709 |
print OK!
|
|
710 |
VCXCONN ShutdownTester
|
|
711 |
delete VCXCONN
|
|
712 |
pause 3000
|
|
713 |
delete Util
|
|
714 |
[Endtest]
|
|
715 |
|
|
716 |
[Test]
|
|
717 |
title ET31122 Connect, disconnect, change IAP prio, repeat
|
|
718 |
create VCXTestUtilModule Util
|
|
719 |
|
|
720 |
allowerrorcodes KERRNOTFOUND
|
|
721 |
Util DeleteDestination DEST_TEST
|
|
722 |
pause 1000
|
|
723 |
Util CreateDestination DEST_TEST
|
|
724 |
Util SetUsedDestination DEST_TEST
|
|
725 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
726 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
727 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
728 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
729 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
730 |
|
|
731 |
create VCXConnUtilTest VCXCONN
|
|
732 |
VCXCONN PrepareCase
|
|
733 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
734 |
|
|
735 |
VCXCONN GetIap DEST_TEST
|
|
736 |
waittestclass VCXCONN
|
|
737 |
|
|
738 |
Util WaitForConnectionActivity AP1
|
|
739 |
waittestclass Util
|
|
740 |
|
|
741 |
VCXCONN Disconnect
|
|
742 |
waittestclass VCXCONN
|
|
743 |
Util WaitUntilConnectionIsClosed AP2
|
|
744 |
waittestclass Util
|
|
745 |
|
|
746 |
Util SetMethodPriority DEST_TEST AP2 0
|
|
747 |
Util SetMethodPriority DEST_TEST AP1 1
|
|
748 |
|
|
749 |
VCXCONN GetIap DEST_TEST
|
|
750 |
waittestclass VCXCONN
|
|
751 |
|
|
752 |
Util WaitForConnectionActivity AP2
|
|
753 |
waittestclass Util
|
|
754 |
|
|
755 |
VCXCONN Disconnect
|
|
756 |
waittestclass VCXCONN
|
|
757 |
Util WaitUntilConnectionIsClosed AP2
|
|
758 |
waittestclass Util
|
|
759 |
|
|
760 |
VCXCONN Disconnect
|
|
761 |
waittestclass VCXCONN
|
|
762 |
|
|
763 |
print OK!
|
|
764 |
VCXCONN ShutdownTester
|
|
765 |
delete VCXCONN
|
|
766 |
pause 3000
|
|
767 |
delete Util
|
|
768 |
[Endtest]
|
|
769 |
|
|
770 |
[Test]
|
|
771 |
title ET31123 Connect, terminate connection 2nd app, connect
|
|
772 |
create VCXTestUtilModule Util
|
|
773 |
|
|
774 |
allowerrorcodes KERRNOTFOUND
|
|
775 |
Util DeleteDestination DEST_TEST
|
|
776 |
pause 1000
|
|
777 |
Util CreateDestination DEST_TEST
|
|
778 |
Util SetUsedDestination DEST_TEST
|
|
779 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
780 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
781 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
782 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
783 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
784 |
|
|
785 |
create VCXConnUtilTest VCXCONN
|
|
786 |
VCXCONN PrepareCase
|
|
787 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
788 |
|
|
789 |
VCXCONN GetIap DEST_TEST
|
|
790 |
waittestclass VCXCONN
|
|
791 |
|
|
792 |
Util WaitForConnectionActivity AP1
|
|
793 |
waittestclass Util
|
|
794 |
|
|
795 |
Util Attach AP1
|
|
796 |
Util Terminate
|
|
797 |
Util WaitUntilConnectionIsClosed AP1
|
|
798 |
waittestclass Util
|
|
799 |
|
|
800 |
pause 5000
|
|
801 |
|
|
802 |
VCXCONN GetIap DEST_TEST
|
|
803 |
waittestclass VCXCONN
|
|
804 |
VCXCONN PrintConnUtilDetails
|
|
805 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
806 |
|
|
807 |
pause 5000
|
|
808 |
|
|
809 |
Util WaitForConnectionActivity AP1
|
|
810 |
waittestclass Util
|
|
811 |
|
|
812 |
VCXCONN Disconnect
|
|
813 |
waittestclass VCXCONN
|
|
814 |
|
|
815 |
print OK!
|
|
816 |
VCXCONN ShutdownTester
|
|
817 |
delete VCXCONN
|
|
818 |
pause 3000
|
|
819 |
delete Util
|
|
820 |
[Endtest]
|
|
821 |
|
|
822 |
[Test]
|
|
823 |
title ET31124 Connect, terminate connection 2nd app, disconnect
|
|
824 |
create VCXTestUtilModule Util
|
|
825 |
|
|
826 |
allowerrorcodes KERRNOTFOUND
|
|
827 |
Util DeleteDestination DEST_TEST
|
|
828 |
pause 1000
|
|
829 |
Util CreateDestination DEST_TEST
|
|
830 |
Util SetUsedDestination DEST_TEST
|
|
831 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
832 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
833 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
834 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
835 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
836 |
pause 2000
|
|
837 |
|
|
838 |
create VCXConnUtilTest VCXCONN
|
|
839 |
VCXCONN PrepareCase
|
|
840 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
841 |
|
|
842 |
VCXCONN GetIap DEST_TEST
|
|
843 |
waittestclass VCXCONN
|
|
844 |
|
|
845 |
Util WaitForConnectionActivity AP1
|
|
846 |
waittestclass Util
|
|
847 |
pause 500
|
|
848 |
|
|
849 |
Util Attach AP1
|
|
850 |
pause 500
|
|
851 |
Util Terminate
|
|
852 |
pause 500
|
|
853 |
Util WaitUntilConnectionIsClosed AP1
|
|
854 |
waittestclass Util
|
|
855 |
pause 500
|
|
856 |
VCXCONN Disconnect
|
|
857 |
waittestclass VCXCONN
|
|
858 |
pause 500
|
|
859 |
VCXCONN PrintConnUtilDetails
|
|
860 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
861 |
|
|
862 |
print OK!
|
|
863 |
VCXCONN ShutdownTester
|
|
864 |
delete VCXCONN
|
|
865 |
pause 3000
|
|
866 |
delete Util
|
|
867 |
[Endtest]
|
|
868 |
|
|
869 |
[Test]
|
|
870 |
title ET31125 Connect, delete instance
|
|
871 |
create VCXTestUtilModule Util
|
|
872 |
|
|
873 |
// Destination with 1 working IAP
|
|
874 |
allowerrorcodes KERRNOTFOUND
|
|
875 |
Util DeleteDestination DEST_TEST
|
|
876 |
pause 1000
|
|
877 |
Util CreateDestination DEST_TEST
|
|
878 |
Util SetUsedDestination DEST_TEST
|
|
879 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
880 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
881 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
882 |
|
|
883 |
create VCXConnUtilTest VCXCONN
|
|
884 |
VCXCONN PrepareCase
|
|
885 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
886 |
VCXCONN GetIap DEST_TEST
|
|
887 |
waittestclass VCXCONN
|
|
888 |
|
|
889 |
Util WaitForConnectionActivity AP1
|
|
890 |
waittestclass Util
|
|
891 |
|
|
892 |
print OK!
|
|
893 |
VCXCONN ShutdownTester
|
|
894 |
delete VCXCONN
|
|
895 |
|
|
896 |
Util WaitUntilConnectionIsClosed AP1
|
|
897 |
waittestclass Util
|
|
898 |
|
|
899 |
delete Util
|
|
900 |
[Endtest]
|
|
901 |
|
|
902 |
[Test]
|
|
903 |
title ET31131 WapIdFromIapIdL
|
|
904 |
create VCXTestUtilModule Util
|
|
905 |
|
|
906 |
allowerrorcodes KERRNOTFOUND
|
|
907 |
Util DeleteDestination DEST_TEST
|
|
908 |
pause 1000
|
|
909 |
Util CreateDestination DEST_TEST
|
|
910 |
Util SetUsedDestination DEST_TEST
|
|
911 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
912 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
913 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
914 |
|
|
915 |
create VCXConnUtilTest VCXCONN
|
|
916 |
VCXCONN PrepareCase
|
|
917 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
918 |
|
|
919 |
VCXCONN WapIdFromIapId AP2
|
|
920 |
waittestclass VCXCONN
|
|
921 |
|
|
922 |
print OK!
|
|
923 |
VCXCONN ShutdownTester
|
|
924 |
delete VCXCONN
|
|
925 |
pause 3000
|
|
926 |
delete Util
|
|
927 |
[Endtest]
|
|
928 |
|
|
929 |
[Test]
|
|
930 |
title ET31132 WapIdFromIapIdL invalid IAP ID
|
|
931 |
create VCXTestUtilModule Util
|
|
932 |
|
|
933 |
create VCXConnUtilTest VCXCONN
|
|
934 |
VCXCONN PrepareCase
|
|
935 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
936 |
|
|
937 |
VCXCONN WapIdFromIapId "invalidiap"
|
|
938 |
allownextresult KERRNOTFOUND
|
|
939 |
waittestclass VCXCONN
|
|
940 |
|
|
941 |
print OK!
|
|
942 |
VCXCONN ShutdownTester
|
|
943 |
delete VCXCONN
|
|
944 |
pause 3000
|
|
945 |
delete Util
|
|
946 |
[Endtest]
|
|
947 |
|