videofeeds/server/tsrc/VCXVodContentApiTest/conf/VCXVodContentApiTestErrors.cfg
changeset 0 96612d01cf9f
child 1 6711b85517b7
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 #***********************************************************************************
       
     2 #
       
     3 # STIF test script file for testing VOD content client API.
       
     4 #
       
     5 #***********************************************************************************
       
     6 
       
     7 [StifSettings]
       
     8 CapsModifier= IptvTestClientApiCapsMod.exe
       
     9 [EndStifSettings]
       
    10 
       
    11 [Define]
       
    12 INCLUDE c:\testframework\VCXConsts.inc
       
    13 INCLUDE c:\testframework\VCXErrors.inc
       
    14 INCLUDE c:\testframework\VCXVodContentApiTest.inc
       
    15 INCLUDE c:\testframework\VCXServiceNames.inc
       
    16 INCLUDE c:\testframework\VCXServiceUpdating.inc
       
    17 [Enddefine]
       
    18 
       
    19 #------------------------------------------------------------------------------------
       
    20 #
       
    21 # Setup services in service database and delete the EPG db.
       
    22 #
       
    23 #------------------------------------------------------------------------------------
       
    24 [Test]
       
    25 title ET11399 <not a test> Setup error test services
       
    26 
       
    27 create VCXTestUtilModule Util
       
    28 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
    29 Util CopyMethod "Internet" "Internet" "Internet"
       
    30 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
    31 Util SetUsedDestination DEFAULT_DEST
       
    32 // Disable connection dialog for "Internet" destination.
       
    33 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
    34 delete Util
       
    35 
       
    36 pause PAUSE
       
    37 create VCXServiceManagementApiTest IptvTest
       
    38 IptvTest Create
       
    39 IptvTest DeleteAllServices SYNC
       
    40 
       
    41 IptvTest AddHardCodedService 	ASYNC SERVICE_0 	3G_AP 1 0
       
    42 IptvTest AddHardCodedService 	ASYNC SERVICE_1 	3G_AP 1 1
       
    43 IptvTest AddHardCodedService 	ASYNC SERVICE_2 	3G_AP 1 1
       
    44 
       
    45 IptvTest AddHardCodedService 	ASYNC SERVICE_10 	3G_AP 1 3 		// invalid service
       
    46 IptvTest UpdateServiceField 	ASYNC SERVICE_10 	EName 		SERVICE_INVALID_URL1
       
    47 IptvTest UpdateServiceField 	ASYNC SERVICE_INVALID_URL1 	EAddress 	"http:\/\/www.google.com/test123456789.xml"
       
    48 
       
    49 IptvTest AddHardCodedService 	ASYNC SERVICE_10 	3G_AP 1 4 		// invalid service
       
    50 IptvTest UpdateServiceField 	ASYNC SERVICE_10 	EName 		SERVICE_INVALID_URL2
       
    51 IptvTest UpdateServiceField 	ASYNC SERVICE_INVALID_URL2 	EAddress 	"http:\/\/www.xxx12346567xxxabc.fi/test123456789.xml"
       
    52 
       
    53 IptvTest AddHardCodedService 	ASYNC SERVICE_10 	3G_AP 1 5 		// invalid service
       
    54 IptvTest UpdateServiceField 	ASYNC SERVICE_10	EName 		SERVICE_INVALID_PASSWORD
       
    55 IptvTest UpdateServiceField 	ASYNC SERVICE_INVALID_PASSWORD 	EPassword 	"Invaliidipw"
       
    56 
       
    57 IptvTest AddHardCodedService 	ASYNC SERVICE_10 	3G_AP 1 6 		// invalid service
       
    58 IptvTest UpdateServiceField 	ASYNC SERVICE_10 	EName 		SERVICE_INVALID_URL3
       
    59 IptvTest UpdateServiceField 	ASYNC SERVICE_INVALID_URL3 	EAddress 	"hXttp:\/\/www.kaatuilee.com/test123456789.xml"
       
    60 
       
    61 IptvTest AddHardCodedService 	ASYNC SERVICE_10 	3G_AP 1 2 		// nseries
       
    62 
       
    63 IptvTest GetServices 0 0 200
       
    64 
       
    65 IptvTest Destroy
       
    66 delete IptvTest
       
    67 pause 3000
       
    68 [Endtest]
       
    69 
       
    70 #------------------------------------------------------------------------------------
       
    71 #
       
    72 # Check that IptvVodContentClient handles UpdateEcgL request correctly when no IAP is selected and ECG DB is empty.
       
    73 #
       
    74 #------------------------------------------------------------------------------------
       
    75 [Test]
       
    76 title ET11323 UpdateEcg No iap selected SERVICE_0
       
    77 create VCXTestUtilModule Util
       
    78 Util CreateMobilecrashWatcher
       
    79 pause PAUSE
       
    80 create VCXVodContentApiTest test
       
    81 test DeleteEpgDb
       
    82 test Create SERVICE_0
       
    83 test UpdateEcg
       
    84 allownextresult KIptvErrorVodNoIap
       
    85 waittestclass test
       
    86 test Destroy
       
    87 delete test
       
    88 Util CheckMobilecrashes
       
    89 delete Util
       
    90 [Endtest]
       
    91 
       
    92 #------------------------------------------------------------------------------------
       
    93 #
       
    94 # Check that IptvVodContentClient handles GetEcgListL request correctly when no IAP is selected and ECG DB is empty.
       
    95 #
       
    96 #------------------------------------------------------------------------------------
       
    97 [Test]
       
    98 title ET11324 GetEcgList No iap selected SERVICE_0
       
    99 create VCXTestUtilModule Util
       
   100 Util CreateMobilecrashWatcher
       
   101 pause PAUSE
       
   102 create VCXVodContentApiTest test
       
   103 test Create SERVICE_0
       
   104 test GetEcgList 1 "" 0 10
       
   105 allownextresult KIptvErrorVodNoIap
       
   106 waittestclass test
       
   107 test Destroy
       
   108 delete test
       
   109 Util CheckMobilecrashes
       
   110 delete Util
       
   111 [Endtest]
       
   112 
       
   113 #------------------------------------------------------------------------------------
       
   114 #
       
   115 # Check that IptvVodContentClient handles GetEcgCategoryListL request correctly when no IAP is selected and ECG DB is empty.
       
   116 #
       
   117 #------------------------------------------------------------------------------------
       
   118 [Test]
       
   119 title ET11325 EcgCategoryList No iap selected SERVICE_0
       
   120 create VCXTestUtilModule Util
       
   121 Util CreateMobilecrashWatcher
       
   122 pause PAUSE
       
   123 create VCXVodContentApiTest test
       
   124 test Create SERVICE_0
       
   125 test EcgCategoryList 0
       
   126 allownextresult KIptvErrorVodNoIap
       
   127 waittestclass test
       
   128 test Destroy
       
   129 delete test
       
   130 Util CheckMobilecrashes
       
   131 delete Util
       
   132 [Endtest]
       
   133 
       
   134 #------------------------------------------------------------------------------------
       
   135 #
       
   136 # Check that IptvVodContentClient handles GetEcgAllListL request correctly when no IAP is selected and ECG DB is empty.
       
   137 #
       
   138 #------------------------------------------------------------------------------------
       
   139 [Test]
       
   140 title ET11326 EcgEcgAllList No iap selected SERVICE_0
       
   141 create VCXTestUtilModule Util
       
   142 Util CreateMobilecrashWatcher
       
   143 pause PAUSE
       
   144 create VCXVodContentApiTest test
       
   145 test Create SERVICE_0
       
   146 test EcgEcgAllList "" 0 5
       
   147 allownextresult KIptvErrorVodNoIap
       
   148 waittestclass test
       
   149 test EcgEcgAllList "" 0 5
       
   150 pause 10000
       
   151 test Destroy
       
   152 delete test
       
   153 Util CheckMobilecrashes
       
   154 delete Util
       
   155 [Endtest]
       
   156 
       
   157 #------------------------------------------------------------------------------------
       
   158 #
       
   159 # Check that IptvVodContentClient handles GetCategoryDetailsL request correctly when no IAP is selected and ECG DB is empty.
       
   160 #
       
   161 #------------------------------------------------------------------------------------
       
   162 [Test]
       
   163 title ET11327 CategoryDetails No iap selected SERVICE_0
       
   164 create VCXTestUtilModule Util
       
   165 Util CreateMobilecrashWatcher
       
   166 pause PAUSE
       
   167 create VCXVodContentApiTest test
       
   168 test Create SERVICE_0
       
   169 //allownextresult KIptvErrorVodNoIap
       
   170 test CategoryDetails 1
       
   171 test Destroy
       
   172 delete test
       
   173 Util CheckMobilecrashes
       
   174 delete Util
       
   175 [Endtest]
       
   176 
       
   177 #------------------------------------------------------------------------------------
       
   178 #
       
   179 # Check that IptvVodContentClient handles GetParentCategoryL request correctly when no IAP is selected.
       
   180 #
       
   181 #------------------------------------------------------------------------------------
       
   182 [Test]
       
   183 title ET11328 ParentCategory No iap selected SERVICE_0
       
   184 create VCXTestUtilModule Util
       
   185 Util CreateMobilecrashWatcher
       
   186 pause PAUSE
       
   187 create VCXVodContentApiTest test
       
   188 test Create SERVICE_0
       
   189 test ParentCategory 0
       
   190 test Destroy
       
   191 delete test
       
   192 Util CheckMobilecrashes
       
   193 delete Util
       
   194 [Endtest]
       
   195 
       
   196 #------------------------------------------------------------------------------------
       
   197 #
       
   198 # Check that IptvVodContentClient handles GetContentDetailsL request correctly when no IAP is selected and ECG DB is empty.
       
   199 #
       
   200 #------------------------------------------------------------------------------------
       
   201 [Test]
       
   202 title ET11329 ContentDetailsList No iap selected SERVICE_0
       
   203 create VCXTestUtilModule Util
       
   204 Util CreateMobilecrashWatcher
       
   205 pause PAUSE
       
   206 create VCXVodContentApiTest test
       
   207 test Create SERVICE_0
       
   208 //allownextresult KIptvErrorVodNoIap
       
   209 test ContentDetailsList 0
       
   210 test Destroy
       
   211 delete test
       
   212 Util CheckMobilecrashes
       
   213 delete Util
       
   214 [Endtest]
       
   215 
       
   216 #------------------------------------------------------------------------------------
       
   217 #
       
   218 # Check that updating ecg works. Content needed in next cases.
       
   219 #
       
   220 #------------------------------------------------------------------------------------
       
   221 [Test]
       
   222 title ET11339 UpdateEcg SERVICE_10
       
   223 create VCXTestUtilModule Util
       
   224 Util CreateMobilecrashWatcher
       
   225 pause PAUSE
       
   226 create VCXVodContentApiTest test
       
   227 test Create SERVICE_10
       
   228 test SelectIap 3G_AP
       
   229 test UpdateEcg
       
   230 waittestclass test
       
   231 test Destroy
       
   232 delete test
       
   233 Util CheckMobilecrashes
       
   234 delete Util
       
   235 [Endtest]
       
   236 
       
   237 #------------------------------------------------------------------------------------
       
   238 #
       
   239 # Test CIptvVodContentClient::SetLastPositionL
       
   240 #
       
   241 #------------------------------------------------------------------------------------
       
   242 [Test]
       
   243 title ET11344 SetLastPosition invalid content index
       
   244 create VCXTestUtilModule Util
       
   245 Util CreateMobilecrashWatcher
       
   246 pause PAUSE
       
   247 create VCXVodContentApiTest test
       
   248 test Create SERVICE_10
       
   249 test SetLastPosition 1000 500 0
       
   250 test Destroy
       
   251 delete test
       
   252 Util CheckMobilecrashes
       
   253 delete Util
       
   254 [Endtest]
       
   255 
       
   256 #------------------------------------------------------------------------------------
       
   257 #
       
   258 # Test CIptvVodContentClient::SetLastPositionL
       
   259 #
       
   260 #------------------------------------------------------------------------------------
       
   261 [Test]
       
   262 title ET11345 SetLastPosition invalid content access index
       
   263 create VCXTestUtilModule Util
       
   264 Util CreateMobilecrashWatcher
       
   265 pause PAUSE
       
   266 create VCXVodContentApiTest test
       
   267 test Create SERVICE_10
       
   268 test SetLastPosition 0 100 500
       
   269 test Destroy
       
   270 delete test
       
   271 Util CheckMobilecrashes
       
   272 delete Util
       
   273 [Endtest]
       
   274 
       
   275 #------------------------------------------------------------------------------------
       
   276 #
       
   277 # Check that CIptvVodContentClient handles GetEcgListL request with invalid category id.
       
   278 #
       
   279 #------------------------------------------------------------------------------------
       
   280 [Test]
       
   281 title ET11337 GetEcgList invalid category id SERVICE_10
       
   282 create VCXTestUtilModule Util
       
   283 Util CreateMobilecrashWatcher
       
   284 pause PAUSE
       
   285 create VCXVodContentApiTest test
       
   286 test Create SERVICE_10
       
   287 test SelectIap 3G_AP
       
   288 test GetEcgList 100 "" 0 10
       
   289 test GetEcgList 0 "" 5 10
       
   290 test GetEcgList 100 "" 10 1
       
   291 test GetEcgList 100 "" 500 5
       
   292 test Destroy
       
   293 delete test
       
   294 Util CheckMobilecrashes
       
   295 delete Util
       
   296 [Endtest]
       
   297 
       
   298 #------------------------------------------------------------------------------------
       
   299 #
       
   300 # Check that CIptvVodContentClient handles GetEcgCategoryListL request with invalid category ID.
       
   301 #
       
   302 #------------------------------------------------------------------------------------
       
   303 [Test]
       
   304 title ET11338 EcgCategoryList invalid category id SERVICE_10
       
   305 create VCXTestUtilModule Util
       
   306 Util CreateMobilecrashWatcher
       
   307 pause PAUSE
       
   308 create VCXVodContentApiTest test
       
   309 test Create SERVICE_10
       
   310 test SelectIap 3G_AP
       
   311 test EcgCategoryList 100
       
   312 test Destroy
       
   313 delete test
       
   314 Util CheckMobilecrashes
       
   315 delete Util
       
   316 [Endtest]
       
   317 
       
   318 #------------------------------------------------------------------------------------
       
   319 #
       
   320 # Check that CIptvVodContentClient handles GetCategoryDetailsL request with invalid category ID.
       
   321 #
       
   322 #------------------------------------------------------------------------------------
       
   323 [Test]
       
   324 title ET11340 CategoryDetails invalid category id SERVICE_10
       
   325 create VCXTestUtilModule Util
       
   326 Util CreateMobilecrashWatcher
       
   327 pause PAUSE
       
   328 create VCXVodContentApiTest test
       
   329 test Create SERVICE_10
       
   330 test SelectIap 3G_AP
       
   331 test CategoryDetails 100
       
   332 test Destroy
       
   333 delete test
       
   334 Util CheckMobilecrashes
       
   335 delete Util
       
   336 [Endtest]
       
   337 
       
   338 #------------------------------------------------------------------------------------
       
   339 #
       
   340 # Check that CIptvVodContentClient returns parentCategoryId correctly
       
   341 #
       
   342 #------------------------------------------------------------------------------------
       
   343 [Test]
       
   344 title ET11341 ParentCategory invalid category id SERVICE_10
       
   345 create VCXTestUtilModule Util
       
   346 Util CreateMobilecrashWatcher
       
   347 pause PAUSE
       
   348 create VCXVodContentApiTest test
       
   349 test Create SERVICE_10
       
   350 test SelectIap 3G_AP
       
   351 test ParentCategory 100
       
   352 test Destroy
       
   353 delete test
       
   354 Util CheckMobilecrashes
       
   355 delete Util
       
   356 [Endtest]
       
   357 
       
   358 #------------------------------------------------------------------------------------
       
   359 #
       
   360 # Check that CIptvVodContentClient handles GetContentDetailsL request with invalid category id.
       
   361 #
       
   362 #------------------------------------------------------------------------------------
       
   363 [Test]
       
   364 title ET11342 ContentDetailsList invalid category id SERVICE_10
       
   365 create VCXTestUtilModule Util
       
   366 Util CreateMobilecrashWatcher
       
   367 pause PAUSE
       
   368 create VCXVodContentApiTest test
       
   369 test Create SERVICE_10
       
   370 test SelectIap 3G_AP
       
   371 test ContentDetailsList 1000
       
   372 test Destroy
       
   373 delete test
       
   374 Util CheckMobilecrashes
       
   375 delete Util
       
   376 [Endtest]
       
   377 
       
   378 #------------------------------------------------------------------------------------
       
   379 #
       
   380 # Check that CIptvVodContentClient recovers when it's created with invalid serviceid
       
   381 #
       
   382 #------------------------------------------------------------------------------------
       
   383 [Test]
       
   384 title ET11314 CIptvVodContentClient Invalid service
       
   385 create VCXTestUtilModule Util
       
   386 Util CreateMobilecrashWatcher
       
   387 pause PAUSE
       
   388 create VCXVodContentApiTest test
       
   389 allownextresult KERRNOTFOUND
       
   390 test Create 10000
       
   391 delete test
       
   392 Util CheckMobilecrashes
       
   393 delete Util
       
   394 [Endtest]
       
   395 
       
   396 #------------------------------------------------------------------------------------
       
   397 #
       
   398 # Check that CIptvVodContentClient recovers when the service has invalid URL, the www server exists and returns 404.
       
   399 #
       
   400 #------------------------------------------------------------------------------------
       
   401 [Test]
       
   402 title ET11330 UpdateEcg service with invalid url
       
   403 create VCXTestUtilModule Util
       
   404 Util CreateMobilecrashWatcher
       
   405 pause PAUSE
       
   406 create VCXVodContentApiTest test
       
   407 test Create SERVICE_INVALID_URL1
       
   408 test SelectIap 3G_AP
       
   409 test UpdateEcg
       
   410 allownextresult EIptvDlContentNotFound
       
   411 waittestclass test
       
   412 test Destroy
       
   413 delete test
       
   414 Util CheckMobilecrashes
       
   415 delete Util
       
   416 [Endtest]
       
   417 
       
   418 #------------------------------------------------------------------------------------
       
   419 #
       
   420 # Check that CIptvVodContentClient recovers when the service has invalid URL, the www server does not exist.
       
   421 #
       
   422 #------------------------------------------------------------------------------------
       
   423 [Test]
       
   424 title ET11331 UpdateEcg service with invalid url 2
       
   425 create VCXTestUtilModule Util
       
   426 Util CreateMobilecrashWatcher
       
   427 pause PAUSE
       
   428 create VCXVodContentApiTest test
       
   429 test Create SERVICE_INVALID_URL2
       
   430 test SelectIap 3G_AP
       
   431 test UpdateEcg
       
   432 //allownextresult EIptvDlGeneral
       
   433 allownextresult EIptvDlContentNotFound
       
   434 waittestclass test
       
   435 test Destroy
       
   436 delete test
       
   437 Util CheckMobilecrashes
       
   438 delete Util
       
   439 [Endtest]
       
   440 
       
   441 #------------------------------------------------------------------------------------
       
   442 #
       
   443 # Check that CIptvVodContentClient recovers when service has wrong password.
       
   444 #
       
   445 #------------------------------------------------------------------------------------
       
   446 [Test]
       
   447 title ET11332 UpdateEcg service with invalid password
       
   448 create VCXTestUtilModule Util
       
   449 Util CreateMobilecrashWatcher
       
   450 pause PAUSE
       
   451 create VCXVodContentApiTest test
       
   452 test Create SERVICE_INVALID_PASSWORD
       
   453 test SelectIap 3G_AP
       
   454 test UpdateEcg
       
   455 allownextresult EIptvDlAuthFailed
       
   456 waittestclass test
       
   457 test Destroy
       
   458 delete test
       
   459 Util CheckMobilecrashes
       
   460 delete Util
       
   461 [Endtest]
       
   462 
       
   463 #------------------------------------------------------------------------------------
       
   464 #
       
   465 # Check that updating ecg recovers if (valid)IAP is not available
       
   466 #
       
   467 #------------------------------------------------------------------------------------
       
   468 [Test]
       
   469 title ET11315 UpdateEcg via not available IAP SERVICE_2
       
   470 create VCXTestUtilModule Util
       
   471 Util CreateMobilecrashWatcher
       
   472 
       
   473 pause PAUSE
       
   474 create VCXServiceManagementApiTest SMTest
       
   475 SMTest Create
       
   476 SMTest UpdateServiceField SYNC SERVICE_2 ESetIapList 3G_AP 0 // Vod content will use this AP instead
       
   477 
       
   478 pause PAUSE
       
   479 create VCXVodContentApiTest test
       
   480 test Create SERVICE_2
       
   481 test SelectIap BAD_AP
       
   482 test UpdateEcg
       
   483 allownextresult KIptvErrorEpgUpdateFailed
       
   484 allownextresult EIptvDlConnectionFailed
       
   485 waittestclass test
       
   486 
       
   487 test SelectIap 3G_AP
       
   488 test UpdateEcg
       
   489 waittestclass test
       
   490 test GetEcgList 1 "" 0 10
       
   491 test Destroy
       
   492 delete test
       
   493 
       
   494 SMTest Destroy
       
   495 delete SMTest
       
   496 
       
   497 Util CheckMobilecrashes
       
   498 delete Util
       
   499 [Endtest]
       
   500 
       
   501 #------------------------------------------------------------------------------------
       
   502 #
       
   503 # Testname:ET11335 GetEcgList while updating ECG SERVICE_0
       
   504 #
       
   505 #------------------------------------------------------------------------------------
       
   506 [Test]
       
   507 title ET11335 GetEcgList while updating ECG SERVICE_0
       
   508 create VCXTestUtilModule Util
       
   509 Util CreateMobilecrashWatcher
       
   510 pause PAUSE
       
   511 create VCXVodContentApiTest test
       
   512 test Create SERVICE_0
       
   513 test SelectIap 3G_AP
       
   514 test UpdateEcg
       
   515 test GetEcgList 1 "" 0 10
       
   516 test Destroy
       
   517 delete test
       
   518 Util CheckMobilecrashes
       
   519 delete Util
       
   520 [Endtest]
       
   521 
       
   522 #------------------------------------------------------------------------------------
       
   523 #
       
   524 # Check that CIptvVodContentClient recovers when the service URL's protocol is invalid.
       
   525 #
       
   526 #------------------------------------------------------------------------------------
       
   527 [Test]
       
   528 title ET11343 UpdateEcg service with invalid url 3
       
   529 create VCXTestUtilModule Util
       
   530 Util CreateMobilecrashWatcher
       
   531 pause PAUSE
       
   532 create VCXVodContentApiTest test
       
   533 test DeleteEpgDb
       
   534 test Create SERVICE_INVALID_URL3
       
   535 test SelectIap 3G_AP
       
   536 
       
   537 test UpdateEcg
       
   538 //allownextresult EIptvDlGeneral
       
   539 allownextresult KIptvErrorEpgUpdateFailed
       
   540 allownextresult EIptvDlContentNotFound
       
   541 waittestclass test
       
   542 
       
   543 test Destroy
       
   544 delete test
       
   545 
       
   546 // crashed ast least before
       
   547 pause 10000
       
   548 
       
   549 Util CheckMobilecrashes
       
   550 delete Util
       
   551 [Endtest]
       
   552 
       
   553 #------------------------------------------------------------------------------------
       
   554 #
       
   555 # Try to update ecg from invalid webaddress
       
   556 #
       
   557 #------------------------------------------------------------------------------------
       
   558 [Test]
       
   559 title ET11346 Update ecg from invalid webaddress
       
   560 create VCXTestUtilModule Util
       
   561 Util CreateMobilecrashWatcher
       
   562 create VCXServiceManagementApiTest IptvTest
       
   563 IptvTest Create
       
   564 IptvTest DeleteAllServices SYNC
       
   565 IptvTest AddHardCodedService ASYNC SERVICE_1 3G_AP 1
       
   566 IptvTest UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/www.edcba/abcd.xml"
       
   567 IptvTest UpdateServiceField ASYNC SERVICE_1 EName SERVICE_1
       
   568 create VCXVodContentApiTest IptvVCTest
       
   569 IptvVCTest Create SERVICE_1
       
   570 IptvVCTest SelectIap 3G_AP
       
   571 IptvVCTest UpdateEcg
       
   572 allownextresult EIptvDlContentNotFound
       
   573 waittestclass IptvVCTest
       
   574 IptvTest Destroy
       
   575 IptvVCTest Destroy
       
   576 delete IptvTest
       
   577 delete IptvVCTest
       
   578 Util CheckMobilecrashes
       
   579 delete Util
       
   580 [Endtest]
       
   581 
       
   582 #------------------------------------------------------------------------------------
       
   583 #
       
   584 # Test changing service address while ECG is updated
       
   585 #
       
   586 #------------------------------------------------------------------------------------
       
   587 [Test]
       
   588 title ET11349 Change service address while ECG is updated
       
   589 create VCXTestUtilModule Util
       
   590 Util CreateMobilecrashWatcher
       
   591 create VCXServiceManagementApiTest IptvTest
       
   592 
       
   593 IptvTest Create
       
   594 IptvTest DeleteAllServices SYNC
       
   595 IptvTest AddHardCodedService ASYNC SERVICE_1 3G_AP 1
       
   596 IptvTest UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/oops.xml"
       
   597 
       
   598 create VCXVodContentApiTest IptvVCTest
       
   599 
       
   600 IptvVCTest Create SERVICE_1
       
   601 IptvVCTest SelectIap 3G_AP
       
   602 
       
   603 IptvVCTest UpdateEcg
       
   604 waittestclass IptvVCTest
       
   605 
       
   606 IptvVCTest UpdateEcg
       
   607 pause 1000
       
   608 IptvTest UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/yle.xml"
       
   609 allownextresult EIptvDlGeneral
       
   610 waittestclass IptvVCTest
       
   611 
       
   612 IptvVCTest UpdateEcg
       
   613 waittestclass IptvVCTest
       
   614 
       
   615 IptvVCTest EnableVerifying ET11349
       
   616 IptvVCTest GetEcgList 1 "" 0 10
       
   617 IptvVCTest Verify ET11349
       
   618 
       
   619 IptvTest Destroy
       
   620 IptvVCTest Destroy
       
   621 delete IptvTest
       
   622 Util CheckMobilecrashes
       
   623 delete Util
       
   624 [Endtest]
       
   625 
       
   626 #------------------------------------------------------------------------------------
       
   627 #
       
   628 # Download a file which can be downloaded but isn't valid rss -xml file
       
   629 #
       
   630 #------------------------------------------------------------------------------------
       
   631 [Test]
       
   632 title ET11347 Update ecg with non-xml file
       
   633 create VCXTestUtilModule Util
       
   634 Util CreateMobilecrashWatcher
       
   635 create VCXServiceManagementApiTest IptvTest
       
   636 IptvTest Create
       
   637 IptvTest DeleteAllServices SYNC
       
   638 IptvTest AddHardCodedService ASYNC SERVICE_1 3G_AP 1
       
   639 IptvTest UpdateServiceField ASYNC SERVICE_1 EAddress "http:\/\/193.65.182.78/nokia_vod/bar.JPG"
       
   640 create VCXVodContentApiTest IptvVCTest
       
   641 IptvVCTest Create SERVICE_1
       
   642 IptvVCTest SelectIap 3G_AP
       
   643 IptvVCTest UpdateEcg
       
   644 allownextresult KIptvRssParserError
       
   645 waittestclass IptvVCTest
       
   646 IptvTest Destroy
       
   647 IptvVCTest Destroy
       
   648 delete IptvTest
       
   649 Util CheckMobilecrashes
       
   650 delete Util
       
   651 [Endtest]