videofeeds/server/tsrc/VCXVodContentApiTest/conf/VCXVodContentApiTestHelium.cfg
branchRCL_3
changeset 57 befca0ec475f
equal deleted inserted replaced
56:839377eedc2b 57:befca0ec475f
       
     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\VCXConsts.inc
       
    17 INCLUDE c:\testframework\VCXErrors.inc
       
    18 INCLUDE c:\testframework\VCXVodContentApiTest.inc
       
    19 INCLUDE c:\testframework\VCXServiceNames.inc
       
    20 INCLUDE c:\testframework\VCXServiceUpdating.inc
       
    21 [Enddefine]
       
    22 INCLUDE c:\testframework\VCXServiceManagementApiTest.inc
       
    23 
       
    24 
       
    25 [Test]
       
    26 title ET11099 <not a test> Setup vod test services
       
    27 
       
    28 create VCXTestUtilModule Util
       
    29 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
    30 Util CopyMethod "Internet" "Internet" "Internet"
       
    31 Util SetMethodPriority "Internet" 3G_AP 0
       
    32 Util SetUsedDestination "Internet"
       
    33 // Disable connection dialog for "Internet" destination.
       
    34 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
    35 Util SetDefaultIapCenrep
       
    36 delete Util
       
    37 
       
    38 pause PAUSE
       
    39 create VCXServiceManagementApiTest ServUtil
       
    40 ServUtil Create
       
    41 ServUtil DeleteAllServices SYNC
       
    42 
       
    43 ServUtil AddHardCodedService 	SYNC SERVICE_0 	3G_AP 1 0  	// OOPS
       
    44 ServUtil AddHardCodedService 	SYNC SERVICE_1 	3G_AP 1 1 		// NokiaVideos
       
    45 ServUtil AddHardCodedService 	SYNC SERVICE_10 	3G_AP 1 2 		// NSeries
       
    46 ServUtil AddHardCodedService 	SYNC SERVICE_2	 	3G_AP 1 3 		// Rocketboom
       
    47 ServUtil AddHardCodedService 	SYNC SERVICE_3	 	3G_AP 1 4 		// YLE Mediasali
       
    48 ServUtil AddHardCodedService 	SYNC SERVICE_4	 	3G_AP 1 5 		// Kärppäkanava
       
    49 ServUtil AddHardCodedService 	SYNC SERVICE_5	 	3G_AP 1 6 		// Rocketboom5
       
    50 ServUtil AddHardCodedService 	SYNC SERVICE_6	 	3G_AP 1 7 		// OOPS6
       
    51 ServUtil AddHardCodedService 	SYNC SERVICE_7	 	3G_AP 1 8 		// NokiaVideos7
       
    52 ServUtil AddHardCodedService 	SYNC SERVICE_8	 	3G_AP 1 9 		// Rocketboom8
       
    53 
       
    54 ServUtil UpdateServiceField SYNC SERVICE_0 ESetIapList WLAN_AP 1 3G_AP 1
       
    55 ServUtil UpdateServiceField SYNC SERVICE_1 ESetIapList WLAN_AP 1 3G_AP 1
       
    56 ServUtil UpdateServiceField SYNC SERVICE_2 ESetIapList WLAN_AP 1 3G_AP 1
       
    57 ServUtil UpdateServiceField SYNC SERVICE_3 ESetIapList WLAN_AP 1 3G_AP 1
       
    58 ServUtil UpdateServiceField SYNC SERVICE_4 ESetIapList WLAN_AP 1 3G_AP 1
       
    59 ServUtil UpdateServiceField SYNC SERVICE_5 ESetIapList WLAN_AP 1 3G_AP 1
       
    60 ServUtil UpdateServiceField SYNC SERVICE_6 ESetIapList WLAN_AP 1 3G_AP 1
       
    61 ServUtil UpdateServiceField SYNC SERVICE_7 ESetIapList WLAN_AP 1 3G_AP 1
       
    62 ServUtil UpdateServiceField SYNC SERVICE_8 ESetIapList WLAN_AP 1 3G_AP 1
       
    63 ServUtil UpdateServiceField SYNC SERVICE_10 ESetIapList WLAN_AP 1 3G_AP 1
       
    64 
       
    65 // EXTRA_SERVICE_9 is reserved for cases to change it's address at will
       
    66 
       
    67 ServUtil AddHardCodedService 	SYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    68 ServUtil UpdateServiceField		SYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/multiurl.xml"
       
    69 ServUtil UpdateServiceField		SYNC SERVICE_9 	EName 	EXTRA_SERVICE_1
       
    70 
       
    71 ServUtil AddHardCodedService 	SYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    72 ServUtil UpdateServiceField		SYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/mimetype_tests/allmimetypes.xml"
       
    73 ServUtil UpdateServiceField		SYNC SERVICE_9 	EName 	EXTRA_SERVICE_2
       
    74 
       
    75 ServUtil AddHardCodedService 	SYNC SERVICE_9	 	3G_AP 1 10
       
    76 ServUtil UpdateServiceField		SYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/preview.xml"
       
    77 ServUtil UpdateServiceField		SYNC SERVICE_9 	EName 	EXTRA_SERVICE_3
       
    78 
       
    79 ServUtil AddHardCodedService 	SYNC SERVICE_9	 	3G_AP 1 10
       
    80 ServUtil UpdateServiceField		SYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/ecg_parental_control.xml"
       
    81 ServUtil UpdateServiceField		SYNC SERVICE_9 	EName 	EXTRA_SERVICE_4
       
    82 
       
    83 ServUtil AddHardCodedService 	SYNC SERVICE_9	 	3G_AP 1 10
       
    84 ServUtil UpdateServiceField		SYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/dvbtest/xmltv/xmltv_1day.xml"
       
    85 ServUtil UpdateServiceField		SYNC SERVICE_9 	EName 	EXTRA_SERVICE_5
       
    86 
       
    87 ServUtil GetServices SYNC 0 250
       
    88 
       
    89 ServUtil Destroy
       
    90 delete ServUtil
       
    91 pause 30000
       
    92 [Endtest]
       
    93 
       
    94 [Test]
       
    95 title ET11000 UpdateEcg SERVICE_0
       
    96 create VCXTestUtilModule Util
       
    97 Util CreateMobilecrashWatcher
       
    98 pause PAUSE
       
    99 create VCXVodContentApiTest test
       
   100 test EnableThumbnails
       
   101 test DeleteEpgDb
       
   102 test Create SERVICE_0
       
   103 test SelectIap DEFAULT_AP
       
   104 test UpdateEcg
       
   105 waittestclass test
       
   106 test Destroy
       
   107 delete test
       
   108 Util CheckMobilecrashes
       
   109 delete Util
       
   110 [Endtest]
       
   111 
       
   112 [Test]
       
   113 title ET11001 GetEcgList SERVICE_0
       
   114 create VCXTestUtilModule Util
       
   115 Util CreateMobilecrashWatcher
       
   116 pause PAUSE
       
   117 create VCXVodContentApiTest test
       
   118 test Create SERVICE_0
       
   119 test EnableVerifying ET11001
       
   120 test SelectIap DEFAULT_AP
       
   121 test GetEcgList 1 "" 0 10
       
   122 test Destroy
       
   123 delete test
       
   124 Util CheckMobilecrashes
       
   125 delete Util
       
   126 [Endtest]
       
   127 
       
   128 [Test]
       
   129 title ET11002 EcgCategoryList SERVICE_0
       
   130 create VCXTestUtilModule Util
       
   131 Util CreateMobilecrashWatcher
       
   132 pause PAUSE
       
   133 create VCXVodContentApiTest test
       
   134 test Create SERVICE_0
       
   135 test EnableVerifying ET11002
       
   136 test SelectIap DEFAULT_AP
       
   137 test EcgCategoryList 0
       
   138 test Destroy
       
   139 delete test
       
   140 Util CheckMobilecrashes
       
   141 delete Util
       
   142 [Endtest]
       
   143 
       
   144 [Test]
       
   145 title ET11003 EcgEcgAllList SERVICE_0
       
   146 create VCXTestUtilModule Util
       
   147 Util CreateMobilecrashWatcher
       
   148 pause PAUSE
       
   149 create VCXVodContentApiTest test
       
   150 test Create SERVICE_0
       
   151 test EnableVerifying ET11003
       
   152 test SelectIap DEFAULT_AP
       
   153 test EcgEcgAllList "" 0 5
       
   154 test Destroy
       
   155 delete test
       
   156 Util CheckMobilecrashes
       
   157 delete Util
       
   158 [Endtest]
       
   159 
       
   160 [Test]
       
   161 title ET11004 CategoryDetails SERVICE_0
       
   162 create VCXTestUtilModule Util
       
   163 Util CreateMobilecrashWatcher
       
   164 pause PAUSE
       
   165 create VCXVodContentApiTest test
       
   166 test Create SERVICE_0
       
   167 test EnableVerifying ET11004
       
   168 test SelectIap DEFAULT_AP
       
   169 test CategoryDetails 1
       
   170 test Destroy
       
   171 delete test
       
   172 Util CheckMobilecrashes
       
   173 delete Util
       
   174 [Endtest]
       
   175 
       
   176 [Test]
       
   177 title ET11005 ParentCategory SERVICE_0
       
   178 create VCXTestUtilModule Util
       
   179 Util CreateMobilecrashWatcher
       
   180 pause PAUSE
       
   181 create VCXVodContentApiTest test
       
   182 test Create SERVICE_0
       
   183 test SelectIap DEFAULT_AP
       
   184 test ParentCategory 0
       
   185 test Destroy
       
   186 delete test
       
   187 Util CheckMobilecrashes
       
   188 delete Util
       
   189 [Endtest]
       
   190 
       
   191 [Test]
       
   192 title ET11006 ContentDetailsList SERVICE_0
       
   193 create VCXTestUtilModule Util
       
   194 Util CreateMobilecrashWatcher
       
   195 pause PAUSE
       
   196 create VCXVodContentApiTest test
       
   197 test Create SERVICE_0
       
   198 test EnableVerifying ET11006
       
   199 test SelectIap DEFAULT_AP
       
   200 test ContentDetailsList 0
       
   201 test Destroy
       
   202 delete test
       
   203 Util CheckMobilecrashes
       
   204 delete Util
       
   205 [Endtest]
       
   206 
       
   207 [Test]
       
   208 title ET11047 SetLastPosition SERVICE_0
       
   209 create VCXTestUtilModule Util
       
   210 Util CreateMobilecrashWatcher
       
   211 pause PAUSE
       
   212 create VCXVodContentApiTest test
       
   213 test Create SERVICE_0
       
   214 test SetLastPosition 0 0 0
       
   215 test SetLastPosition 0 0 500
       
   216 test Destroy
       
   217 delete test
       
   218 Util CheckMobilecrashes
       
   219 delete Util
       
   220 [Endtest]
       
   221 
       
   222 [Test]
       
   223 title ET11029 UpdateEcg again SERVICE_0
       
   224 create VCXTestUtilModule Util
       
   225 Util CreateMobilecrashWatcher
       
   226 pause PAUSE
       
   227 create VCXVodContentApiTest test
       
   228 test Create SERVICE_0
       
   229 test SelectIap DEFAULT_AP
       
   230 test UpdateEcg
       
   231 waittestclass test
       
   232 test EnableVerifying ET11029
       
   233 test VerifyAllCategoryContent 0
       
   234 test Destroy
       
   235 delete test
       
   236 Util CheckMobilecrashes
       
   237 delete Util
       
   238 [Endtest]
       
   239 
       
   240 [Test]
       
   241 title ET11032 Delete client while updating ECG SERVICE_1
       
   242 create VCXTestUtilModule Util
       
   243 Util CreateMobilecrashWatcher
       
   244 pause PAUSE
       
   245 //------------------------------------------
       
   246 // Delete while updating ECG
       
   247 create VCXVodContentApiTest test
       
   248 test DeleteEpgDb
       
   249 test Create SERVICE_1
       
   250 test SelectIap DEFAULT_AP
       
   251 test UpdateEcg
       
   252 Util WaitForConnectionActivity 3G_AP
       
   253 waittestclass Util
       
   254 pause 1000
       
   255 test Destroy
       
   256 delete test
       
   257 delete Util
       
   258 //------------------------------------------
       
   259 // Get ECG details, fails
       
   260 pause 2000
       
   261 create VCXVodContentApiTest test
       
   262 test Create SERVICE_1
       
   263 test VerifyAllCategoryContent 0
       
   264 allownextresult KIptvErrorVodNoIap // this will fail as there's no ECG in DB and no IAP selected when the client tries to start update
       
   265 waittestclass test
       
   266 test Destroy
       
   267 delete test
       
   268 //------------------------------------------
       
   269 // Update ECG
       
   270 pause 2000
       
   271 create VCXVodContentApiTest test
       
   272 test Create SERVICE_1
       
   273 test SelectIap DEFAULT_AP
       
   274 test UpdateEcg
       
   275 waittestclass test
       
   276 test Destroy
       
   277 delete test
       
   278 //------------------------------------------
       
   279 // Delete while updating ECG
       
   280 pause 2000
       
   281 create VCXTestUtilModule Util
       
   282 Util CreateMobilecrashWatcher
       
   283 create VCXVodContentApiTest test
       
   284 test Create SERVICE_1
       
   285 test SelectIap DEFAULT_AP
       
   286 test UpdateEcg
       
   287 Util WaitForConnectionActivity 3G_AP
       
   288 waittestclass Util
       
   289 pause 1000
       
   290 test Destroy
       
   291 delete test
       
   292 Util CheckMobilecrashes
       
   293 delete Util
       
   294 [Endtest]
       
   295 
       
   296 [Test]
       
   297 title ET11033 GetUpdateTime SERVICE_0
       
   298 create VCXTestUtilModule Util
       
   299 Util CreateMobilecrashWatcher
       
   300 pause PAUSE
       
   301 create VCXVodContentApiTest test
       
   302 test DeleteEpgDb
       
   303 test Create SERVICE_0
       
   304 test GetUpdateTime // database is empty
       
   305 test SelectIap DEFAULT_AP
       
   306 test UpdateEcg
       
   307 waittestclass test
       
   308 test GetUpdateTime 1
       
   309 test Destroy
       
   310 delete test
       
   311 Util CheckMobilecrashes
       
   312 delete Util
       
   313 [Endtest]
       
   314 
       
   315 [Test]
       
   316 title ET11034 UpdateEcg after service has changed SERVICE_0
       
   317 create VCXTestUtilModule Util
       
   318 Util CreateMobilecrashWatcher
       
   319 pause PAUSE
       
   320 create VCXServiceManagementApiTest SMUtil
       
   321 SMUtil Create
       
   322 create VCXVodContentApiTest test
       
   323 test DeleteEpgDb
       
   324 
       
   325 SMUtil UpdateServiceField	ASYNC SERVICE_0 	EAddress 	"http:\/\/193.65.182.78/oops.xml"
       
   326 
       
   327 test Create SERVICE_0
       
   328 pause 2000
       
   329 test EnableVerifying ET11034-1
       
   330 test SelectIap DEFAULT_AP
       
   331 // ECG is updated with old address
       
   332 test UpdateEcg
       
   333 SMUtil UpdateServiceField	ASYNC SERVICE_0 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   334 allownextresult EIptvDlGeneral
       
   335 allownextresult KERRNONE
       
   336 allownextresult KERRGENERAL
       
   337 waittestclass test
       
   338 test VerifyAllCategoryContent 0
       
   339 test Destroy
       
   340 
       
   341 pause PAUSE
       
   342 
       
   343 test Create SERVICE_0
       
   344 test EnableVerifying ET11034-2
       
   345 test SelectIap DEFAULT_AP
       
   346 // try again, this time ECG is updated with new address
       
   347 test UpdateEcg
       
   348 waittestclass test
       
   349 test VerifyAllCategoryContent 0
       
   350 test Verify ET11034-2
       
   351 test Destroy
       
   352 
       
   353 delete test
       
   354 SMUtil Destroy
       
   355 delete SMUtil
       
   356 Util CheckMobilecrashes
       
   357 delete Util
       
   358 [Endtest]
       
   359 
       
   360 [Test]
       
   361 title <not a test> Setup services
       
   362 create VCXTestUtilModule Util
       
   363 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
   364 Util CopyMethod "Internet" "Internet" "Internet"
       
   365 Util SetMethodPriority "Internet" 3G_AP 0
       
   366 Util SetUsedDestination "Internet"
       
   367 // Disable connection dialog for "Internet" destination.
       
   368 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
   369 Util SetDefaultIapCenrep
       
   370 delete Util
       
   371 
       
   372 pause PAUSE
       
   373 create VCXServiceManagementApiTest SMUtil
       
   374 SMUtil Create
       
   375 SMUtil DeleteAllServices SYNC
       
   376 
       
   377 SMUtil AddHardCodedService 	    ASYNC SERVICE_1	 	3G_AP 1 10
       
   378 SMUtil UpdateServiceField		ASYNC SERVICE_1 	EAddress 	"http:\/\/193.65.182.78/nokia_vod.xml"
       
   379 SMUtil UpdateServiceField		ASYNC SERVICE_1 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nokia_vod.xml&q=#search#"
       
   380 SMUtil UpdateServiceField		ASYNC SERVICE_1 	EName 		EXTRA_SERVICE_1
       
   381 
       
   382 SMUtil AddHardCodedService 	ASYNC SERVICE_0 	3G_AP 1 0  	// OOPS
       
   383 SMUtil AddHardCodedService 	ASYNC SERVICE_1 	3G_AP 1 1   // NokiaVideos
       
   384 SMUtil Destroy
       
   385 delete SMUtil
       
   386 pause 3000
       
   387 [Endtest]
       
   388 
       
   389 [Test]
       
   390 title ET11048 Automatic ECG update
       
   391 create VCXTestUtilModule Util
       
   392 Util CreateMobilecrashWatcher
       
   393 pause PAUSE
       
   394 create VCXVodContentApiTest test
       
   395 test EnableThumbnails
       
   396 test DeleteEpgDb
       
   397 test Create SERVICE_0
       
   398 test SelectIap DEFAULT_AP
       
   399 
       
   400 // This launches automatic update.
       
   401 test GetEcgList 1 "" 0 10
       
   402 
       
   403 Util WaitForConnectionActivity 3G_AP
       
   404 waittestclass Util
       
   405 
       
   406 waittestclass test
       
   407 test GetEcgList 1 "" 0 10
       
   408 test Destroy
       
   409 delete test
       
   410 Util CheckMobilecrashes
       
   411 delete Util
       
   412 [Endtest]
       
   413 
       
   414 [Test]
       
   415 title ET11049 No update done before - Is update needed
       
   416 create VCXTestUtilModule Util
       
   417 Util CreateMobilecrashWatcher
       
   418 pause PAUSE
       
   419 create VCXVodContentApiTest test
       
   420 test EnableThumbnails
       
   421 test DeleteEpgDb
       
   422 test Create SERVICE_1
       
   423 test UpdateAvailable 1
       
   424 test Destroy
       
   425 delete test
       
   426 Util CheckMobilecrashes
       
   427 delete Util
       
   428 [Endtest]
       
   429 
       
   430 [Test]
       
   431 title ET11050 Last update less than hour ago - Is update needed
       
   432 create VCXTestUtilModule Util
       
   433 Util CreateMobilecrashWatcher
       
   434 pause PAUSE
       
   435 create VCXVodContentApiTest test
       
   436 test EnableThumbnails
       
   437 test DeleteEpgDb
       
   438 test Create SERVICE_1
       
   439 test SelectIap DEFAULT_AP
       
   440 
       
   441 // Right after update
       
   442 test UpdateEcg
       
   443 waittestclass test
       
   444 test UpdateAvailable 0
       
   445 
       
   446 // 59 minutes after update
       
   447 Util AdvanceSystemTimeMinutes 59
       
   448 test UpdateAvailable 0
       
   449 
       
   450 test Destroy
       
   451 delete test
       
   452 Util CheckMobilecrashes
       
   453 delete Util
       
   454 [Endtest]
       
   455 
       
   456 [Test]
       
   457 title ET11051 Last update over hour ago - Is update needed
       
   458 create VCXTestUtilModule Util
       
   459 Util CreateMobilecrashWatcher
       
   460 pause PAUSE
       
   461 create VCXVodContentApiTest test
       
   462 test EnableThumbnails
       
   463 test DeleteEpgDb
       
   464 test Create SERVICE_1
       
   465 test SelectIap DEFAULT_AP
       
   466 
       
   467 test UpdateEcg
       
   468 waittestclass test
       
   469 
       
   470 // Over hour ago
       
   471 Util AdvanceSystemTimeMinutes 60
       
   472 pause 1000
       
   473 test UpdateAvailable 1
       
   474 
       
   475 test Destroy
       
   476 delete test
       
   477 Util CheckMobilecrashes
       
   478 delete Util
       
   479 [Endtest]
       
   480 
       
   481 [Test]
       
   482 title ET11052 Last update failed - Is update needed
       
   483 create VCXTestUtilModule Util
       
   484 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   485 Util CreateMobilecrashWatcher
       
   486 pause PAUSE
       
   487 create VCXVodContentApiTest test
       
   488 test EnableThumbnails
       
   489 test DeleteEpgDb
       
   490 test Create SERVICE_1
       
   491 test SelectIap DEFAULT_AP
       
   492 
       
   493 // Update succeeds
       
   494 test UpdateEcg
       
   495 waittestclass test
       
   496 
       
   497 pause 2000
       
   498 
       
   499 // Failed update
       
   500 test UpdateEcg
       
   501 
       
   502 loop 3
       
   503 Util WaitForConnectionActivity 3G_AP
       
   504 allowerrorcodes KERRTIMEDOUT
       
   505 waittestclass Util
       
   506 allowerrorcodes KERRNOTFOUND
       
   507 allowerrorcodes KERRALREADYEXISTS
       
   508 Util Attach 3G_AP
       
   509 allowerrorcodes KERRNOTREADY
       
   510 Util Terminate
       
   511 endloop
       
   512 
       
   513 allownextresult EIptvDlContentNotFound
       
   514 allownextresult EIptvDlConnectionFailed
       
   515 allownextresult KIptvErrorEpgUpdateFailed
       
   516 waittestclass test
       
   517 
       
   518 test UpdateAvailable 0
       
   519 
       
   520 test Destroy
       
   521 delete test
       
   522 Util CheckMobilecrashes
       
   523 delete Util
       
   524 [Endtest]
       
   525 
       
   526 [Test]
       
   527 title ET11053 Cancel update - Update available
       
   528 create VCXTestUtilModule Util
       
   529 Util CreateMobilecrashWatcher
       
   530 pause PAUSE
       
   531 create VCXVodContentApiTest test
       
   532 test EnableThumbnails
       
   533 test DeleteEpgDb
       
   534 test Create SERVICE_1
       
   535 
       
   536 test SelectIap DEFAULT_AP
       
   537 
       
   538 test SetMsgWhichToSignal KIptvVodUpdateStarted
       
   539 test UpdateEcg
       
   540 allownextresult KIptvVodUpdateStarted
       
   541 waittestclass test
       
   542 test CancelUpdate
       
   543 
       
   544 Util WaitUntilConnectionIsClosed 3G_AP
       
   545 waittestclass Util
       
   546 
       
   547 test EnableVerifying ET11053
       
   548 test VerifyAllCategoryContent 0
       
   549 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   550 test UpdateAvailable 1
       
   551 test Verify ET11053
       
   552 
       
   553 test Destroy
       
   554 delete test
       
   555 Util CheckMobilecrashes
       
   556 delete Util
       
   557 [Endtest]
       
   558 
       
   559 [Test]
       
   560 title ET11054 Cancel when no update
       
   561 create VCXTestUtilModule Util
       
   562 Util CreateMobilecrashWatcher
       
   563 pause PAUSE
       
   564 create VCXVodContentApiTest test
       
   565 test EnableThumbnails
       
   566 test DeleteEpgDb
       
   567 test Create SERVICE_1
       
   568 
       
   569 test CancelUpdate
       
   570 
       
   571 test UpdateAvailable 1
       
   572 
       
   573 test Destroy
       
   574 delete test
       
   575 Util CheckMobilecrashes
       
   576 delete Util
       
   577 [Endtest]
       
   578 
       
   579 [Test]
       
   580 title ET11299 <not a test> Setup search test services
       
   581 
       
   582 create VCXTestUtilModule Util
       
   583 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
   584 Util CopyMethod "Internet" "Internet" "Internet"
       
   585 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   586 Util SetUsedDestination DEFAULT_DEST
       
   587 // Disable connection dialog for "Internet" destination.
       
   588 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
   589 delete Util
       
   590 
       
   591 pause PAUSE
       
   592 create VCXServiceManagementApiTest SMTest
       
   593 SMTest Create
       
   594 SMTest DeleteAllServices SYNC
       
   595 
       
   596 // nseries test search
       
   597 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   598 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   599 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
   600 SMTest UpdateServiceField		ASYNC SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   601 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_1
       
   602 
       
   603 // no search address
       
   604 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   605 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   606 SMTest UpdateServiceField		ASYNC SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   607 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_2
       
   608 
       
   609 // nseries test search, second
       
   610 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   611 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   612 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
   613 SMTest UpdateServiceField		ASYNC SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   614 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_3
       
   615 
       
   616 // search url length is 256 chars
       
   617 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   618 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   619 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	EAddress_256charsLongSearchUrl
       
   620 SMTest UpdateServiceField		ASYNC SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   621 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_4
       
   622 
       
   623 // search service with parental rating information
       
   624 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   625 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/ecg_parental_control.xml"
       
   626 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=ecg_parental_control.xml&q=#search#"
       
   627 SMTest UpdateServiceField		ASYNC SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   628 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_5
       
   629 
       
   630 // search service with preview videos
       
   631 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   632 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/preview.xml"
       
   633 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=preview.xml&q=#search#"
       
   634 SMTest UpdateServiceField		ASYNC SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   635 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_6
       
   636 
       
   637 //SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/video.google.com/videofeed?type=search&q=#search#&so=0&num=10&output=rss"
       
   638 //SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/api.search.yahoo.com/VideoSearchService/rss/videoSearch.xml?appid=ysearchblog&adult_ok=1&results=10&format=mpeg&query=#search#"
       
   639 //SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/"
       
   640 
       
   641 SMTest GetServices SYNC 0 250
       
   642 
       
   643 SMTest Destroy
       
   644 delete SMTest
       
   645 pause 3000
       
   646 [Endtest]
       
   647 
       
   648 [Test]
       
   649 title ET11201 Search NSeries 3G
       
   650 create VCXTestUtilModule Util
       
   651 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   652 Util CreateMobilecrashWatcher
       
   653 pause PAUSE
       
   654 create VCXVodContentApiTest test
       
   655 test EnableThumbnails
       
   656 test DeleteEpgDb
       
   657 test Create EXTRA_SERVICE_1
       
   658 test SelectIap 3G_AP
       
   659 test Search Amaz
       
   660 waittestclass test
       
   661 test EnableVerifying ET11201
       
   662 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   663 test Verify ET11201
       
   664 test Destroy
       
   665 delete test
       
   666 Util CheckMobilecrashes
       
   667 delete Util
       
   668 [Endtest]
       
   669 
       
   670 [Test]
       
   671 title ET11239 Search - GetEcgList
       
   672 create VCXTestUtilModule Util
       
   673 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   674 Util CreateMobilecrashWatcher
       
   675 pause PAUSE
       
   676 create VCXVodContentApiTest test
       
   677 test DisableThumbnails
       
   678 test Create EXTRA_SERVICE_1
       
   679 test SelectIap DEFAULT_AP
       
   680 test Search Amaz
       
   681 waittestclass test
       
   682 test GetEcgList KIptvTestSearchCategoryId "" 0 10
       
   683 test Destroy
       
   684 delete test
       
   685 Util CheckMobilecrashes
       
   686 delete Util
       
   687 [Endtest]
       
   688 
       
   689 [Test]
       
   690 title ET11240 Search - EcgCategoryList
       
   691 create VCXTestUtilModule Util
       
   692 Util CreateMobilecrashWatcher
       
   693 pause PAUSE
       
   694 create VCXVodContentApiTest test
       
   695 test DisableThumbnails
       
   696 test Create EXTRA_SERVICE_1
       
   697 test SelectIap DEFAULT_AP
       
   698 test Search Amaz
       
   699 waittestclass test
       
   700 test EcgCategoryList KIptvTestSearchCategoryId
       
   701 test Destroy
       
   702 delete test
       
   703 Util CheckMobilecrashes
       
   704 delete Util
       
   705 [Endtest]
       
   706 
       
   707 [Test]
       
   708 title ET11241 Search - CategoryDetails
       
   709 create VCXTestUtilModule Util
       
   710 Util CreateMobilecrashWatcher
       
   711 pause PAUSE
       
   712 create VCXVodContentApiTest test
       
   713 test DisableThumbnails
       
   714 test Create EXTRA_SERVICE_1
       
   715 test EnableVerifying ET11241
       
   716 test SelectIap DEFAULT_AP
       
   717 test Search Amaz
       
   718 waittestclass test
       
   719 test CategoryDetails KIptvTestSearchCategoryId
       
   720 test Destroy
       
   721 delete test
       
   722 Util CheckMobilecrashes
       
   723 delete Util
       
   724 [Endtest]
       
   725 
       
   726 [Test]
       
   727 title ET11242 Search - ParentCategory
       
   728 create VCXTestUtilModule Util
       
   729 Util CreateMobilecrashWatcher
       
   730 pause PAUSE
       
   731 create VCXVodContentApiTest test
       
   732 test DisableThumbnails
       
   733 test Create EXTRA_SERVICE_1
       
   734 test SelectIap DEFAULT_AP
       
   735 test Search Amaz
       
   736 waittestclass test
       
   737 test ParentCategory 0 //KIptvTestSearchCategoryId
       
   738 test Destroy
       
   739 delete test
       
   740 Util CheckMobilecrashes
       
   741 delete Util
       
   742 [Endtest]
       
   743 
       
   744 [Test]
       
   745 title ET11243 Search - ContentDetailsList
       
   746 create VCXTestUtilModule Util
       
   747 Util CreateMobilecrashWatcher
       
   748 pause PAUSE
       
   749 create VCXVodContentApiTest test
       
   750 test DisableThumbnails
       
   751 test Create EXTRA_SERVICE_1
       
   752 test EnableVerifying ET11243
       
   753 test SelectIap DEFAULT_AP
       
   754 test Search Amaz
       
   755 waittestclass test
       
   756 test ContentDetailsList KIptvRssSearchContentId1
       
   757 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   758 test Destroy
       
   759 delete test
       
   760 Util CheckMobilecrashes
       
   761 delete Util
       
   762 [Endtest]
       
   763 
       
   764 [Test]
       
   765 title ET11221 Cancel Search NSeries
       
   766 create VCXTestUtilModule Util
       
   767 Util CreateMobilecrashWatcher
       
   768 pause PAUSE
       
   769 create VCXVodContentApiTest test
       
   770 test EnableThumbnails
       
   771 test DeleteEpgDb
       
   772 test Create EXTRA_SERVICE_1
       
   773 test SelectIap DEFAULT_AP
       
   774 
       
   775 test Search Promo
       
   776 pause 100
       
   777 test CancelSearch
       
   778 
       
   779 pause 60000
       
   780 
       
   781 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   782 test Destroy
       
   783 delete test
       
   784 Util CheckMobilecrashes
       
   785 delete Util
       
   786 [Endtest]
       
   787 
       
   788 [Test]
       
   789 title ET11204 After Search
       
   790 create VCXTestUtilModule Util
       
   791 Util CreateMobilecrashWatcher
       
   792 pause PAUSE
       
   793 create VCXVodContentApiTest test
       
   794 test DisableThumbnails
       
   795 test DeleteEpgDb
       
   796 test Create EXTRA_SERVICE_1
       
   797 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   798 test Destroy
       
   799 delete test
       
   800 Util CheckMobilecrashes
       
   801 delete Util
       
   802 [Endtest]
       
   803 
       
   804 [Test]
       
   805 title ET11209 Authorization fail
       
   806 
       
   807 pause PAUSE
       
   808 create VCXServiceManagementApiTest SMTest
       
   809 SMTest Create
       
   810 
       
   811 // invalid pw
       
   812 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
   813 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   814 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
   815 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EPassword 	"Invaliidipw"
       
   816 SMTest UpdateServiceField 	ASYNC SERVICE_9		EName 		SERVICE_INVALID_PASSWORD
       
   817 
       
   818 SMTest Destroy
       
   819 delete SMTest
       
   820 pause PAUSE
       
   821 
       
   822 create VCXTestUtilModule Util
       
   823 Util CreateMobilecrashWatcher
       
   824 pause PAUSE
       
   825 create VCXVodContentApiTest test
       
   826 test DisableThumbnails
       
   827 test DeleteEpgDb
       
   828 test Create SERVICE_INVALID_PASSWORD
       
   829 test SelectIap DEFAULT_AP
       
   830 test Search Promo
       
   831 allownextresult EIptvDlAuthFailed
       
   832 waittestclass test
       
   833 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   834 test Destroy
       
   835 delete test
       
   836 Util CheckMobilecrashes
       
   837 delete Util
       
   838 [Endtest]
       
   839 
       
   840 [Test]
       
   841 title ET11999 <not a test> Setup category test services
       
   842 
       
   843 create VCXTestUtilModule Util
       
   844 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
   845 Util CopyMethod "Internet" "Internet" "Internet"
       
   846 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
   847 Util SetUsedDestination DEFAULT_DEST
       
   848 // Disable connection dialog for "Internet" destination.
       
   849 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
   850 delete Util
       
   851 
       
   852 pause PAUSE
       
   853 create VCXServiceManagementApiTest ServUtil
       
   854 ServUtil Create
       
   855 ServUtil DeleteAllServices SYNC
       
   856 
       
   857 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   858 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   859 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   860 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_1
       
   861 
       
   862 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   863 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_cat.xml"
       
   864 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   865 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_2
       
   866 
       
   867 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   868 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_cat_unorganised.xml"
       
   869 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   870 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_3
       
   871 
       
   872 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   873 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_cat_and_channels.xml"
       
   874 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   875 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_4
       
   876 
       
   877 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   878 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_1st_channel_with_cat.xml"
       
   879 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   880 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_5
       
   881 
       
   882 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   883 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_2nd_channel_with_cat.xml"
       
   884 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   885 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_6
       
   886 
       
   887 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   888 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_20cat.xml"
       
   889 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   890 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_7
       
   891 
       
   892 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   893 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_20cat_and_3channels.xml"
       
   894 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   895 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_8
       
   896 
       
   897 ServUtil AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   898 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries_21cat.xml"
       
   899 ServUtil UpdateServiceField 	ASYNC	SERVICE_9		ESetIapList WLAN_AP 1 3G_AP 1
       
   900 ServUtil UpdateServiceField		ASYNC SERVICE_9 	EName 	EXTRA_SERVICE_9
       
   901 
       
   902 ServUtil GetServices SYNC 0 250
       
   903 
       
   904 ServUtil Destroy
       
   905 delete ServUtil
       
   906 pause 3000
       
   907 [Endtest]
       
   908 
       
   909 [Test]
       
   910 title ET11901 UpdateEcg channels
       
   911 create VCXTestUtilModule Util
       
   912 Util CreateMobilecrashWatcher
       
   913 pause PAUSE
       
   914 create VCXVodContentApiTest test
       
   915 test EnableThumbnails
       
   916 test DeleteEpgDb
       
   917 test Create EXTRA_SERVICE_1
       
   918 test SelectIap DEFAULT_AP
       
   919 test UpdateEcg
       
   920 waittestclass test
       
   921 test EnableVerifying ET11901
       
   922 test VerifyAllCategoryContent 0
       
   923 test Verify ET11901
       
   924 test Destroy
       
   925 delete test
       
   926 Util CheckMobilecrashes
       
   927 delete Util
       
   928 [Endtest]
       
   929 
       
   930 [Test]
       
   931 title ET11902 UpdateEcg categories
       
   932 create VCXTestUtilModule Util
       
   933 Util CreateMobilecrashWatcher
       
   934 pause PAUSE
       
   935 create VCXVodContentApiTest test
       
   936 test EnableThumbnails
       
   937 test DeleteEpgDb
       
   938 test Create EXTRA_SERVICE_2
       
   939 test SelectIap DEFAULT_AP
       
   940 test UpdateEcg
       
   941 waittestclass test
       
   942 test EnableVerifying ET11902
       
   943 test VerifyAllCategoryContent 0
       
   944 test Verify ET11902
       
   945 test Destroy
       
   946 delete test
       
   947 Util CheckMobilecrashes
       
   948 delete Util
       
   949 [Endtest]
       
   950 
       
   951 [Test]
       
   952 title ET11903 UpdateEcg categories unorganized
       
   953 create VCXTestUtilModule Util
       
   954 Util CreateMobilecrashWatcher
       
   955 pause PAUSE
       
   956 create VCXVodContentApiTest test
       
   957 test EnableThumbnails
       
   958 test DeleteEpgDb
       
   959 test Create EXTRA_SERVICE_3
       
   960 test SelectIap DEFAULT_AP
       
   961 test UpdateEcg
       
   962 waittestclass test
       
   963 test EnableVerifying ET11903
       
   964 test VerifyAllCategoryContent 0
       
   965 test Verify ET11903
       
   966 test Destroy
       
   967 delete test
       
   968 Util CheckMobilecrashes
       
   969 delete Util
       
   970 [Endtest]
       
   971 
       
   972 [Test]
       
   973 title ET11904 UpdateEcg categories and channels
       
   974 create VCXTestUtilModule Util
       
   975 Util CreateMobilecrashWatcher
       
   976 pause PAUSE
       
   977 create VCXVodContentApiTest test
       
   978 test EnableThumbnails
       
   979 test DeleteEpgDb
       
   980 test Create EXTRA_SERVICE_4
       
   981 test SelectIap DEFAULT_AP
       
   982 test UpdateEcg
       
   983 waittestclass test
       
   984 test EnableVerifying ET11904
       
   985 test VerifyAllCategoryContent 0
       
   986 test Verify ET11904
       
   987 test Destroy
       
   988 delete test
       
   989 Util CheckMobilecrashes
       
   990 delete Util
       
   991 [Endtest]
       
   992