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