23
|
1 |
#***********************************************************************************
|
|
2 |
#
|
|
3 |
# STIF test script file for testing vcxconnectionutility.dll.
|
|
4 |
#
|
|
5 |
#***********************************************************************************
|
|
6 |
|
|
7 |
[StifSettings]
|
|
8 |
CapsModifier= IptvTestClientApiCapsMod.exe
|
|
9 |
[EndStifSettings]
|
|
10 |
|
|
11 |
[Define]
|
|
12 |
INCLUDE c:\testframework\VCXConnUtilTest.inc
|
|
13 |
INCLUDE c:\testframework\VCXDrives.inc
|
|
14 |
INCLUDE c:\testframework\VCXConsts.inc
|
|
15 |
INCLUDE c:\testframework\VCXErrors.inc
|
|
16 |
[Enddefine]
|
|
17 |
|
|
18 |
#------------------------------------------------------------------------------------
|
|
19 |
#
|
|
20 |
# Setup the environment.
|
|
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 |
#------------------------------------------------------------------------------------
|
|
40 |
#
|
|
41 |
# Test CVcxConnUtility class.
|
|
42 |
#
|
|
43 |
#------------------------------------------------------------------------------------
|
|
44 |
[Test]
|
|
45 |
title ET31126 Create and destroy
|
|
46 |
create VCXTestUtilModule Util
|
|
47 |
|
|
48 |
create VCXConnUtilTest VCXCONN
|
|
49 |
VCXCONN PrepareCase
|
|
50 |
|
|
51 |
VCXCONN Create "MASTERPS"
|
|
52 |
|
|
53 |
print created
|
|
54 |
pause 3000
|
|
55 |
VCXCONN PrintConnUtilDetails
|
|
56 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
57 |
print pausing
|
|
58 |
pause 3000
|
|
59 |
print OK!
|
|
60 |
|
|
61 |
VCXCONN ShutdownTester
|
|
62 |
delete VCXCONN
|
|
63 |
pause 3000
|
|
64 |
delete Util
|
|
65 |
[Endtest]
|
|
66 |
|
|
67 |
#------------------------------------------------------------------------------------
|
|
68 |
#
|
|
69 |
# Test CVcxConnUtility class.
|
|
70 |
#
|
|
71 |
#------------------------------------------------------------------------------------
|
|
72 |
[Test]
|
|
73 |
title ET31101 Connect to destination with 1 IAP
|
|
74 |
create VCXTestUtilModule Util
|
|
75 |
|
|
76 |
// Destination with 1 working IAP
|
|
77 |
allowerrorcodes KERRNOTFOUND
|
|
78 |
Util DeleteDestination DEST_TEST
|
|
79 |
pause 1000
|
|
80 |
Util CreateDestination DEST_TEST
|
|
81 |
Util SetUsedDestination DEST_TEST
|
|
82 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
83 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
84 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
85 |
|
|
86 |
create VCXConnUtilTest VCXCONN
|
|
87 |
VCXCONN PrepareCase
|
|
88 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
89 |
VCXCONN GetIap DEST_TEST
|
|
90 |
waittestclass VCXCONN
|
|
91 |
|
|
92 |
Util WaitForConnectionActivity AP1
|
|
93 |
waittestclass Util
|
|
94 |
VCXCONN PrintConnUtilDetails
|
|
95 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
96 |
|
|
97 |
print OK!
|
|
98 |
VCXCONN ShutdownTester
|
|
99 |
delete VCXCONN
|
|
100 |
pause 3000
|
|
101 |
delete Util
|
|
102 |
[Endtest]
|
|
103 |
|
|
104 |
#------------------------------------------------------------------------------------
|
|
105 |
#
|
|
106 |
# Test CVcxConnUtility class.
|
|
107 |
#
|
|
108 |
#------------------------------------------------------------------------------------
|
|
109 |
[Test]
|
|
110 |
title ET31102 Connect to destination with 2 IAPs
|
|
111 |
create VCXTestUtilModule Util
|
|
112 |
|
|
113 |
// Destination with 2 working IAPs
|
|
114 |
allowerrorcodes KERRNOTFOUND
|
|
115 |
Util DeleteDestination DEST_TEST
|
|
116 |
pause 1000
|
|
117 |
Util CreateDestination DEST_TEST
|
|
118 |
Util SetUsedDestination DEST_TEST
|
|
119 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
120 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
121 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
122 |
Util SetMethodPriority DEST_TEST AP2 0
|
|
123 |
Util SetMethodPriority DEST_TEST AP1 1´
|
|
124 |
|
|
125 |
create VCXConnUtilTest VCXCONN
|
|
126 |
VCXCONN PrepareCase
|
|
127 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
128 |
VCXCONN GetIap DEST_TEST
|
|
129 |
waittestclass VCXCONN
|
|
130 |
|
|
131 |
Util WaitForConnectionActivity AP2
|
|
132 |
waittestclass Util
|
|
133 |
VCXCONN PrintConnUtilDetails
|
|
134 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
135 |
|
|
136 |
print OK!
|
|
137 |
VCXCONN ShutdownTester
|
|
138 |
delete VCXCONN
|
|
139 |
pause 3000
|
|
140 |
delete Util
|
|
141 |
[Endtest]
|
|
142 |
|
|
143 |
#------------------------------------------------------------------------------------
|
|
144 |
#
|
|
145 |
# Test CVcxConnUtility class.
|
|
146 |
#
|
|
147 |
#------------------------------------------------------------------------------------
|
|
148 |
[Test]
|
|
149 |
title ET31103 Connect to destination with 10 IAPs
|
|
150 |
create VCXTestUtilModule Util
|
|
151 |
|
|
152 |
// Destination with 10 working IAPs
|
|
153 |
allowerrorcodes KERRNOTFOUND
|
|
154 |
Util DeleteDestination DEST_TEST
|
|
155 |
pause 1000
|
|
156 |
Util CreateDestination DEST_TEST
|
|
157 |
Util SetUsedDestination DEST_TEST
|
|
158 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
159 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
160 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
161 |
Util CopyMethod 3G_AP AP3 DEST_TEST
|
|
162 |
Util CopyMethod 3G_AP AP4 DEST_TEST
|
|
163 |
Util CopyMethod 3G_AP AP5 DEST_TEST
|
|
164 |
Util CopyMethod 3G_AP AP6 DEST_TEST
|
|
165 |
Util CopyMethod 3G_AP AP7 DEST_TEST
|
|
166 |
Util CopyMethod 3G_AP AP8 DEST_TEST
|
|
167 |
Util CopyMethod 3G_AP AP9 DEST_TEST
|
|
168 |
Util CopyMethod 3G_AP AP10 DEST_TEST
|
|
169 |
|
|
170 |
Util SetMethodPriority DEST_TEST AP5 0
|
|
171 |
Util SetMethodPriority DEST_TEST AP1 1
|
|
172 |
Util SetMethodPriority DEST_TEST AP2 2
|
|
173 |
Util SetMethodPriority DEST_TEST AP3 3
|
|
174 |
Util SetMethodPriority DEST_TEST AP4 4
|
|
175 |
Util SetMethodPriority DEST_TEST AP6 5
|
|
176 |
Util SetMethodPriority DEST_TEST AP7 6
|
|
177 |
Util SetMethodPriority DEST_TEST AP8 7
|
|
178 |
Util SetMethodPriority DEST_TEST AP9 8
|
|
179 |
Util SetMethodPriority DEST_TEST AP10 9
|
|
180 |
|
|
181 |
create VCXConnUtilTest VCXCONN
|
|
182 |
VCXCONN PrepareCase
|
|
183 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
184 |
VCXCONN GetIap DEST_TEST
|
|
185 |
waittestclass VCXCONN
|
|
186 |
|
|
187 |
Util WaitForConnectionActivity AP5
|
|
188 |
waittestclass Util
|
|
189 |
VCXCONN PrintConnUtilDetails
|
|
190 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
191 |
|
|
192 |
print OK!
|
|
193 |
VCXCONN ShutdownTester
|
|
194 |
delete VCXCONN
|
|
195 |
pause 3000
|
|
196 |
delete Util
|
|
197 |
[Endtest]
|
|
198 |
|
|
199 |
#------------------------------------------------------------------------------------
|
|
200 |
#
|
|
201 |
# Test CVcxConnUtility class.
|
|
202 |
# Note: Disabled, shows IAP query notification.
|
|
203 |
#
|
|
204 |
#------------------------------------------------------------------------------------
|
|
205 |
#[Test]
|
|
206 |
#title ET31104 Connect to destination with no IAP
|
|
207 |
#create VCXTestUtilModule Util
|
|
208 |
#
|
|
209 |
#Destination with no IAPs
|
|
210 |
#allowerrorcodes KERRNOTFOUND
|
|
211 |
#Util DeleteDestination DEST_TEST
|
|
212 |
#pause 1000
|
|
213 |
#Util CreateDestination DEST_TEST
|
|
214 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
215 |
#
|
|
216 |
#create VCXConnUtilTest VCXCONN
|
|
217 |
#VCXCONN PrepareCase
|
|
218 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
219 |
#allownextresult KERRGENERAL
|
|
220 |
#VCXCONN GetIap DEST_TEST
|
|
221 |
#VCXCONN PrintConnUtilDetails
|
|
222 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
223 |
#
|
|
224 |
#print OK!
|
|
225 |
#VCXCONN ShutdownTester
|
|
226 |
#delete VCXCONN
|
|
227 |
#pause 3000
|
|
228 |
#delete Util
|
|
229 |
#[Endtest]
|
|
230 |
|
|
231 |
#------------------------------------------------------------------------------------
|
|
232 |
#
|
|
233 |
# Test CVcxConnUtility class.
|
|
234 |
# Note: Disabled, shows IAP query notification.
|
|
235 |
#
|
|
236 |
#------------------------------------------------------------------------------------
|
|
237 |
#[Test]
|
|
238 |
#title ET31106 Connect to destination with working and bad IAPs
|
|
239 |
#create VCXTestUtilModule Util
|
|
240 |
|
|
241 |
#// Destination with good and bad IAP
|
|
242 |
#allowerrorcodes KERRNOTFOUND
|
|
243 |
#Util DeleteDestination DEST_TEST
|
|
244 |
#pause 1000
|
|
245 |
#Util CreateDestination DEST_TEST
|
|
246 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
247 |
#Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
248 |
#Util CopyMethod BAD_AP AP2 DEST_TEST
|
|
249 |
#Util SetMethodPriority DEST_TEST AP1 0
|
|
250 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
251 |
|
|
252 |
#create VCXConnUtilTest VCXCONN
|
|
253 |
#VCXCONN PrepareCase
|
|
254 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
255 |
#VCXCONN GetIap DEST_TEST
|
|
256 |
#waittestclass VCXCONN
|
|
257 |
|
|
258 |
#Util WaitForConnectionActivity AP1
|
|
259 |
#waittestclass Util
|
|
260 |
#VCXCONN PrintConnUtilDetails
|
|
261 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
262 |
#
|
|
263 |
#print OK!
|
|
264 |
#VCXCONN ShutdownTester
|
|
265 |
#delete VCXCONN
|
|
266 |
#pause 3000
|
|
267 |
#delete Util
|
|
268 |
#[Endtest]
|
|
269 |
|
|
270 |
#------------------------------------------------------------------------------------
|
|
271 |
#
|
|
272 |
# Test CVcxConnUtility class.
|
|
273 |
#
|
|
274 |
#------------------------------------------------------------------------------------
|
|
275 |
#[Test]
|
|
276 |
#title ET31107 Connect to destination with bad and working IAPs
|
|
277 |
#create VCXTestUtilModule Util
|
|
278 |
#
|
|
279 |
#// Destination with bad and good IAP
|
|
280 |
#allowerrorcodes KERRNOTFOUND
|
|
281 |
#Util DeleteDestination DEST_TEST
|
|
282 |
#pause 1000
|
|
283 |
#Util CreateDestination DEST_TEST
|
|
284 |
#Util SetUsedDestination DEST_TEST
|
|
285 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
286 |
#Util CopyMethod BAD_AP AP1 DEST_TEST
|
|
287 |
#Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
288 |
#Util SetMethodPriority DEST_TEST AP1 0
|
|
289 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
290 |
#
|
|
291 |
#create VCXConnUtilTest VCXCONN
|
|
292 |
#VCXCONN PrepareCase
|
|
293 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
294 |
#
|
|
295 |
#VCXCONN GetIap DEST_TEST
|
|
296 |
#allowerrorcodes KERRGENERAL
|
|
297 |
#waittestclass VCXCONN
|
|
298 |
#
|
|
299 |
#Util WaitForConnectionActivity AP2
|
|
300 |
#allowerrorcodes KERRTIMEDOUT
|
|
301 |
#waittestclass Util
|
|
302 |
#
|
|
303 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
304 |
#
|
|
305 |
#print OK!
|
|
306 |
#VCXCONN ShutdownTester
|
|
307 |
#delete VCXCONN
|
|
308 |
#pause 3000
|
|
309 |
#delete Util
|
|
310 |
#[Endtest]
|
|
311 |
|
|
312 |
#------------------------------------------------------------------------------------
|
|
313 |
#
|
|
314 |
# Test CVcxConnUtility class.
|
|
315 |
#
|
|
316 |
#------------------------------------------------------------------------------------
|
|
317 |
[Test]
|
|
318 |
title ET31108 Connect, disconnect
|
|
319 |
create VCXTestUtilModule Util
|
|
320 |
|
|
321 |
// Destination with 1 working IAP
|
|
322 |
allowerrorcodes KERRNOTFOUND
|
|
323 |
Util DeleteDestination DEST_TEST
|
|
324 |
pause 1000
|
|
325 |
Util CreateDestination DEST_TEST
|
|
326 |
Util SetUsedDestination DEST_TEST
|
|
327 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
328 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
329 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
330 |
|
|
331 |
create VCXConnUtilTest VCXCONN
|
|
332 |
VCXCONN PrepareCase
|
|
333 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
334 |
VCXCONN GetIap DEST_TEST
|
|
335 |
waittestclass VCXCONN
|
|
336 |
Util WaitForConnectionActivity AP1
|
|
337 |
waittestclass Util
|
|
338 |
|
|
339 |
VCXCONN Disconnect
|
|
340 |
waittestclass VCXCONN
|
|
341 |
Util WaitUntilConnectionIsClosed AP1
|
|
342 |
waittestclass Util
|
|
343 |
VCXCONN PrintConnUtilDetails
|
|
344 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
345 |
pause 3000
|
|
346 |
|
|
347 |
print OK!
|
|
348 |
VCXCONN ShutdownTester
|
|
349 |
delete VCXCONN
|
|
350 |
pause 3000
|
|
351 |
delete Util
|
|
352 |
[Endtest]
|
|
353 |
|
|
354 |
#------------------------------------------------------------------------------------
|
|
355 |
#
|
|
356 |
# Test CVcxConnUtility class.
|
|
357 |
#
|
|
358 |
#------------------------------------------------------------------------------------
|
|
359 |
[Test]
|
|
360 |
title ET31109 Connect, disconnect, connect
|
|
361 |
create VCXTestUtilModule Util
|
|
362 |
|
|
363 |
// Destination with 1 working IAP
|
|
364 |
allowerrorcodes KERRNOTFOUND
|
|
365 |
Util DeleteDestination DEST_TEST
|
|
366 |
pause 1000
|
|
367 |
Util CreateDestination DEST_TEST
|
|
368 |
Util SetUsedDestination DEST_TEST
|
|
369 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
370 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
371 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
372 |
|
|
373 |
create VCXConnUtilTest VCXCONN
|
|
374 |
VCXCONN PrepareCase
|
|
375 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
376 |
VCXCONN GetIap DEST_TEST
|
|
377 |
waittestclass VCXCONN
|
|
378 |
Util WaitForConnectionActivity AP1
|
|
379 |
waittestclass Util
|
|
380 |
|
|
381 |
VCXCONN Disconnect
|
|
382 |
waittestclass VCXCONN
|
|
383 |
pause 3000
|
|
384 |
Util WaitUntilConnectionIsClosed AP1
|
|
385 |
waittestclass Util
|
|
386 |
VCXCONN PrintConnUtilDetails
|
|
387 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
388 |
|
|
389 |
VCXCONN GetIap DEST_TEST
|
|
390 |
waittestclass VCXCONN
|
|
391 |
Util WaitForConnectionActivity AP1
|
|
392 |
waittestclass Util
|
|
393 |
VCXCONN PrintConnUtilDetails
|
|
394 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
395 |
|
|
396 |
print OK!
|
|
397 |
VCXCONN ShutdownTester
|
|
398 |
delete VCXCONN
|
|
399 |
pause 3000
|
|
400 |
delete Util
|
|
401 |
[Endtest]
|
|
402 |
|
|
403 |
#------------------------------------------------------------------------------------
|
|
404 |
#
|
|
405 |
# Test CVcxConnUtility class.
|
|
406 |
#
|
|
407 |
#------------------------------------------------------------------------------------
|
|
408 |
[Test]
|
|
409 |
title ET31110 Connect, disconnect, disconnect
|
|
410 |
create VCXTestUtilModule Util
|
|
411 |
|
|
412 |
// Destination with 1 working IAP
|
|
413 |
allowerrorcodes KERRNOTFOUND
|
|
414 |
Util DeleteDestination DEST_TEST
|
|
415 |
pause 1000
|
|
416 |
Util CreateDestination DEST_TEST
|
|
417 |
Util SetUsedDestination DEST_TEST
|
|
418 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
419 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
420 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
421 |
|
|
422 |
create VCXConnUtilTest VCXCONN
|
|
423 |
VCXCONN PrepareCase
|
|
424 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
425 |
VCXCONN GetIap DEST_TEST
|
|
426 |
waittestclass VCXCONN
|
|
427 |
|
|
428 |
Util WaitForConnectionActivity AP1
|
|
429 |
waittestclass Util
|
|
430 |
|
|
431 |
VCXCONN Disconnect
|
|
432 |
waittestclass VCXCONN
|
|
433 |
Util WaitUntilConnectionIsClosed AP1
|
|
434 |
waittestclass Util
|
|
435 |
|
|
436 |
VCXCONN Disconnect
|
|
437 |
waittestclass VCXCONN
|
|
438 |
|
|
439 |
Util WaitUntilConnectionIsClosed AP1
|
|
440 |
waittestclass Util
|
|
441 |
|
|
442 |
print OK!
|
|
443 |
VCXCONN ShutdownTester
|
|
444 |
delete VCXCONN
|
|
445 |
pause 3000
|
|
446 |
delete Util
|
|
447 |
[Endtest]
|
|
448 |
|
|
449 |
#------------------------------------------------------------------------------------
|
|
450 |
#
|
|
451 |
# Test CVcxConnUtility class.
|
|
452 |
#
|
|
453 |
#------------------------------------------------------------------------------------
|
|
454 |
[Test]
|
|
455 |
title ET31111 Disconnect without connection, then connect
|
|
456 |
create VCXTestUtilModule Util
|
|
457 |
|
|
458 |
// Destination with 1 working IAP
|
|
459 |
allowerrorcodes KERRNOTFOUND
|
|
460 |
Util DeleteDestination DEST_TEST
|
|
461 |
pause 1000
|
|
462 |
Util CreateDestination DEST_TEST
|
|
463 |
Util SetUsedDestination DEST_TEST
|
|
464 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
465 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
466 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
467 |
|
|
468 |
create VCXConnUtilTest VCXCONN
|
|
469 |
VCXCONN PrepareCase
|
|
470 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
471 |
VCXCONN Disconnect
|
|
472 |
waittestclass VCXCONN
|
|
473 |
|
|
474 |
VCXCONN GetIap DEST_TEST
|
|
475 |
waittestclass VCXCONN
|
|
476 |
pause 3000
|
|
477 |
Util WaitForConnectionActivity AP1
|
|
478 |
waittestclass Util
|
|
479 |
VCXCONN PrintConnUtilDetails
|
|
480 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
481 |
|
|
482 |
print OK!
|
|
483 |
VCXCONN ShutdownTester
|
|
484 |
delete VCXCONN
|
|
485 |
pause 3000
|
|
486 |
delete Util
|
|
487 |
[Endtest]
|
|
488 |
|
|
489 |
#------------------------------------------------------------------------------------
|
|
490 |
#
|
|
491 |
# Test CVcxConnUtility class.
|
|
492 |
#
|
|
493 |
#------------------------------------------------------------------------------------
|
|
494 |
[Test]
|
|
495 |
title ET31112 2nd IAP priority changes during connection
|
|
496 |
create VCXTestUtilModule Util
|
|
497 |
|
|
498 |
// Destination with 1 working IAP
|
|
499 |
allowerrorcodes KERRNOTFOUND
|
|
500 |
Util DeleteDestination DEST_TEST
|
|
501 |
pause 1000
|
|
502 |
Util CreateDestination DEST_TEST
|
|
503 |
Util SetUsedDestination DEST_TEST
|
|
504 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
505 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
506 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
507 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
508 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
509 |
|
|
510 |
create VCXConnUtilTest VCXCONN
|
|
511 |
VCXCONN PrepareCase
|
|
512 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
513 |
VCXCONN GetIap DEST_TEST
|
|
514 |
waittestclass VCXCONN
|
|
515 |
|
|
516 |
pause 1000
|
|
517 |
Util SetMethodPriority DEST_TEST AP2 0
|
|
518 |
|
|
519 |
pause 5000
|
|
520 |
|
|
521 |
Util WaitForConnectionActivity AP1
|
|
522 |
waittestclass Util
|
|
523 |
VCXCONN PrintConnUtilDetails
|
|
524 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
525 |
|
|
526 |
pause 5000
|
|
527 |
|
|
528 |
print OK!
|
|
529 |
VCXCONN ShutdownTester
|
|
530 |
delete VCXCONN
|
|
531 |
pause 3000
|
|
532 |
delete Util
|
|
533 |
[Endtest]
|
|
534 |
|
|
535 |
#------------------------------------------------------------------------------------
|
|
536 |
#
|
|
537 |
# Test CVcxConnUtility class.
|
|
538 |
#
|
|
539 |
#------------------------------------------------------------------------------------
|
|
540 |
[Test]
|
|
541 |
title ET31113 IAP priority changes during connection
|
|
542 |
create VCXTestUtilModule Util
|
|
543 |
|
|
544 |
// Destination with 1 working IAP
|
|
545 |
allowerrorcodes KERRNOTFOUND
|
|
546 |
Util DeleteDestination DEST_TEST
|
|
547 |
pause 1000
|
|
548 |
Util CreateDestination DEST_TEST
|
|
549 |
Util SetUsedDestination DEST_TEST
|
|
550 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
551 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
552 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
553 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
554 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
555 |
|
|
556 |
create VCXConnUtilTest VCXCONN
|
|
557 |
VCXCONN PrepareCase
|
|
558 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
559 |
VCXCONN GetIap DEST_TEST
|
|
560 |
waittestclass VCXCONN
|
|
561 |
|
|
562 |
pause 1000
|
|
563 |
Util SetMethodPriority DEST_TEST AP1 1
|
|
564 |
|
|
565 |
pause 5000
|
|
566 |
|
|
567 |
Util WaitForConnectionActivity AP1
|
|
568 |
waittestclass Util
|
|
569 |
VCXCONN PrintConnUtilDetails
|
|
570 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
571 |
|
|
572 |
pause 5000
|
|
573 |
|
|
574 |
print OK!
|
|
575 |
VCXCONN ShutdownTester
|
|
576 |
delete VCXCONN
|
|
577 |
pause 3000
|
|
578 |
delete Util
|
|
579 |
[Endtest]
|
|
580 |
|
|
581 |
#------------------------------------------------------------------------------------
|
|
582 |
#
|
|
583 |
# Test CVcxConnUtility class.
|
|
584 |
#
|
|
585 |
#------------------------------------------------------------------------------------
|
|
586 |
[Test]
|
|
587 |
title ET31114 2nd IAP removed during connection
|
|
588 |
create VCXTestUtilModule Util
|
|
589 |
|
|
590 |
// Destination with 1 working IAP
|
|
591 |
allowerrorcodes KERRNOTFOUND
|
|
592 |
Util DeleteDestination DEST_TEST
|
|
593 |
pause 1000
|
|
594 |
Util CreateDestination DEST_TEST
|
|
595 |
Util SetUsedDestination DEST_TEST
|
|
596 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
597 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
598 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
599 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
600 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
601 |
|
|
602 |
create VCXConnUtilTest VCXCONN
|
|
603 |
VCXCONN PrepareCase
|
|
604 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
605 |
VCXCONN GetIap DEST_TEST
|
|
606 |
waittestclass VCXCONN
|
|
607 |
|
|
608 |
Util WaitForConnectionActivity AP1
|
|
609 |
waittestclass Util
|
|
610 |
|
|
611 |
Util DeleteMethod DEST_TEST AP2
|
|
612 |
|
|
613 |
pause 5000
|
|
614 |
|
|
615 |
print OK!
|
|
616 |
VCXCONN ShutdownTester
|
|
617 |
delete VCXCONN
|
|
618 |
pause 3000
|
|
619 |
delete Util
|
|
620 |
[Endtest]
|
|
621 |
|
|
622 |
#------------------------------------------------------------------------------------
|
|
623 |
#
|
|
624 |
# Test CVcxConnUtility class.
|
|
625 |
#
|
|
626 |
#------------------------------------------------------------------------------------
|
|
627 |
[Test]
|
|
628 |
title ET31115 Another app connected to the dest, connect 1
|
|
629 |
create VCXTestUtilModule Util
|
|
630 |
|
|
631 |
allowerrorcodes KERRNOTFOUND
|
|
632 |
Util DeleteDestination DEST_TEST
|
|
633 |
pause 1000
|
|
634 |
Util CreateDestination DEST_TEST
|
|
635 |
Util SetUsedDestination DEST_TEST
|
|
636 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
637 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
638 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
639 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
640 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
641 |
|
|
642 |
Util Connect AP1
|
|
643 |
waittestclass Util
|
|
644 |
|
|
645 |
create VCXConnUtilTest VCXCONN
|
|
646 |
VCXCONN PrepareCase
|
|
647 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
648 |
VCXCONN GetIap DEST_TEST
|
|
649 |
waittestclass VCXCONN
|
|
650 |
|
|
651 |
Util Disconnect
|
|
652 |
pause 3000
|
|
653 |
|
|
654 |
Util WaitForConnectionActivity AP1
|
|
655 |
waittestclass Util
|
|
656 |
VCXCONN PrintConnUtilDetails
|
|
657 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
658 |
|
|
659 |
print OK!
|
|
660 |
VCXCONN ShutdownTester
|
|
661 |
delete VCXCONN
|
|
662 |
pause 3000
|
|
663 |
delete Util
|
|
664 |
[Endtest]
|
|
665 |
|
|
666 |
#------------------------------------------------------------------------------------
|
|
667 |
#
|
|
668 |
# Test CVcxConnUtility class.
|
|
669 |
#
|
|
670 |
#------------------------------------------------------------------------------------
|
|
671 |
[Test]
|
|
672 |
title ET31116 Another app connected to the dest, connect 2
|
|
673 |
create VCXTestUtilModule Util
|
|
674 |
|
|
675 |
allowerrorcodes KERRNOTFOUND
|
|
676 |
Util DeleteDestination DEST_TEST
|
|
677 |
pause 1000
|
|
678 |
Util CreateDestination DEST_TEST
|
|
679 |
Util SetUsedDestination DEST_TEST
|
|
680 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
681 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
682 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
683 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
684 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
685 |
|
|
686 |
Util Connect 3G_AP
|
|
687 |
waittestclass Util
|
|
688 |
|
|
689 |
create VCXConnUtilTest VCXCONN
|
|
690 |
VCXCONN PrepareCase
|
|
691 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
692 |
VCXCONN GetIap DEST_TEST
|
|
693 |
waittestclass VCXCONN
|
|
694 |
|
|
695 |
Util Disconnect
|
|
696 |
pause 3000
|
|
697 |
|
|
698 |
Util WaitForConnectionActivity 3G_AP
|
|
699 |
waittestclass Util
|
|
700 |
|
|
701 |
VCXCONN PrintConnUtilDetails
|
|
702 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
703 |
|
|
704 |
print OK!
|
|
705 |
VCXCONN ShutdownTester
|
|
706 |
delete VCXCONN
|
|
707 |
pause 3000
|
|
708 |
delete Util
|
|
709 |
[Endtest]
|
|
710 |
|
|
711 |
#------------------------------------------------------------------------------------
|
|
712 |
#
|
|
713 |
# Test CVcxConnUtility class.
|
|
714 |
#
|
|
715 |
#------------------------------------------------------------------------------------
|
|
716 |
[Test]
|
|
717 |
title ET31117 Another app connected to 2nd dest, connect
|
|
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 |
Util Connect 3G_AP
|
|
732 |
waittestclass Util
|
|
733 |
|
|
734 |
create VCXConnUtilTest VCXCONN
|
|
735 |
VCXCONN PrepareCase
|
|
736 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
737 |
VCXCONN GetIap DEST_TEST
|
|
738 |
waittestclass VCXCONN
|
|
739 |
VCXCONN PrintConnUtilDetails
|
|
740 |
|
|
741 |
Util Disconnect
|
|
742 |
pause 3000
|
|
743 |
|
|
744 |
Util WaitForConnectionActivity 3G_AP
|
|
745 |
waittestclass Util
|
|
746 |
|
|
747 |
print OK!
|
|
748 |
VCXCONN ShutdownTester
|
|
749 |
delete VCXCONN
|
|
750 |
pause 3000
|
|
751 |
delete Util
|
|
752 |
[Endtest]
|
|
753 |
|
|
754 |
#------------------------------------------------------------------------------------
|
|
755 |
#
|
|
756 |
# Test CVcxConnUtility class.
|
|
757 |
#
|
|
758 |
#------------------------------------------------------------------------------------
|
|
759 |
[Test]
|
|
760 |
title ET31118 Connect, another app connects, disconnect
|
|
761 |
create VCXTestUtilModule Util
|
|
762 |
|
|
763 |
allowerrorcodes KERRNOTFOUND
|
|
764 |
Util DeleteDestination DEST_TEST
|
|
765 |
pause 1000
|
|
766 |
Util CreateDestination DEST_TEST
|
|
767 |
Util SetUsedDestination DEST_TEST
|
|
768 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
769 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
770 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
771 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
772 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
773 |
|
|
774 |
create VCXConnUtilTest VCXCONN
|
|
775 |
VCXCONN PrepareCase
|
|
776 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
777 |
VCXCONN GetIap DEST_TEST
|
|
778 |
waittestclass VCXCONN
|
|
779 |
|
|
780 |
Util WaitForConnectionActivity AP1
|
|
781 |
waittestclass Util
|
|
782 |
|
|
783 |
Util Connect AP1
|
|
784 |
waittestclass Util
|
|
785 |
|
|
786 |
VCXCONN Disconnect
|
|
787 |
waittestclass VCXCONN
|
|
788 |
VCXCONN PrintConnUtilDetails
|
|
789 |
|
|
790 |
pause 4000
|
|
791 |
|
|
792 |
Util WaitForConnectionActivity AP1
|
|
793 |
waittestclass Util
|
|
794 |
|
|
795 |
print OK!
|
|
796 |
VCXCONN ShutdownTester
|
|
797 |
delete VCXCONN
|
|
798 |
pause 3000
|
|
799 |
delete Util
|
|
800 |
[Endtest]
|
|
801 |
|
|
802 |
#------------------------------------------------------------------------------------
|
|
803 |
#
|
|
804 |
# Test CVcxConnUtility class.
|
|
805 |
#
|
|
806 |
#------------------------------------------------------------------------------------
|
|
807 |
[Test]
|
|
808 |
title ET31120 Connect 2nd dest when connected to 1st already
|
|
809 |
create VCXTestUtilModule Util
|
|
810 |
|
|
811 |
allowerrorcodes KERRNOTFOUND
|
|
812 |
Util DeleteDestination DEST_TEST
|
|
813 |
pause 1000
|
|
814 |
Util CreateDestination DEST_TEST
|
|
815 |
Util SetUsedDestination DEST_TEST
|
|
816 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
817 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
818 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
819 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
820 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
821 |
|
|
822 |
create VCXConnUtilTest VCXCONN
|
|
823 |
VCXCONN PrepareCase
|
|
824 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
825 |
|
|
826 |
VCXCONN GetIap DEST_TEST
|
|
827 |
waittestclass VCXCONN
|
|
828 |
|
|
829 |
Util WaitForConnectionActivity AP1
|
|
830 |
waittestclass Util
|
|
831 |
|
|
832 |
VCXCONN GetIap "Internet"
|
|
833 |
waittestclass VCXCONN
|
|
834 |
|
|
835 |
pause 2000
|
|
836 |
|
|
837 |
Util WaitForConnectionActivity AP1
|
|
838 |
waittestclass Util
|
|
839 |
|
|
840 |
VCXCONN Disconnect
|
|
841 |
waittestclass VCXCONN
|
|
842 |
|
|
843 |
print OK!
|
|
844 |
VCXCONN ShutdownTester
|
|
845 |
delete VCXCONN
|
|
846 |
pause 3000
|
|
847 |
delete Util
|
|
848 |
[Endtest]
|
|
849 |
|
|
850 |
#------------------------------------------------------------------------------------
|
|
851 |
#
|
|
852 |
# Test CVcxConnUtility class.
|
|
853 |
#
|
|
854 |
#------------------------------------------------------------------------------------
|
|
855 |
[Test]
|
|
856 |
title ET31121 Connect 2nd dest, disconnect, connect to 1st
|
|
857 |
create VCXTestUtilModule Util
|
|
858 |
|
|
859 |
allowerrorcodes KERRNOTFOUND
|
|
860 |
Util DeleteDestination DEST_TEST
|
|
861 |
pause 1000
|
|
862 |
Util CreateDestination DEST_TEST
|
|
863 |
Util SetUsedDestination DEST_TEST
|
|
864 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
865 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
866 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
867 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
868 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
869 |
|
|
870 |
allowerrorcodes KERRNOTFOUND
|
|
871 |
Util DeleteDestination DEST_TEST2
|
|
872 |
pause 1000
|
|
873 |
Util CreateDestination DEST_TEST2
|
|
874 |
Util DeleteDestinationAfterwards DEST_TEST2
|
|
875 |
Util CopyMethod 3G_AP AP3 DEST_TEST2
|
|
876 |
Util SetMethodPriority DEST_TEST2 AP3 0
|
|
877 |
|
|
878 |
create VCXConnUtilTest VCXCONN
|
|
879 |
VCXCONN PrepareCase
|
|
880 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
881 |
|
|
882 |
VCXCONN GetIap DEST_TEST
|
|
883 |
waittestclass VCXCONN
|
|
884 |
|
|
885 |
Util WaitForConnectionActivity AP1
|
|
886 |
waittestclass Util
|
|
887 |
|
|
888 |
VCXCONN Disconnect
|
|
889 |
waittestclass VCXCONN
|
|
890 |
|
|
891 |
Util WaitUntilConnectionIsClosed AP1
|
|
892 |
waittestclass Util
|
|
893 |
|
|
894 |
VCXCONN PrintConnUtilDetails
|
|
895 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
896 |
VCXCONN GetIap DEST_TEST2
|
|
897 |
waittestclass VCXCONN
|
|
898 |
VCXCONN PrintConnUtilDetails
|
|
899 |
VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
900 |
|
|
901 |
Util WaitForConnectionActivity AP1
|
|
902 |
waittestclass Util
|
|
903 |
|
|
904 |
VCXCONN Disconnect
|
|
905 |
waittestclass VCXCONN
|
|
906 |
|
|
907 |
print OK!
|
|
908 |
VCXCONN ShutdownTester
|
|
909 |
delete VCXCONN
|
|
910 |
pause 3000
|
|
911 |
delete Util
|
|
912 |
[Endtest]
|
|
913 |
|
|
914 |
#------------------------------------------------------------------------------------
|
|
915 |
#
|
|
916 |
# Test CVcxConnUtility class.
|
|
917 |
#
|
|
918 |
#------------------------------------------------------------------------------------
|
|
919 |
[Test]
|
|
920 |
title ET31122 Connect, disconnect, change IAP prio, repeat
|
|
921 |
create VCXTestUtilModule Util
|
|
922 |
|
|
923 |
allowerrorcodes KERRNOTFOUND
|
|
924 |
Util DeleteDestination DEST_TEST
|
|
925 |
pause 1000
|
|
926 |
Util CreateDestination DEST_TEST
|
|
927 |
Util SetUsedDestination DEST_TEST
|
|
928 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
929 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
930 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
931 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
932 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
933 |
|
|
934 |
create VCXConnUtilTest VCXCONN
|
|
935 |
VCXCONN PrepareCase
|
|
936 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
937 |
|
|
938 |
VCXCONN GetIap DEST_TEST
|
|
939 |
waittestclass VCXCONN
|
|
940 |
|
|
941 |
Util WaitForConnectionActivity AP1
|
|
942 |
waittestclass Util
|
|
943 |
|
|
944 |
VCXCONN Disconnect
|
|
945 |
waittestclass VCXCONN
|
|
946 |
Util WaitUntilConnectionIsClosed AP2
|
|
947 |
waittestclass Util
|
|
948 |
|
|
949 |
Util SetMethodPriority DEST_TEST AP2 0
|
|
950 |
Util SetMethodPriority DEST_TEST AP1 1
|
|
951 |
|
|
952 |
VCXCONN GetIap DEST_TEST
|
|
953 |
waittestclass VCXCONN
|
|
954 |
|
|
955 |
Util WaitForConnectionActivity AP2
|
|
956 |
waittestclass Util
|
|
957 |
|
|
958 |
VCXCONN Disconnect
|
|
959 |
waittestclass VCXCONN
|
|
960 |
Util WaitUntilConnectionIsClosed AP2
|
|
961 |
waittestclass Util
|
|
962 |
|
|
963 |
VCXCONN Disconnect
|
|
964 |
waittestclass VCXCONN
|
|
965 |
|
|
966 |
print OK!
|
|
967 |
VCXCONN ShutdownTester
|
|
968 |
delete VCXCONN
|
|
969 |
pause 3000
|
|
970 |
delete Util
|
|
971 |
[Endtest]
|
|
972 |
|
|
973 |
#------------------------------------------------------------------------------------
|
|
974 |
#
|
|
975 |
# Test CVcxConnUtility class.
|
|
976 |
#
|
|
977 |
#------------------------------------------------------------------------------------
|
|
978 |
#[Test]
|
|
979 |
#title ET31123 Connect, terminate connection 2nd app, connect
|
|
980 |
#create VCXTestUtilModule Util
|
|
981 |
#
|
|
982 |
#allowerrorcodes KERRNOTFOUND
|
|
983 |
#Util DeleteDestination DEST_TEST
|
|
984 |
#pause 1000
|
|
985 |
#Util CreateDestination DEST_TEST
|
|
986 |
#Util SetUsedDestination DEST_TEST
|
|
987 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
988 |
#Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
989 |
#Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
990 |
#Util SetMethodPriority DEST_TEST AP1 0
|
|
991 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
992 |
#
|
|
993 |
#create VCXConnUtilTest VCXCONN
|
|
994 |
#VCXCONN PrepareCase
|
|
995 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
996 |
#
|
|
997 |
#VCXCONN GetIap DEST_TEST
|
|
998 |
#waittestclass VCXCONN
|
|
999 |
#
|
|
1000 |
#Util WaitForConnectionActivity AP1
|
|
1001 |
#waittestclass Util
|
|
1002 |
#
|
|
1003 |
#Util Attach AP1
|
|
1004 |
#Util Terminate
|
|
1005 |
#Util WaitUntilConnectionIsClosed AP1
|
|
1006 |
#waittestclass Util
|
|
1007 |
#
|
|
1008 |
#pause 5000
|
|
1009 |
#
|
|
1010 |
#VCXCONN GetIap DEST_TEST
|
|
1011 |
#waittestclass VCXCONN
|
|
1012 |
#VCXCONN PrintConnUtilDetails
|
|
1013 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1014 |
#
|
|
1015 |
#pause 5000
|
|
1016 |
#
|
|
1017 |
#Util WaitForConnectionActivity AP1
|
|
1018 |
#waittestclass Util
|
|
1019 |
#
|
|
1020 |
#VCXCONN Disconnect
|
|
1021 |
#waittestclass VCXCONN
|
|
1022 |
#
|
|
1023 |
#print OK!
|
|
1024 |
#VCXCONN ShutdownTester
|
|
1025 |
#delete VCXCONN
|
|
1026 |
#pause 3000
|
|
1027 |
#delete Util
|
|
1028 |
#[Endtest]
|
|
1029 |
|
|
1030 |
#------------------------------------------------------------------------------------
|
|
1031 |
#
|
|
1032 |
# Test CVcxConnUtility class.
|
|
1033 |
#
|
|
1034 |
#------------------------------------------------------------------------------------
|
|
1035 |
#[Test]
|
|
1036 |
#title ET31124 Connect, terminate connection 2nd app, disconnect
|
|
1037 |
#create VCXTestUtilModule Util
|
|
1038 |
#
|
|
1039 |
#allowerrorcodes KERRNOTFOUND
|
|
1040 |
#Util DeleteDestination DEST_TEST
|
|
1041 |
#pause 1000
|
|
1042 |
#Util CreateDestination DEST_TEST
|
|
1043 |
#Util SetUsedDestination DEST_TEST
|
|
1044 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
1045 |
#Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
1046 |
#Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
1047 |
#Util SetMethodPriority DEST_TEST AP1 0
|
|
1048 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
1049 |
#pause 2000
|
|
1050 |
#
|
|
1051 |
#create VCXConnUtilTest VCXCONN
|
|
1052 |
#VCXCONN PrepareCase
|
|
1053 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1054 |
#
|
|
1055 |
#VCXCONN GetIap DEST_TEST
|
|
1056 |
#waittestclass VCXCONN
|
|
1057 |
#
|
|
1058 |
#Util WaitForConnectionActivity AP1
|
|
1059 |
#waittestclass Util
|
|
1060 |
#pause 500
|
|
1061 |
#
|
|
1062 |
#Util Attach AP1
|
|
1063 |
#pause 500
|
|
1064 |
#Util Terminate
|
|
1065 |
#pause 500
|
|
1066 |
#Util WaitUntilConnectionIsClosed AP1
|
|
1067 |
#waittestclass Util
|
|
1068 |
#pause 500
|
|
1069 |
#VCXCONN Disconnect
|
|
1070 |
#waittestclass VCXCONN
|
|
1071 |
#pause 500
|
|
1072 |
#VCXCONN PrintConnUtilDetails
|
|
1073 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
1074 |
#
|
|
1075 |
#print OK!
|
|
1076 |
#VCXCONN ShutdownTester
|
|
1077 |
#delete VCXCONN
|
|
1078 |
#pause 3000
|
|
1079 |
#delete Util
|
|
1080 |
#[Endtest]
|
|
1081 |
|
|
1082 |
#------------------------------------------------------------------------------------
|
|
1083 |
#
|
|
1084 |
# Test CVcxConnUtility class.
|
|
1085 |
#
|
|
1086 |
#------------------------------------------------------------------------------------
|
|
1087 |
[Test]
|
|
1088 |
title ET31125 Connect, delete instance
|
|
1089 |
create VCXTestUtilModule Util
|
|
1090 |
|
|
1091 |
// Destination with 1 working IAP
|
|
1092 |
allowerrorcodes KERRNOTFOUND
|
|
1093 |
Util DeleteDestination DEST_TEST
|
|
1094 |
pause 1000
|
|
1095 |
Util CreateDestination DEST_TEST
|
|
1096 |
Util SetUsedDestination DEST_TEST
|
|
1097 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
1098 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
1099 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
1100 |
|
|
1101 |
create VCXConnUtilTest VCXCONN
|
|
1102 |
VCXCONN PrepareCase
|
|
1103 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1104 |
VCXCONN GetIap DEST_TEST
|
|
1105 |
waittestclass VCXCONN
|
|
1106 |
|
|
1107 |
Util WaitForConnectionActivity AP1
|
|
1108 |
waittestclass Util
|
|
1109 |
|
|
1110 |
print OK!
|
|
1111 |
VCXCONN ShutdownTester
|
|
1112 |
delete VCXCONN
|
|
1113 |
|
|
1114 |
Util WaitUntilConnectionIsClosed AP1
|
|
1115 |
waittestclass Util
|
|
1116 |
|
|
1117 |
delete Util
|
|
1118 |
[Endtest]
|
|
1119 |
|
|
1120 |
#------------------------------------------------------------------------------------
|
|
1121 |
#
|
|
1122 |
# Test CVcxConnUtility class.
|
|
1123 |
#
|
|
1124 |
#------------------------------------------------------------------------------------
|
|
1125 |
#[Test]
|
|
1126 |
#title ET31127 Roaming - Connect 3G, WLAN becomes available
|
|
1127 |
#create VCXTestUtilModule Util
|
|
1128 |
#
|
|
1129 |
#allowerrorcodes KERRNOTFOUND
|
|
1130 |
#Util DeleteDestination DEST_TEST
|
|
1131 |
#pause 1000
|
|
1132 |
#Util CreateDestination DEST_TEST
|
|
1133 |
#Util SetUsedDestination DEST_TEST
|
|
1134 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
1135 |
#Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
1136 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
1137 |
#
|
|
1138 |
#create VCXConnUtilTest VCXCONN
|
|
1139 |
#VCXCONN PrepareCase
|
|
1140 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1141 |
#
|
|
1142 |
#VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxConnected
|
|
1143 |
#VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxRoamingRequest
|
|
1144 |
#VCXCONN AddWaitedProperty EVCxPSNbRoamAccepted 1
|
|
1145 |
#VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxConnected
|
|
1146 |
#
|
|
1147 |
#VCXCONN GetIap DEST_TEST
|
|
1148 |
#waittestclass VCXCONN
|
|
1149 |
#
|
|
1150 |
#Util WaitForConnectionActivity AP2
|
|
1151 |
#waittestclass Util
|
|
1152 |
#VCXCONN PrintConnUtilDetails
|
|
1153 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1154 |
#
|
|
1155 |
#Util CopyMethod WLAN_AP AP3 DEST_TEST
|
|
1156 |
#Util SetMethodPriority DEST_TEST AP3 0
|
|
1157 |
#
|
|
1158 |
#VCXCONN WaitForPropertyQueue
|
|
1159 |
#waittestclass VCXCONN
|
|
1160 |
#
|
|
1161 |
#VCXCONN PrintConnUtilDetails
|
|
1162 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1163 |
#
|
|
1164 |
#Util WaitForConnectionActivity AP3
|
|
1165 |
#waittestclass Util
|
|
1166 |
#
|
|
1167 |
#print OK!
|
|
1168 |
#VCXCONN ShutdownTester
|
|
1169 |
#delete VCXCONN
|
|
1170 |
#pause 3000
|
|
1171 |
#delete Util
|
|
1172 |
#[Endtest]
|
|
1173 |
|
|
1174 |
#------------------------------------------------------------------------------------
|
|
1175 |
#
|
|
1176 |
# Test CVcxConnUtility class.
|
|
1177 |
#
|
|
1178 |
#------------------------------------------------------------------------------------
|
|
1179 |
[Test]
|
|
1180 |
#title ET31128 Roaming - Connect WLAN, 3G becomes available
|
|
1181 |
#create VCXTestUtilModule Util
|
|
1182 |
#
|
|
1183 |
#allowerrorcodes KERRNOTFOUND
|
|
1184 |
#Util DeleteDestination DEST_TEST
|
|
1185 |
#pause 1000
|
|
1186 |
#Util CreateDestination DEST_TEST
|
|
1187 |
#Util SetUsedDestination DEST_TEST
|
|
1188 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
1189 |
#Util CopyMethod WLAN_AP AP2 DEST_TEST
|
|
1190 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
1191 |
#
|
|
1192 |
#create VCXConnUtilTest VCXCONN
|
|
1193 |
#VCXCONN PrepareCase
|
|
1194 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1195 |
#VCXCONN GetIap DEST_TEST
|
|
1196 |
#waittestclass VCXCONN
|
|
1197 |
#
|
|
1198 |
#Util WaitForConnectionActivity AP2
|
|
1199 |
#waittestclass Util
|
|
1200 |
#VCXCONN PrintConnUtilDetails
|
|
1201 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1202 |
#
|
|
1203 |
#Util CopyMethod 3G_AP AP3 DEST_TEST
|
|
1204 |
#Util SetMethodPriority DEST_TEST AP3 0
|
|
1205 |
#
|
|
1206 |
#pause 5000
|
|
1207 |
#
|
|
1208 |
#Util WaitForConnectionActivity AP2
|
|
1209 |
#waittestclass Util
|
|
1210 |
#
|
|
1211 |
#Util WaitUntilConnectionIsClosed AP3
|
|
1212 |
#waittestclass Util
|
|
1213 |
#
|
|
1214 |
#VCXCONN PrintConnUtilDetails
|
|
1215 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1216 |
#
|
|
1217 |
#print OK!
|
|
1218 |
#VCXCONN ShutdownTester
|
|
1219 |
#delete VCXCONN
|
|
1220 |
#pause 3000
|
|
1221 |
#delete Util
|
|
1222 |
#[Endtest]
|
|
1223 |
|
|
1224 |
#------------------------------------------------------------------------------------
|
|
1225 |
#
|
|
1226 |
# Test CVcxConnUtility class.
|
|
1227 |
#
|
|
1228 |
#------------------------------------------------------------------------------------
|
|
1229 |
#[Test]
|
|
1230 |
#title ET31129 Roaming - Connect WLAN, another WLAN becomes available
|
|
1231 |
#create VCXTestUtilModule Util
|
|
1232 |
#
|
|
1233 |
#allowerrorcodes KERRNOTFOUND
|
|
1234 |
#Util DeleteDestination DEST_TEST
|
|
1235 |
#pause 1000
|
|
1236 |
#Util CreateDestination DEST_TEST
|
|
1237 |
#Util SetUsedDestination DEST_TEST
|
|
1238 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
1239 |
#Util CopyMethod WLAN_AP AP2 DEST_TEST
|
|
1240 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
1241 |
#
|
|
1242 |
#create VCXConnUtilTest VCXCONN
|
|
1243 |
#VCXCONN PrepareCase
|
|
1244 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1245 |
#VCXCONN GetIap DEST_TEST
|
|
1246 |
#waittestclass VCXCONN
|
|
1247 |
#
|
|
1248 |
#Util WaitForConnectionActivity AP2
|
|
1249 |
#waittestclass Util
|
|
1250 |
#
|
|
1251 |
#VCXCONN PrintConnUtilDetails
|
|
1252 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1253 |
#
|
|
1254 |
#Util CopyMethod WLAN_AP2 AP3 DEST_TEST
|
|
1255 |
#Util SetMethodPriority DEST_TEST AP3 0
|
|
1256 |
#
|
|
1257 |
#pause 5000
|
|
1258 |
#
|
|
1259 |
#Util WaitForConnectionActivity AP2
|
|
1260 |
#waittestclass Util
|
|
1261 |
#
|
|
1262 |
#Util WaitUntilConnectionIsClosed AP3
|
|
1263 |
#waittestclass Util
|
|
1264 |
#
|
|
1265 |
#VCXCONN PrintConnUtilDetails
|
|
1266 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1267 |
#
|
|
1268 |
#VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
1269 |
#
|
|
1270 |
#VCXCONN Disconnect
|
|
1271 |
#waittestclass VCXCONN
|
|
1272 |
#
|
|
1273 |
#VCXCONN WaitForPropertyQueue
|
|
1274 |
#waittestclass VCXCONN
|
|
1275 |
#
|
|
1276 |
#print OK!
|
|
1277 |
#VCXCONN ShutdownTester
|
|
1278 |
#delete VCXCONN
|
|
1279 |
#pause 3000
|
|
1280 |
#delete Util
|
|
1281 |
#[Endtest]
|
|
1282 |
|
|
1283 |
#------------------------------------------------------------------------------------
|
|
1284 |
#
|
|
1285 |
# Test CVcxConnUtility class.
|
|
1286 |
#
|
|
1287 |
#------------------------------------------------------------------------------------
|
|
1288 |
#[Test]
|
|
1289 |
#title ET31130 Roaming not allowed - Connect 3G, WLAN becomes available
|
|
1290 |
#create VCXTestUtilModule Util
|
|
1291 |
#
|
|
1292 |
#allowerrorcodes KERRNOTFOUND
|
|
1293 |
#Util DeleteDestination DEST_TEST
|
|
1294 |
#pause 1000
|
|
1295 |
#Util CreateDestination DEST_TEST
|
|
1296 |
#Util SetUsedDestination DEST_TEST
|
|
1297 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
1298 |
#Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
1299 |
#Util SetMethodPriority DEST_TEST AP2 1
|
|
1300 |
#
|
|
1301 |
#create VCXConnUtilTest VCXCONN
|
|
1302 |
#VCXCONN PrepareCase
|
|
1303 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1304 |
#
|
|
1305 |
#VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxConnected
|
|
1306 |
#//VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxRoamingRequest
|
|
1307 |
#VCXCONN AddWaitedProperty EVCxPSNbRoamAccepted 0
|
|
1308 |
#VCXCONN AddWaitedProperty EVCxPSConnectionStatus EVCxConnected
|
|
1309 |
#
|
|
1310 |
#VCXCONN GetIap DEST_TEST
|
|
1311 |
#waittestclass VCXCONN
|
|
1312 |
#VCXCONN SetRoamingAllowed 0
|
|
1313 |
#
|
|
1314 |
#Util WaitForConnectionActivity AP2
|
|
1315 |
#waittestclass Util
|
|
1316 |
#VCXCONN PrintConnUtilDetails
|
|
1317 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1318 |
#
|
|
1319 |
#Util CopyMethod WLAN_AP AP3 DEST_TEST
|
|
1320 |
#Util SetMethodPriority DEST_TEST AP3 0
|
|
1321 |
#
|
|
1322 |
#VCXCONN WaitForPropertyQueue
|
|
1323 |
#waittestclass VCXCONN
|
|
1324 |
#
|
|
1325 |
#Util WaitForConnectionActivity AP2
|
|
1326 |
#waittestclass Util
|
|
1327 |
#
|
|
1328 |
#Util WaitUntilConnectionIsClosed AP3
|
|
1329 |
#waittestclass Util
|
|
1330 |
#
|
|
1331 |
#VCXCONN PrintConnUtilDetails
|
|
1332 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxConnected
|
|
1333 |
#
|
|
1334 |
#print OK!
|
|
1335 |
#VCXCONN ShutdownTester
|
|
1336 |
#delete VCXCONN
|
|
1337 |
#pause 3000
|
|
1338 |
#delete Util
|
|
1339 |
#[Endtest]
|
|
1340 |
|
|
1341 |
#------------------------------------------------------------------------------------
|
|
1342 |
#
|
|
1343 |
# Test CVcxConnUtility class.
|
|
1344 |
#
|
|
1345 |
#------------------------------------------------------------------------------------
|
|
1346 |
[Test]
|
|
1347 |
title ET31131 WapIdFromIapIdL
|
|
1348 |
create VCXTestUtilModule Util
|
|
1349 |
|
|
1350 |
allowerrorcodes KERRNOTFOUND
|
|
1351 |
Util DeleteDestination DEST_TEST
|
|
1352 |
pause 1000
|
|
1353 |
Util CreateDestination DEST_TEST
|
|
1354 |
Util SetUsedDestination DEST_TEST
|
|
1355 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
1356 |
Util CopyMethod 3G_AP AP2 DEST_TEST
|
|
1357 |
Util SetMethodPriority DEST_TEST AP2 1
|
|
1358 |
|
|
1359 |
create VCXConnUtilTest VCXCONN
|
|
1360 |
VCXCONN PrepareCase
|
|
1361 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1362 |
|
|
1363 |
VCXCONN WapIdFromIapId AP2
|
|
1364 |
waittestclass VCXCONN
|
|
1365 |
|
|
1366 |
print OK!
|
|
1367 |
VCXCONN ShutdownTester
|
|
1368 |
delete VCXCONN
|
|
1369 |
pause 3000
|
|
1370 |
delete Util
|
|
1371 |
[Endtest]
|
|
1372 |
|
|
1373 |
#------------------------------------------------------------------------------------
|
|
1374 |
#
|
|
1375 |
# Test CVcxConnUtility class.
|
|
1376 |
#
|
|
1377 |
#------------------------------------------------------------------------------------
|
|
1378 |
[Test]
|
|
1379 |
title ET31132 WapIdFromIapIdL invalid IAP ID
|
|
1380 |
create VCXTestUtilModule Util
|
|
1381 |
|
|
1382 |
create VCXConnUtilTest VCXCONN
|
|
1383 |
VCXCONN PrepareCase
|
|
1384 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1385 |
|
|
1386 |
VCXCONN WapIdFromIapId "invalidiap"
|
|
1387 |
allownextresult KERRNOTFOUND
|
|
1388 |
waittestclass VCXCONN
|
|
1389 |
|
|
1390 |
print OK!
|
|
1391 |
VCXCONN ShutdownTester
|
|
1392 |
delete VCXCONN
|
|
1393 |
pause 3000
|
|
1394 |
delete Util
|
|
1395 |
[Endtest]
|
|
1396 |
|
|
1397 |
#------------------------------------------------------------------------------------
|
|
1398 |
#
|
|
1399 |
# Test CVcxConnUtility class.
|
|
1400 |
#
|
|
1401 |
#------------------------------------------------------------------------------------
|
|
1402 |
[Test]
|
|
1403 |
title ET31133 Connect, default SNAP changes, connect again
|
|
1404 |
create VCXTestUtilModule Util
|
|
1405 |
|
|
1406 |
allowerrorcodes KERRNOTFOUND
|
|
1407 |
Util DeleteDestination DEST_TEST
|
|
1408 |
pause 1000
|
|
1409 |
allowerrorcodes KERRNOTFOUND
|
|
1410 |
Util DeleteDestination DEST_TEST2
|
|
1411 |
pause 1000
|
|
1412 |
|
|
1413 |
Util CreateDestination DEST_TEST
|
|
1414 |
Util SetUsedDestination DEST_TEST
|
|
1415 |
Util DeleteDestinationAfterwards DEST_TEST
|
|
1416 |
Util CopyMethod 3G_AP AP1 DEST_TEST
|
|
1417 |
Util SetMethodPriority DEST_TEST AP1 0
|
|
1418 |
|
|
1419 |
Util CreateDestination DEST_TEST2
|
|
1420 |
Util DeleteDestinationAfterwards DEST_TEST2
|
|
1421 |
Util CopyMethod 3G_AP AP2 DEST_TEST2
|
|
1422 |
Util SetMethodPriority DEST_TEST2 AP2 0
|
|
1423 |
|
|
1424 |
create VCXConnUtilTest VCXCONN
|
|
1425 |
VCXCONN PrepareCase
|
|
1426 |
VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1427 |
|
|
1428 |
VCXCONN GetIap DEST_TEST
|
|
1429 |
waittestclass VCXCONN
|
|
1430 |
|
|
1431 |
// wait for connection
|
|
1432 |
Util WaitForConnectionActivity AP1
|
|
1433 |
print Wait for ap1
|
|
1434 |
waittestclass Util
|
|
1435 |
|
|
1436 |
// disconnect, wait for disconnect
|
|
1437 |
print Disconnect ap1
|
|
1438 |
VCXCONN Disconnect
|
|
1439 |
waittestclass VCXCONN
|
|
1440 |
Util WaitUntilConnectionIsClosed AP1
|
|
1441 |
waittestclass Util
|
|
1442 |
|
|
1443 |
// set DEST_TEST2 as default
|
|
1444 |
print default dest_test2
|
|
1445 |
Util SetUsedDestination DEST_TEST2
|
|
1446 |
|
|
1447 |
// attempt to connect to DEST_TEST
|
|
1448 |
print connect dest_test
|
|
1449 |
VCXCONN GetIap DEST_TEST
|
|
1450 |
waittestclass VCXCONN
|
|
1451 |
|
|
1452 |
// wait for connection on AP2
|
|
1453 |
print Wait for ap2
|
|
1454 |
Util WaitForConnectionActivity AP2
|
|
1455 |
waittestclass Util
|
|
1456 |
|
|
1457 |
print Disconnect AP2
|
|
1458 |
VCXCONN Disconnect
|
|
1459 |
waittestclass VCXCONN
|
|
1460 |
Util WaitUntilConnectionIsClosed AP1
|
|
1461 |
waittestclass Util
|
|
1462 |
|
|
1463 |
print OK!
|
|
1464 |
VCXCONN ShutdownTester
|
|
1465 |
delete VCXCONN
|
|
1466 |
pause 3000
|
|
1467 |
delete Util
|
|
1468 |
[Endtest]
|
|
1469 |
|
|
1470 |
#------------------------------------------------------------------------------------
|
|
1471 |
#
|
|
1472 |
# Test CVcxConnUtility class.
|
|
1473 |
#
|
|
1474 |
#------------------------------------------------------------------------------------
|
|
1475 |
#[Test]
|
|
1476 |
#title ET31134 Default SNAP has no IAPs, connect
|
|
1477 |
#create VCXTestUtilModule Util
|
|
1478 |
#
|
|
1479 |
#allowerrorcodes KERRNOTFOUND
|
|
1480 |
#Util DeleteDestination DEST_TEST
|
|
1481 |
#pause 1000
|
|
1482 |
#allowerrorcodes KERRNOTFOUND
|
|
1483 |
#Util DeleteDestination DEST_TEST2
|
|
1484 |
#pause 1000
|
|
1485 |
#
|
|
1486 |
#Util CreateDestination DEST_TEST
|
|
1487 |
#Util SetUsedDestination DEST_TEST
|
|
1488 |
#Util DeleteDestinationAfterwards DEST_TEST
|
|
1489 |
#
|
|
1490 |
#Util CreateDestination DEST_TEST2
|
|
1491 |
#Util DeleteDestinationAfterwards DEST_TEST2
|
|
1492 |
#Util CopyMethod 3G_AP AP2 DEST_TEST2
|
|
1493 |
#Util SetMethodPriority DEST_TEST2 AP2 0
|
|
1494 |
#
|
|
1495 |
#create VCXConnUtilTest VCXCONN
|
|
1496 |
#VCXCONN PrepareCase
|
|
1497 |
#VCXCONN Create "MASTERPS" KVcxConnUtilTestModeBoth
|
|
1498 |
#
|
|
1499 |
#print connect default
|
|
1500 |
#VCXCONN GetIap DEST_TEST
|
|
1501 |
#allownextresult KERRGENERAL
|
|
1502 |
#waittestclass VCXCONN
|
|
1503 |
#
|
|
1504 |
#print connect dest_test2
|
|
1505 |
#VCXCONN GetIap DEST_TEST2
|
|
1506 |
#allownextresult KERRGENERAL
|
|
1507 |
#waittestclass VCXCONN
|
|
1508 |
#
|
|
1509 |
#VCXCONN PrintConnUtilDetails
|
|
1510 |
#VCXCONN CheckProperty EVCxPSConnectionStatus EVCxNotConnected
|
|
1511 |
#
|
|
1512 |
#print OK!
|
|
1513 |
#VCXCONN ShutdownTester
|
|
1514 |
#delete VCXCONN
|
|
1515 |
#pause 3000
|
|
1516 |
#delete Util
|
|
1517 |
#[Endtest] |