videofeeds/server/tsrc/VCXVodContentApiTest/conf/VCXVodContentApiTestSearchR3.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 INCLUDE c:\testframework\VCXServiceManagementApiTest.inc
       
    18 [Enddefine]
       
    19 
       
    20 #------------------------------------------------------------------------------------
       
    21 #
       
    22 # Setup services in service database and delete the EPG db.
       
    23 #
       
    24 # CaseClass: core
       
    25 #------------------------------------------------------------------------------------
       
    26 [Test]
       
    27 title ET11299 <not a test> Setup search test services
       
    28 
       
    29 create VCXTestUtilModule Util
       
    30 // Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
       
    31 Util CopyMethod "Internet" "Internet" "Internet"
       
    32 Util SetMethodPriority DEFAULT_DEST 3G_AP 0
       
    33 Util SetUsedDestination DEFAULT_DEST
       
    34 // Disable connection dialog for "Internet" destination.
       
    35 Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
       
    36 delete Util
       
    37 
       
    38 pause PAUSE
       
    39 create VCXServiceManagementApiTest SMTest
       
    40 SMTest Create
       
    41 SMTest DeleteAllServices SYNC
       
    42 
       
    43 // nseries test search
       
    44 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    45 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
    46 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
    47 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_1
       
    48 
       
    49 // no search address
       
    50 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    51 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
    52 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_2
       
    53 
       
    54 // nseries test search, second
       
    55 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    56 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
    57 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
    58 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_3
       
    59 
       
    60 // search url length is 256 chars
       
    61 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    62 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
    63 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	EAddress_256charsLongSearchUrl
       
    64 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_4
       
    65 
       
    66 // search service with parental rating information
       
    67 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    68 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/ecg_parental_control.xml"
       
    69 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=ecg_parental_control.xml&q=#search#"
       
    70 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_5
       
    71 
       
    72 // search service with preview videos
       
    73 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
    74 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/preview.xml"
       
    75 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=preview.xml&q=#search#"
       
    76 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		EXTRA_SERVICE_6
       
    77 
       
    78 //SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/video.google.com/videofeed?type=search&q=#search#&so=0&num=10&output=rss"
       
    79 //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#"
       
    80 //SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/"
       
    81 
       
    82 SMTest GetServices SYNC 0 250
       
    83 
       
    84 SMTest Destroy
       
    85 delete SMTest
       
    86 pause 3000
       
    87 [Endtest]
       
    88 
       
    89 #------------------------------------------------------------------------------------
       
    90 #
       
    91 # Test CIptvVodContentClient::Search
       
    92 #
       
    93 # CaseClass: core
       
    94 #------------------------------------------------------------------------------------
       
    95 [Test]
       
    96 title ET11201 Search NSeries 3G
       
    97 create VCXTestUtilModule Util
       
    98 Util CreateMobilecrashWatcher
       
    99 pause PAUSE
       
   100 create VCXVodContentApiTest test
       
   101 test EnableThumbnails
       
   102 test DeleteEpgDb
       
   103 test Create EXTRA_SERVICE_1
       
   104 test SelectIap 3G_AP
       
   105 test Search Amaz
       
   106 waittestclass test
       
   107 test EnableVerifying ET11201
       
   108 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   109 test Verify ET11201
       
   110 test Destroy
       
   111 delete test
       
   112 Util CheckMobilecrashes
       
   113 delete Util
       
   114 [Endtest]
       
   115 
       
   116 #------------------------------------------------------------------------------------
       
   117 #
       
   118 # Test CIptvVodContentClient::Search and update ECG afterwards
       
   119 #
       
   120 #------------------------------------------------------------------------------------
       
   121 [Test]
       
   122 title ET11224 Search NSeries WLAN and update ECG afterwards
       
   123 create VCXTestUtilModule Util
       
   124 Util CreateMobilecrashWatcher
       
   125 pause PAUSE
       
   126 create VCXVodContentApiTest test
       
   127 test DisableThumbnails
       
   128 test DeleteEpgDb
       
   129 test Create EXTRA_SERVICE_1
       
   130 test SelectIap WLAN_AP
       
   131 test Search Amaz
       
   132 waittestclass test
       
   133 test EnableVerifying ET11224
       
   134 test VerifyAllCategoryContent 0
       
   135 
       
   136 pause 3000
       
   137 
       
   138 test UpdateEcg
       
   139 waittestclass test
       
   140 test VerifyAllCategoryContent 0
       
   141 test Verify ET11224
       
   142 test Destroy
       
   143 delete test
       
   144 Util CheckMobilecrashes
       
   145 delete Util
       
   146 [Endtest]
       
   147 
       
   148 #------------------------------------------------------------------------------------
       
   149 #
       
   150 # Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
       
   151 #
       
   152 # CaseClass: core
       
   153 #------------------------------------------------------------------------------------
       
   154 [Test]
       
   155 title ET11239 Search - GetEcgList
       
   156 create VCXTestUtilModule Util
       
   157 Util CreateMobilecrashWatcher
       
   158 pause PAUSE
       
   159 create VCXVodContentApiTest test
       
   160 test DisableThumbnails
       
   161 test Create EXTRA_SERVICE_1
       
   162 test SelectIap 3G_AP
       
   163 test Search Amaz
       
   164 waittestclass test
       
   165 test GetEcgList KIptvTestSearchCategoryId "" 0 10
       
   166 test Destroy
       
   167 delete test
       
   168 Util CheckMobilecrashes
       
   169 delete Util
       
   170 [Endtest]
       
   171 
       
   172 #------------------------------------------------------------------------------------
       
   173 #
       
   174 # Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
       
   175 #
       
   176 # CaseClass: core
       
   177 #------------------------------------------------------------------------------------
       
   178 [Test]
       
   179 title ET11240 Search - EcgCategoryList
       
   180 create VCXTestUtilModule Util
       
   181 Util CreateMobilecrashWatcher
       
   182 pause PAUSE
       
   183 create VCXVodContentApiTest test
       
   184 test DisableThumbnails
       
   185 test Create EXTRA_SERVICE_1
       
   186 test SelectIap 3G_AP
       
   187 test Search Amaz
       
   188 waittestclass test
       
   189 test EcgCategoryList KIptvTestSearchCategoryId
       
   190 test Destroy
       
   191 delete test
       
   192 Util CheckMobilecrashes
       
   193 delete Util
       
   194 [Endtest]
       
   195 
       
   196 #------------------------------------------------------------------------------------
       
   197 #
       
   198 # Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
       
   199 #
       
   200 # CaseClass: core
       
   201 #------------------------------------------------------------------------------------
       
   202 [Test]
       
   203 title ET11241 Search - CategoryDetails
       
   204 create VCXTestUtilModule Util
       
   205 Util CreateMobilecrashWatcher
       
   206 pause PAUSE
       
   207 create VCXVodContentApiTest test
       
   208 test DisableThumbnails
       
   209 test Create EXTRA_SERVICE_1
       
   210 test EnableVerifying ET11241
       
   211 test SelectIap 3G_AP
       
   212 test Search Amaz
       
   213 waittestclass test
       
   214 test CategoryDetails KIptvTestSearchCategoryId
       
   215 test Destroy
       
   216 delete test
       
   217 Util CheckMobilecrashes
       
   218 delete Util
       
   219 [Endtest]
       
   220 
       
   221 #------------------------------------------------------------------------------------
       
   222 #
       
   223 # Check that CIptvVodContentClient returns parentCategoryId correctly
       
   224 #
       
   225 # CaseClass: core
       
   226 #------------------------------------------------------------------------------------
       
   227 [Test]
       
   228 title ET11242 Search - ParentCategory
       
   229 create VCXTestUtilModule Util
       
   230 Util CreateMobilecrashWatcher
       
   231 pause PAUSE
       
   232 create VCXVodContentApiTest test
       
   233 test DisableThumbnails
       
   234 test Create EXTRA_SERVICE_1
       
   235 test SelectIap 3G_AP
       
   236 test Search Amaz
       
   237 waittestclass test
       
   238 test ParentCategory 0 //KIptvTestSearchCategoryId
       
   239 test Destroy
       
   240 delete test
       
   241 Util CheckMobilecrashes
       
   242 delete Util
       
   243 [Endtest]
       
   244 
       
   245 #------------------------------------------------------------------------------------
       
   246 #
       
   247 # Check that CIptvVodContentClient parses data correctly from RSS XML file and ecg db
       
   248 #
       
   249 # CaseClass: core
       
   250 #------------------------------------------------------------------------------------
       
   251 [Test]
       
   252 title ET11243 Search - ContentDetailsList
       
   253 create VCXTestUtilModule Util
       
   254 Util CreateMobilecrashWatcher
       
   255 pause PAUSE
       
   256 create VCXVodContentApiTest test
       
   257 test DisableThumbnails
       
   258 test Create EXTRA_SERVICE_1
       
   259 test EnableVerifying ET11243
       
   260 test SelectIap 3G_AP
       
   261 test Search Amaz
       
   262 waittestclass test
       
   263 test ContentDetailsList KIptvRssSearchContentId1
       
   264 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   265 test Destroy
       
   266 delete test
       
   267 Util CheckMobilecrashes
       
   268 delete Util
       
   269 [Endtest]
       
   270 
       
   271 #------------------------------------------------------------------------------------
       
   272 #
       
   273 # Test CIptvVodContentClient::SetLastPositionL for Search content
       
   274 #
       
   275 #------------------------------------------------------------------------------------
       
   276 [Test]
       
   277 title ET11244 SetLastPosition for Search content
       
   278 create VCXTestUtilModule Util
       
   279 Util CreateMobilecrashWatcher
       
   280 pause PAUSE
       
   281 create VCXVodContentApiTest test
       
   282 test DisableThumbnails
       
   283 test Create EXTRA_SERVICE_1
       
   284 test SelectIap 3G_AP
       
   285 test Search Amaz
       
   286 waittestclass test
       
   287 test SetLastPosition KIptvRssSearchContentId1 0 0
       
   288 test SetLastPosition KIptvRssSearchContentId1 0 500
       
   289 test Destroy
       
   290 delete test
       
   291 Util CheckMobilecrashes
       
   292 delete Util
       
   293 [Endtest]
       
   294 
       
   295 #------------------------------------------------------------------------------------
       
   296 #
       
   297 # Test CIptvVodContentClient::SetLastPositionL for Search content
       
   298 #
       
   299 #------------------------------------------------------------------------------------
       
   300 [Test]
       
   301 title ET11245 SetLastPosition for Search content, wrong content index
       
   302 create VCXTestUtilModule Util
       
   303 Util CreateMobilecrashWatcher
       
   304 pause PAUSE
       
   305 create VCXVodContentApiTest test
       
   306 test DisableThumbnails
       
   307 test Create EXTRA_SERVICE_1
       
   308 test SelectIap 3G_AP
       
   309 test Search Amaz
       
   310 waittestclass test
       
   311 test SetLastPosition KIptvRssSearchContentId1 55 0
       
   312 test SetLastPosition KIptvRssSearchContentId1 55 500
       
   313 test Destroy
       
   314 delete test
       
   315 Util CheckMobilecrashes
       
   316 delete Util
       
   317 [Endtest]
       
   318 
       
   319 #------------------------------------------------------------------------------------
       
   320 #
       
   321 # Test CIptvVodContentClient::Search
       
   322 #
       
   323 #------------------------------------------------------------------------------------
       
   324 [Test]
       
   325 title ET11232 Search no results
       
   326 create VCXTestUtilModule Util
       
   327 Util CreateMobilecrashWatcher
       
   328 pause PAUSE
       
   329 create VCXVodContentApiTest test
       
   330 test EnableThumbnails
       
   331 test DeleteEpgDb
       
   332 test Create EXTRA_SERVICE_1
       
   333 test SelectIap 3G_AP
       
   334 test Search cantfindthis
       
   335 waittestclass test
       
   336 test EnableVerifying ET11232
       
   337 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   338 test Verify ET11232
       
   339 test Destroy
       
   340 delete test
       
   341 Util CheckMobilecrashes
       
   342 delete Util
       
   343 [Endtest]
       
   344 
       
   345 #------------------------------------------------------------------------------------
       
   346 #
       
   347 # Test canceling CIptvVodContentClient::Search
       
   348 #
       
   349 # CaseClass: core
       
   350 #------------------------------------------------------------------------------------
       
   351 [Test]
       
   352 title ET11221 Cancel Search NSeries
       
   353 create VCXTestUtilModule Util
       
   354 Util CreateMobilecrashWatcher
       
   355 pause PAUSE
       
   356 create VCXVodContentApiTest test
       
   357 test EnableThumbnails
       
   358 test DeleteEpgDb
       
   359 test Create EXTRA_SERVICE_1
       
   360 test SelectIap 3G_AP
       
   361 
       
   362 test Search Promo
       
   363 pause 100
       
   364 test CancelSearch
       
   365 
       
   366 pause 60000
       
   367 
       
   368 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   369 test Destroy
       
   370 delete test
       
   371 Util CheckMobilecrashes
       
   372 delete Util
       
   373 [Endtest]
       
   374 
       
   375 #------------------------------------------------------------------------------------
       
   376 #
       
   377 # Test canceling CIptvVodContentClient::Search
       
   378 #
       
   379 #------------------------------------------------------------------------------------
       
   380 [Test]
       
   381 title ET11222 Cancel Search NSeries 2
       
   382 create VCXTestUtilModule Util
       
   383 Util CreateMobilecrashWatcher
       
   384 pause PAUSE
       
   385 create VCXVodContentApiTest test
       
   386 test EnableThumbnails
       
   387 test DeleteEpgDb
       
   388 test Create EXTRA_SERVICE_1
       
   389 test SelectIap 3G_AP
       
   390 
       
   391 test Search N
       
   392 pause 4000
       
   393 test CancelSearch
       
   394 
       
   395 pause 60000
       
   396 
       
   397 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   398 test Destroy
       
   399 delete test
       
   400 Util CheckMobilecrashes
       
   401 delete Util
       
   402 [Endtest]
       
   403 
       
   404 #------------------------------------------------------------------------------------
       
   405 #
       
   406 # Test canceling CIptvVodContentClient::Search
       
   407 #
       
   408 #------------------------------------------------------------------------------------
       
   409 [Test]
       
   410 title ET11223 Cancel Search NSeries 3
       
   411 create VCXTestUtilModule Util
       
   412 Util CreateMobilecrashWatcher
       
   413 pause PAUSE
       
   414 create VCXVodContentApiTest test
       
   415 test EnableThumbnails
       
   416 test DeleteEpgDb
       
   417 test Create EXTRA_SERVICE_1
       
   418 test SelectIap 3G_AP
       
   419 
       
   420 test Search Promo
       
   421 test SetMsgWhichToSignal KIptvContentThumbnailDownloaded
       
   422 //allownextresult KIptvContentThumbnailDownloaded
       
   423 waittestclass test
       
   424 
       
   425 test CancelSearch
       
   426 
       
   427 test Search Promo
       
   428 waittestclass test
       
   429 
       
   430 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   431 test Destroy
       
   432 delete test
       
   433 Util CheckMobilecrashes
       
   434 delete Util
       
   435 [Endtest]
       
   436 
       
   437 #------------------------------------------------------------------------------------
       
   438 #
       
   439 # Test canceling CIptvVodContentClient::Search
       
   440 #
       
   441 #------------------------------------------------------------------------------------
       
   442 [Test]
       
   443 title ET11252 Cancel Search NSeries 4
       
   444 create VCXTestUtilModule Util
       
   445 Util CreateMobilecrashWatcher
       
   446 pause PAUSE
       
   447 create VCXVodContentApiTest test
       
   448 test EnableThumbnails
       
   449 test DeleteEpgDb
       
   450 test Create EXTRA_SERVICE_1
       
   451 test SelectIap 3G_AP
       
   452 
       
   453 test Search N
       
   454 
       
   455 pause 200
       
   456 
       
   457 test CancelSearch
       
   458 
       
   459 pause 5000
       
   460 
       
   461 test Search Promo
       
   462 waittestclass test
       
   463 
       
   464 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   465 test Destroy
       
   466 delete test
       
   467 Util CheckMobilecrashes
       
   468 delete Util
       
   469 [Endtest]
       
   470 
       
   471 #------------------------------------------------------------------------------------
       
   472 #
       
   473 # Test CIptvVodContentClient::Search when thumbnail download is disabled
       
   474 #
       
   475 #------------------------------------------------------------------------------------
       
   476 [Test]
       
   477 title ET11203 Search NoThumbs
       
   478 create VCXTestUtilModule Util
       
   479 Util CreateMobilecrashWatcher
       
   480 pause PAUSE
       
   481 create VCXVodContentApiTest test
       
   482 test DisableThumbnails
       
   483 test DeleteEpgDb
       
   484 test Create EXTRA_SERVICE_1
       
   485 test SelectIap 3G_AP
       
   486 test Search Promo
       
   487 waittestclass test
       
   488 test EnableVerifying ET11203
       
   489 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   490 test Verify ET11203
       
   491 test Destroy
       
   492 delete test
       
   493 Util CheckMobilecrashes
       
   494 delete Util
       
   495 [Endtest]
       
   496 
       
   497 #------------------------------------------------------------------------------------
       
   498 #
       
   499 # Tests that CIptvVodContentClient::Search results are cleared when the instance is created again.
       
   500 #
       
   501 # CaseClass: core
       
   502 #------------------------------------------------------------------------------------
       
   503 [Test]
       
   504 title ET11204 After Search
       
   505 create VCXTestUtilModule Util
       
   506 Util CreateMobilecrashWatcher
       
   507 pause PAUSE
       
   508 create VCXVodContentApiTest test
       
   509 test DisableThumbnails
       
   510 test DeleteEpgDb
       
   511 test Create EXTRA_SERVICE_1
       
   512 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   513 test Destroy
       
   514 delete test
       
   515 Util CheckMobilecrashes
       
   516 delete Util
       
   517 [Endtest]
       
   518 
       
   519 #------------------------------------------------------------------------------------
       
   520 #
       
   521 # Repeatedly calls CIptvVodContentClient::Search without waiting the first request to finish.
       
   522 #
       
   523 #------------------------------------------------------------------------------------
       
   524 [Test]
       
   525 title ET11205 Repeat search
       
   526 create VCXTestUtilModule Util
       
   527 Util CreateMobilecrashWatcher
       
   528 pause PAUSE
       
   529 create VCXVodContentApiTest test
       
   530 test DisableThumbnails
       
   531 test DeleteEpgDb
       
   532 test Create EXTRA_SERVICE_1
       
   533 test SelectIap 3G_AP
       
   534 test Search Promo
       
   535 allownextresult KERRNOTREADY
       
   536 test Search Amaz
       
   537 waittestclass test
       
   538 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   539 test Destroy
       
   540 delete test
       
   541 Util CheckMobilecrashes
       
   542 delete Util
       
   543 [Endtest]
       
   544 
       
   545 #------------------------------------------------------------------------------------
       
   546 #
       
   547 # Test deleting instance of CIptvVodContentClient when search is ongoing.
       
   548 #
       
   549 #------------------------------------------------------------------------------------
       
   550 [Test]
       
   551 title ET11206 Delete client while searching
       
   552 create VCXTestUtilModule Util
       
   553 Util CreateMobilecrashWatcher
       
   554 pause PAUSE
       
   555 create VCXVodContentApiTest test
       
   556 test DisableThumbnails
       
   557 test DeleteEpgDb
       
   558 test Create EXTRA_SERVICE_1
       
   559 test SelectIap 3G_AP
       
   560 test Search Amaz
       
   561 pause 2000
       
   562 test Destroy
       
   563 delete test
       
   564 Util CheckMobilecrashes
       
   565 delete Util
       
   566 [Endtest]
       
   567 
       
   568 #------------------------------------------------------------------------------------
       
   569 #
       
   570 # Test running search when 3G_AP is not set for instance of CIptvVodContentClient.
       
   571 #
       
   572 #------------------------------------------------------------------------------------
       
   573 [Test]
       
   574 title ET11207 No 3G_AP for search
       
   575 create VCXTestUtilModule Util
       
   576 Util CreateMobilecrashWatcher
       
   577 pause PAUSE
       
   578 create VCXVodContentApiTest test
       
   579 test DisableThumbnails
       
   580 test DeleteEpgDb
       
   581 test Create EXTRA_SERVICE_1
       
   582 allownextresult KErrCouldNotConnect
       
   583 test Search Promo
       
   584 allownextresult KIptvErrorRssSearchNoIap
       
   585 waittestclass test
       
   586 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   587 test Destroy
       
   588 delete test
       
   589 Util CheckMobilecrashes
       
   590 delete Util
       
   591 [Endtest]
       
   592 
       
   593 #------------------------------------------------------------------------------------
       
   594 #
       
   595 # Test CIptvVodContentClient::Search when wrong 3G_AP is set.
       
   596 #
       
   597 #------------------------------------------------------------------------------------
       
   598 [Test]
       
   599 title ET11208 Wrong 3G_AP
       
   600 create VCXTestUtilModule Util
       
   601 Util CreateMobilecrashWatcher
       
   602 pause PAUSE
       
   603 create VCXVodContentApiTest test
       
   604 test DisableThumbnails
       
   605 test DeleteEpgDb
       
   606 test Create EXTRA_SERVICE_1
       
   607 test SelectIap INVALID_AP
       
   608 test Search Promo
       
   609 allownextresult EIptvDlConnectionFailed
       
   610 waittestclass test
       
   611 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   612 test Destroy
       
   613 delete test
       
   614 Util CheckMobilecrashes
       
   615 delete Util
       
   616 [Endtest]
       
   617 
       
   618 #------------------------------------------------------------------------------------
       
   619 #
       
   620 # Test CIptvVodContentClient::Search when password is wrong.
       
   621 #
       
   622 # CaseClass: core
       
   623 #------------------------------------------------------------------------------------
       
   624 [Test]
       
   625 title ET11209 Authorization fail
       
   626 
       
   627 pause PAUSE
       
   628 create VCXServiceManagementApiTest SMTest
       
   629 SMTest Create
       
   630 
       
   631 // invalid pw
       
   632 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
   633 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   634 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
   635 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EPassword 	"Invaliidipw"
       
   636 SMTest UpdateServiceField 	ASYNC SERVICE_9		EName 		SERVICE_INVALID_PASSWORD
       
   637 
       
   638 SMTest Destroy
       
   639 delete SMTest
       
   640 pause PAUSE
       
   641 
       
   642 create VCXTestUtilModule Util
       
   643 Util CreateMobilecrashWatcher
       
   644 pause PAUSE
       
   645 create VCXVodContentApiTest test
       
   646 test DisableThumbnails
       
   647 test DeleteEpgDb
       
   648 test Create SERVICE_INVALID_PASSWORD
       
   649 test SelectIap 3G_AP
       
   650 test Search Promo
       
   651 allownextresult EIptvDlAuthFailed
       
   652 waittestclass test
       
   653 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   654 test Destroy
       
   655 delete test
       
   656 Util CheckMobilecrashes
       
   657 delete Util
       
   658 [Endtest]
       
   659 
       
   660 #------------------------------------------------------------------------------------
       
   661 #
       
   662 # Test CIptvVodContentClient::UpdateEcgL when CIptvVodContentClient::Search is ongoing.
       
   663 #
       
   664 #------------------------------------------------------------------------------------
       
   665 [Test]
       
   666 title ET11210 Start ECG update during Search
       
   667 create VCXTestUtilModule Util
       
   668 Util CreateMobilecrashWatcher
       
   669 pause PAUSE
       
   670 create VCXVodContentApiTest test
       
   671 test DisableThumbnails
       
   672 test DeleteEpgDb
       
   673 test Create EXTRA_SERVICE_1
       
   674 test SelectIap 3G_AP
       
   675 test Search Promo
       
   676 pause 200
       
   677 test UpdateEcg
       
   678 //allownextresult KIptvErrorEpgUpdateFailed
       
   679 waittestclass test // update
       
   680 waittestclass test // wait for search
       
   681 test VerifyAllCategoryContent 0
       
   682 test Destroy
       
   683 delete test
       
   684 Util CheckMobilecrashes
       
   685 delete Util
       
   686 [Endtest]
       
   687 
       
   688 #------------------------------------------------------------------------------------
       
   689 #
       
   690 # Test CIptvVodContentClient::UpdateEcgL when CIptvVodContentClient::Search is ongoing.
       
   691 #
       
   692 #------------------------------------------------------------------------------------
       
   693 [Test]
       
   694 title ET11211 Start Search during ECG update
       
   695 create VCXTestUtilModule Util
       
   696 Util CreateMobilecrashWatcher
       
   697 pause PAUSE
       
   698 create VCXVodContentApiTest test
       
   699 test DisableThumbnails
       
   700 test DeleteEpgDb
       
   701 test Create EXTRA_SERVICE_1
       
   702 test SelectIap 3G_AP
       
   703 test UpdateEcg
       
   704 pause 200
       
   705 test Search Promo
       
   706 //allownextresult KIptvErrorRssSearchFailed
       
   707 waittestclass test // search
       
   708 waittestclass test // wait for update
       
   709 test VerifyAllCategoryContent 0
       
   710 test Destroy
       
   711 delete test
       
   712 Util CheckMobilecrashes
       
   713 delete Util
       
   714 [Endtest]
       
   715 
       
   716 #------------------------------------------------------------------------------------
       
   717 #
       
   718 # Call CIptvVodContentClient::UpdateEcgL and CIptvVodContentClient::Search few times.
       
   719 #
       
   720 #------------------------------------------------------------------------------------
       
   721 [Test]
       
   722 title ET11212 Search and update few times
       
   723 create VCXTestUtilModule Util
       
   724 Util CreateMobilecrashWatcher
       
   725 pause PAUSE
       
   726 create VCXVodContentApiTest test
       
   727 test DisableThumbnails
       
   728 test DeleteEpgDb
       
   729 test Create EXTRA_SERVICE_1
       
   730 test SelectIap 3G_AP
       
   731 
       
   732 loop 5
       
   733 print Search 1 - LOOP_COUNTER of 5
       
   734 test Search Promo
       
   735 waittestclass test
       
   736 pause 1000
       
   737 print Search 2 - LOOP_COUNTER of 5
       
   738 test Search Promo
       
   739 waittestclass test
       
   740 pause 1000
       
   741 print Update - LOOP_COUNTER of 5
       
   742 test UpdateEcg
       
   743 waittestclass test
       
   744 endloop
       
   745 
       
   746 test VerifyAllCategoryContent 0
       
   747 test Destroy
       
   748 delete test
       
   749 Util CheckMobilecrashes
       
   750 delete Util
       
   751 [Endtest]
       
   752 
       
   753 #------------------------------------------------------------------------------------
       
   754 #
       
   755 # Test update and search and dump the database content into a file.
       
   756 #
       
   757 #------------------------------------------------------------------------------------
       
   758 [Test]
       
   759 title ET11213 Search and update, dump content
       
   760 create VCXTestUtilModule Util
       
   761 Util CreateMobilecrashWatcher
       
   762 pause PAUSE
       
   763 create VCXVodContentApiTest test
       
   764 test DisableThumbnails
       
   765 test DeleteEpgDb
       
   766 test Create EXTRA_SERVICE_1
       
   767 test SelectIap 3G_AP
       
   768 
       
   769 test Search Promo
       
   770 waittestclass test
       
   771 pause 1000
       
   772 
       
   773 test UpdateEcg
       
   774 waittestclass test
       
   775 
       
   776 test VerifyAllCategoryContent 0
       
   777 test Destroy
       
   778 delete test
       
   779 Util CheckMobilecrashes
       
   780 delete Util
       
   781 [Endtest]
       
   782 
       
   783 #------------------------------------------------------------------------------------
       
   784 #
       
   785 # Test CIptvVodContentClient::Search when the service has no search URL
       
   786 #
       
   787 #------------------------------------------------------------------------------------
       
   788 [Test]
       
   789 title ET11215 Try Search when no search URL
       
   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_2
       
   797 test SelectIap 3G_AP
       
   798 
       
   799 allownextresult KERRNOTSUPPORTED
       
   800 test Search Amaz
       
   801 allownextresult KERRNOTSUPPORTED
       
   802 waittestclass test
       
   803 
       
   804 print Update 2
       
   805 
       
   806 test UpdateEcg
       
   807 waittestclass test
       
   808 
       
   809 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   810 test Destroy
       
   811 delete test
       
   812 Util CheckMobilecrashes
       
   813 delete Util
       
   814 [Endtest]
       
   815 
       
   816 #------------------------------------------------------------------------------------
       
   817 #
       
   818 # Test CIptvVodContentClient::Search. Search URL file does not exist on the server.
       
   819 #
       
   820 #------------------------------------------------------------------------------------
       
   821 [Test]
       
   822 title ET11216 Wrong search URL 1
       
   823 
       
   824 pause PAUSE
       
   825 create VCXServiceManagementApiTest SMTest
       
   826 SMTest Create
       
   827 
       
   828 allowerrorcodes SMEServiceNotFound
       
   829 allowerrorcodes KERRARGUMENT
       
   830 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
   831 // invalid search url
       
   832 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
   833 SMTest UpdateServiceField	ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   834 SMTest UpdateServiceField 	ASYNC SERVICE_9 	ESearchUrl 	"http:\/\/www.google.com/test123456789.xml?q=#search#"
       
   835 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
   836 
       
   837 SMTest Destroy
       
   838 delete SMTest
       
   839 pause PAUSE
       
   840 
       
   841 create VCXTestUtilModule Util
       
   842 Util CreateMobilecrashWatcher
       
   843 pause PAUSE
       
   844 create VCXVodContentApiTest test
       
   845 test DisableThumbnails
       
   846 test DeleteEpgDb
       
   847 test Create SERVICE_INVALID_URL1
       
   848 test SelectIap 3G_AP
       
   849 test Search Amaz
       
   850 allownextresult EIptvDlContentNotFound
       
   851 waittestclass test
       
   852 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   853 test Destroy
       
   854 delete test
       
   855 Util CheckMobilecrashes
       
   856 delete Util
       
   857 [Endtest]
       
   858 
       
   859 #------------------------------------------------------------------------------------
       
   860 #
       
   861 # Test CIptvVodContentClient::Search. Search URL server does not exist.
       
   862 #
       
   863 #------------------------------------------------------------------------------------
       
   864 [Test]
       
   865 title ET11217 Wrong search URL 2
       
   866 
       
   867 pause PAUSE
       
   868 create VCXServiceManagementApiTest SMTest
       
   869 SMTest Create
       
   870 
       
   871 allowerrorcodes SMEServiceNotFound
       
   872 allowerrorcodes KERRARGUMENT
       
   873 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
   874 // invalid search url
       
   875 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
   876 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   877 SMTest UpdateServiceField 	ASYNC SERVICE_9 	ESearchUrl 	"http:\/\/www.xxx12346567xxxabc.fi/test123456789.xml?q=#search#"
       
   878 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
   879 
       
   880 SMTest Destroy
       
   881 delete SMTest
       
   882 pause PAUSE
       
   883 
       
   884 create VCXTestUtilModule Util
       
   885 Util CreateMobilecrashWatcher
       
   886 pause PAUSE
       
   887 create VCXVodContentApiTest test
       
   888 test DisableThumbnails
       
   889 test DeleteEpgDb
       
   890 test Create SERVICE_INVALID_URL1
       
   891 test SelectIap 3G_AP
       
   892 test Search Amaz
       
   893 allownextresult EIptvDlContentNotFound
       
   894 waittestclass test
       
   895 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   896 test Destroy
       
   897 delete test
       
   898 Util CheckMobilecrashes
       
   899 delete Util
       
   900 [Endtest]
       
   901 
       
   902 #------------------------------------------------------------------------------------
       
   903 #
       
   904 # Test CIptvVodContentClient::Search. Search URL protocol is malformed.
       
   905 #
       
   906 #------------------------------------------------------------------------------------
       
   907 [Test]
       
   908 title ET11218 Wrong search URL 3
       
   909 
       
   910 pause PAUSE
       
   911 create VCXServiceManagementApiTest SMTest
       
   912 SMTest Create
       
   913 
       
   914 allowerrorcodes SMEServiceNotFound
       
   915 allowerrorcodes KERRARGUMENT
       
   916 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
   917 //invalid search url
       
   918 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10		// invalid service
       
   919 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   920 SMTest UpdateServiceField 	ASYNC SERVICE_9 	ESearchUrl 	"hXttp:\/\/www.kaatuilee.com/test123456789.xml?q=#search#"
       
   921 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
   922 
       
   923 SMTest Destroy
       
   924 delete SMTest
       
   925 pause PAUSE
       
   926 
       
   927 create VCXTestUtilModule Util
       
   928 Util CreateMobilecrashWatcher
       
   929 pause PAUSE
       
   930 create VCXVodContentApiTest test
       
   931 test DisableThumbnails
       
   932 test DeleteEpgDb
       
   933 test Create SERVICE_INVALID_URL1
       
   934 test SelectIap 3G_AP
       
   935 test Search Amaz
       
   936 allownextresult EIptvDlContentNotFound
       
   937 waittestclass test
       
   938 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   939 test Destroy
       
   940 delete test
       
   941 Util CheckMobilecrashes
       
   942 delete Util
       
   943 [Endtest]
       
   944 
       
   945 #------------------------------------------------------------------------------------
       
   946 #
       
   947 # Test CIptvVodContentClient::Search. Search URL points to JPG binary file.
       
   948 #
       
   949 #------------------------------------------------------------------------------------
       
   950 [Test]
       
   951 title ET11219 Wrong search URL 4
       
   952 create VCXTestUtilModule Util
       
   953 Util CreateMobilecrashWatcher
       
   954 
       
   955 pause PAUSE
       
   956 create VCXServiceManagementApiTest SMTest
       
   957 SMTest Create
       
   958 
       
   959 allowerrorcodes SMEServiceNotFound
       
   960 allowerrorcodes KERRARGUMENT
       
   961 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
   962 // wrong search url2
       
   963 SMTest AddHardCodedService 	ASYNC SERVICE_9	 	3G_AP 1 10 	// OOPS9
       
   964 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
   965 SMTest UpdateServiceField		ASYNC SERVICE_9 	ESearchUrl	"http:\/\/193.65.182.78/Nseries/image1.JPG"
       
   966 SMTest UpdateServiceField		ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
   967 
       
   968 SMTest Destroy
       
   969 delete SMTest
       
   970 pause PAUSE
       
   971 
       
   972 
       
   973 create VCXVodContentApiTest test
       
   974 test DisableThumbnails
       
   975 test DeleteEpgDb
       
   976 test Create SERVICE_INVALID_URL1
       
   977 test SelectIap 3G_AP
       
   978 test Search Amaz
       
   979 allownextresult EIptvDlContentNotFound
       
   980 allownextresult KIptvRssParserError
       
   981 waittestclass test
       
   982 
       
   983 //
       
   984 // Update service search to valid url and search again
       
   985 //
       
   986 
       
   987 create VCXServiceManagementApiTest IptvTest
       
   988 IptvTest Create
       
   989 IptvTest UpdateServiceField		ASYNC SERVICE_INVALID_URL1 	ESearchUrl	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q=#search#"
       
   990 IptvTest Destroy
       
   991 delete IptvTest
       
   992 
       
   993 test Search Amaz
       
   994 waittestclass test
       
   995 
       
   996 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
   997 test Destroy
       
   998 delete test
       
   999 Util CheckMobilecrashes
       
  1000 delete Util
       
  1001 [Endtest]
       
  1002 
       
  1003 #------------------------------------------------------------------------------------
       
  1004 #
       
  1005 # Test CIptvVodContentClient::Search. Search URL is not formed according to the search URL template.
       
  1006 #
       
  1007 #------------------------------------------------------------------------------------
       
  1008 [Test]
       
  1009 title ET11236 Wrong search URL 5
       
  1010 
       
  1011 pause PAUSE
       
  1012 create VCXServiceManagementApiTest SMTest
       
  1013 SMTest Create
       
  1014 
       
  1015 allowerrorcodes SMEServiceNotFound
       
  1016 allowerrorcodes KERRARGUMENT
       
  1017 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
  1018 // invalid search url
       
  1019 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
  1020 SMTest UpdateServiceField	ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
  1021 SMTest UpdateServiceField 	ASYNC SERVICE_9 	ESearchUrl 	"http:\/\/193.65.182.78/search.php?file=nseries.xml&q="
       
  1022 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
  1023 
       
  1024 SMTest Destroy
       
  1025 delete SMTest
       
  1026 pause PAUSE
       
  1027 
       
  1028 create VCXTestUtilModule Util
       
  1029 Util CreateMobilecrashWatcher
       
  1030 pause PAUSE
       
  1031 create VCXVodContentApiTest test
       
  1032 test DisableThumbnails
       
  1033 test DeleteEpgDb
       
  1034 test Create SERVICE_INVALID_URL1
       
  1035 test SelectIap 3G_AP
       
  1036 test Search Amaz
       
  1037 //allownextresult EIptvDlContentNotFound
       
  1038 //allownextresult KIptvRssParserError
       
  1039 waittestclass test
       
  1040 test EnableVerifying ET11236
       
  1041 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1042 test Destroy
       
  1043 delete test
       
  1044 Util CheckMobilecrashes
       
  1045 delete Util
       
  1046 [Endtest]
       
  1047 
       
  1048 #------------------------------------------------------------------------------------
       
  1049 #
       
  1050 # Test CIptvVodContentClient::Search. The format of downloaded file from Search URL is not in right format.
       
  1051 #
       
  1052 #------------------------------------------------------------------------------------
       
  1053 [Test]
       
  1054 title ET11237 Wrong search URL 6
       
  1055 
       
  1056 pause PAUSE
       
  1057 create VCXServiceManagementApiTest SMTest
       
  1058 SMTest Create
       
  1059 
       
  1060 allowerrorcodes SMEServiceNotFound
       
  1061 allowerrorcodes KERRARGUMENT
       
  1062 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
  1063 // invalid search url
       
  1064 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
  1065 SMTest UpdateServiceField   ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
  1066 SMTest UpdateServiceField 	ASYNC SERVICE_9 	ESearchUrl 	"http:\/\/193.65.182.78/dvbtest/xmltv/yle1day.xml"
       
  1067 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
  1068 
       
  1069 SMTest Destroy
       
  1070 delete SMTest
       
  1071 pause PAUSE
       
  1072 
       
  1073 create VCXTestUtilModule Util
       
  1074 Util CreateMobilecrashWatcher
       
  1075 pause PAUSE
       
  1076 create VCXVodContentApiTest test
       
  1077 test DisableThumbnails
       
  1078 test DeleteEpgDb
       
  1079 test Create SERVICE_INVALID_URL1
       
  1080 test SelectIap 3G_AP
       
  1081 test Search Amaz
       
  1082 allownextresult KIptvRssParserError
       
  1083 allownextresult EIptvDlContentNotFound
       
  1084 waittestclass test
       
  1085 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1086 test Destroy
       
  1087 delete test
       
  1088 Util CheckMobilecrashes
       
  1089 delete Util
       
  1090 [Endtest]
       
  1091 
       
  1092 #------------------------------------------------------------------------------------
       
  1093 #
       
  1094 # Test CIptvVodContentClient::Search. Search URL points to a RTSP stream.
       
  1095 #
       
  1096 #------------------------------------------------------------------------------------
       
  1097 [Test]
       
  1098 title ET11238 Wrong search URL 7
       
  1099 
       
  1100 pause PAUSE
       
  1101 create VCXServiceManagementApiTest SMTest
       
  1102 SMTest Create
       
  1103 
       
  1104 allowerrorcodes SMEServiceNotFound
       
  1105 allowerrorcodes KERRARGUMENT
       
  1106 SMTest DeleteService SYNC SERVICE_INVALID_URL1
       
  1107 // invalid search url
       
  1108 SMTest AddHardCodedService 	ASYNC SERVICE_9 	3G_AP 1 10 	// invalid service
       
  1109 SMTest UpdateServiceField		ASYNC SERVICE_9 	EAddress 	"http:\/\/193.65.182.78/nseries.xml"
       
  1110 SMTest UpdateServiceField 	ASYNC SERVICE_9 	ESearchUrl 	"rtsp:\/\/mobile.live.sonera.com/ftp/yle/yle24/video/uusin.3gp"
       
  1111 SMTest UpdateServiceField 	ASYNC SERVICE_9 	EName 		SERVICE_INVALID_URL1
       
  1112 
       
  1113 SMTest Destroy
       
  1114 delete SMTest
       
  1115 pause PAUSE
       
  1116 
       
  1117 create VCXTestUtilModule Util
       
  1118 Util CreateMobilecrashWatcher
       
  1119 pause PAUSE
       
  1120 create VCXVodContentApiTest test
       
  1121 test DisableThumbnails
       
  1122 test DeleteEpgDb
       
  1123 test Create SERVICE_INVALID_URL1
       
  1124 test SelectIap 3G_AP
       
  1125 test Search Amaz
       
  1126 allownextresult EIptvDlContentNotFound
       
  1127 allownextresult KIptvRssParserError
       
  1128 waittestclass test
       
  1129 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1130 test Destroy
       
  1131 delete test
       
  1132 Util CheckMobilecrashes
       
  1133 delete Util
       
  1134 [Endtest]
       
  1135 
       
  1136 #------------------------------------------------------------------------------------
       
  1137 #
       
  1138 # Test CIptvVodContentClient::Search
       
  1139 #
       
  1140 #------------------------------------------------------------------------------------
       
  1141 [Test]
       
  1142 title ET11220 Search special chars
       
  1143 create VCXTestUtilModule Util
       
  1144 Util CreateMobilecrashWatcher
       
  1145 pause PAUSE
       
  1146 create VCXVodContentApiTest test
       
  1147 test DisableThumbnails
       
  1148 test DeleteEpgDb
       
  1149 test Create EXTRA_SERVICE_1
       
  1150 test SelectIap 3G_AP
       
  1151 test Search KBadCharacters
       
  1152 waittestclass test
       
  1153 test Search "@£${[]}\\!#¤%&/()="
       
  1154 waittestclass test
       
  1155 test Search "?`~^*¨'¨'äöÖÅÄ~eï"
       
  1156 waittestclass test
       
  1157 test Search "½§,.-;:_+/*<>|äåäå"
       
  1158 waittestclass test
       
  1159 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1160 test Destroy
       
  1161 delete test
       
  1162 Util CheckMobilecrashes
       
  1163 delete Util
       
  1164 [Endtest]
       
  1165 
       
  1166 #------------------------------------------------------------------------------------
       
  1167 #
       
  1168 # Test CIptvVodContentClient::CancelSearch
       
  1169 #
       
  1170 #------------------------------------------------------------------------------------
       
  1171 [Test]
       
  1172 title ET11226 CancelSearch when no search
       
  1173 create VCXTestUtilModule Util
       
  1174 Util CreateMobilecrashWatcher
       
  1175 pause PAUSE
       
  1176 create VCXVodContentApiTest test
       
  1177 test EnableThumbnails
       
  1178 test DeleteEpgDb
       
  1179 test Create EXTRA_SERVICE_1
       
  1180 test SelectIap 3G_AP
       
  1181 
       
  1182 test CancelSearch
       
  1183 
       
  1184 test Destroy
       
  1185 delete test
       
  1186 Util CheckMobilecrashes
       
  1187 delete Util
       
  1188 [Endtest]
       
  1189 
       
  1190 #------------------------------------------------------------------------------------
       
  1191 #
       
  1192 # Test CIptvVodContentClient::CancelSearch
       
  1193 #
       
  1194 #------------------------------------------------------------------------------------
       
  1195 [Test]
       
  1196 title ET11227 Repeat CancelSearch
       
  1197 create VCXTestUtilModule Util
       
  1198 Util CreateMobilecrashWatcher
       
  1199 pause PAUSE
       
  1200 create VCXVodContentApiTest test
       
  1201 test EnableThumbnails
       
  1202 test DeleteEpgDb
       
  1203 test Create EXTRA_SERVICE_1
       
  1204 test SelectIap 3G_AP
       
  1205 
       
  1206 test CancelSearch
       
  1207 test CancelSearch
       
  1208 
       
  1209 test Destroy
       
  1210 delete test
       
  1211 Util CheckMobilecrashes
       
  1212 delete Util
       
  1213 [Endtest]
       
  1214 
       
  1215 #------------------------------------------------------------------------------------
       
  1216 #
       
  1217 # Test CIptvVodContentClient::CancelSearch
       
  1218 #
       
  1219 #------------------------------------------------------------------------------------
       
  1220 [Test]
       
  1221 title ET11228 CancelSearch when ECG update ongoing, no search
       
  1222 create VCXTestUtilModule Util
       
  1223 Util CreateMobilecrashWatcher
       
  1224 pause PAUSE
       
  1225 create VCXVodContentApiTest test
       
  1226 test EnableThumbnails
       
  1227 test DeleteEpgDb
       
  1228 test Create EXTRA_SERVICE_1
       
  1229 test SelectIap 3G_AP
       
  1230 
       
  1231 test UpdateEcg
       
  1232 pause 2000
       
  1233 
       
  1234 test CancelSearch
       
  1235 
       
  1236 waittestclass test
       
  1237 
       
  1238 test Destroy
       
  1239 delete test
       
  1240 Util CheckMobilecrashes
       
  1241 delete Util
       
  1242 [Endtest]
       
  1243 
       
  1244 #------------------------------------------------------------------------------------
       
  1245 #
       
  1246 # Test CIptvVodContentClient::CancelSearch
       
  1247 #
       
  1248 #------------------------------------------------------------------------------------
       
  1249 [Test]
       
  1250 title ET11229 CancelSearch when ECG update and search are ongoing
       
  1251 create VCXTestUtilModule Util
       
  1252 Util CreateMobilecrashWatcher
       
  1253 pause PAUSE
       
  1254 create VCXVodContentApiTest test
       
  1255 test EnableThumbnails
       
  1256 test DeleteEpgDb
       
  1257 test Create EXTRA_SERVICE_1
       
  1258 test SelectIap 3G_AP
       
  1259 
       
  1260 test UpdateEcg
       
  1261 pause 500
       
  1262 test Search Amaz
       
  1263 pause 500
       
  1264 test CancelSearch
       
  1265 
       
  1266 waittestclass test
       
  1267 
       
  1268 test VerifyAllCategoryContent 0
       
  1269 
       
  1270 test Destroy
       
  1271 delete test
       
  1272 Util CheckMobilecrashes
       
  1273 delete Util
       
  1274 [Endtest]
       
  1275 
       
  1276 #------------------------------------------------------------------------------------
       
  1277 #
       
  1278 # Test CIptvVodContentClient::Search
       
  1279 #
       
  1280 #------------------------------------------------------------------------------------
       
  1281 [Test]
       
  1282 title ET11230 Search 3G and update ECG WLAN
       
  1283 create VCXTestUtilModule Util
       
  1284 Util CreateMobilecrashWatcher
       
  1285 pause PAUSE
       
  1286 create VCXVodContentApiTest test
       
  1287 test EnableThumbnails
       
  1288 test DeleteEpgDb
       
  1289 test Create EXTRA_SERVICE_1
       
  1290 
       
  1291 test SelectIap WLAN_AP
       
  1292 test UpdateEcg
       
  1293 pause 500
       
  1294 
       
  1295 test SelectIap 3G_AP
       
  1296 test Search Amaz
       
  1297 
       
  1298 waittestclass test // update and search
       
  1299 waittestclass test
       
  1300 
       
  1301 test VerifyAllCategoryContent 0
       
  1302 
       
  1303 test Destroy
       
  1304 delete test
       
  1305 Util CheckMobilecrashes
       
  1306 delete Util
       
  1307 [Endtest]
       
  1308 
       
  1309 #------------------------------------------------------------------------------------
       
  1310 #
       
  1311 # Test deleting instance of CIptvVodContentClient when search and ECG update are ongoing.
       
  1312 #
       
  1313 #------------------------------------------------------------------------------------
       
  1314 [Test]
       
  1315 title ET11231 Delete client while ECG search and update are ongoing
       
  1316 create VCXTestUtilModule Util
       
  1317 Util CreateMobilecrashWatcher
       
  1318 pause PAUSE
       
  1319 create VCXVodContentApiTest test
       
  1320 test DisableThumbnails
       
  1321 test DeleteEpgDb
       
  1322 test Create EXTRA_SERVICE_1
       
  1323 
       
  1324 test SelectIap 3G_AP
       
  1325 
       
  1326 test UpdateEcg
       
  1327 pause 1000
       
  1328 
       
  1329 test Search Amaz
       
  1330 pause 1000
       
  1331 
       
  1332 test Destroy
       
  1333 delete test
       
  1334 Util CheckMobilecrashes
       
  1335 delete Util
       
  1336 [Endtest]
       
  1337 
       
  1338 #------------------------------------------------------------------------------------
       
  1339 #
       
  1340 # Test getting update time after search.
       
  1341 #
       
  1342 #------------------------------------------------------------------------------------
       
  1343 [Test]
       
  1344 title ET11233 Search and GetUpdateTime
       
  1345 create VCXTestUtilModule Util
       
  1346 Util CreateMobilecrashWatcher
       
  1347 pause PAUSE
       
  1348 create VCXVodContentApiTest test
       
  1349 test DisableThumbnails
       
  1350 test DeleteEpgDb
       
  1351 test Create EXTRA_SERVICE_1
       
  1352 test GetUpdateTime // database is empty
       
  1353 test SelectIap 3G_AP
       
  1354 test UpdateEcg
       
  1355 waittestclass test
       
  1356 test Search Amaz
       
  1357 waittestclass test
       
  1358 test GetUpdateTime 3
       
  1359 test Destroy
       
  1360 delete test
       
  1361 Util CheckMobilecrashes
       
  1362 delete Util
       
  1363 [Endtest]
       
  1364 
       
  1365 #------------------------------------------------------------------------------------
       
  1366 #
       
  1367 # Test CIptvVodContentClient::Search
       
  1368 #
       
  1369 #------------------------------------------------------------------------------------
       
  1370 [Test]
       
  1371 title ET11234 Two searches at the same time
       
  1372 create VCXTestUtilModule Util
       
  1373 Util CreateMobilecrashWatcher
       
  1374 pause PAUSE
       
  1375 
       
  1376 create VCXVodContentApiTest test
       
  1377 create VCXVodContentApiTest test2
       
  1378 
       
  1379 test EnableThumbnails
       
  1380 test DeleteEpgDb
       
  1381 
       
  1382 test Create EXTRA_SERVICE_1
       
  1383 test2 Create EXTRA_SERVICE_3
       
  1384 
       
  1385 test SelectIap 3G_AP
       
  1386 test2 SelectIap 3G_AP
       
  1387 
       
  1388 test Search Amaz
       
  1389 test2 Search Pro
       
  1390 
       
  1391 waittestclass test
       
  1392 
       
  1393 pause 7000
       
  1394 
       
  1395 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1396 
       
  1397 test2 VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1398 
       
  1399 test Destroy
       
  1400 test2 Destroy
       
  1401 
       
  1402 delete test
       
  1403 delete test2
       
  1404 
       
  1405 Util CheckMobilecrashes
       
  1406 delete Util
       
  1407 [Endtest]
       
  1408 
       
  1409 #------------------------------------------------------------------------------------
       
  1410 #
       
  1411 # Test CIptvVodContentClient::Search against service with parental rating information.
       
  1412 #
       
  1413 #------------------------------------------------------------------------------------
       
  1414 [Test]
       
  1415 title ET11246 Search parental rating - limit 18
       
  1416 create VCXTestUtilModule Util
       
  1417 Util CreateMobilecrashWatcher
       
  1418 pause PAUSE
       
  1419 create VCXVodContentApiTest test
       
  1420 test EnableThumbnails
       
  1421 test DeleteEpgDb
       
  1422 test SetParentalControlAge 18
       
  1423 test Create EXTRA_SERVICE_5
       
  1424 test SelectIap 3G_AP
       
  1425 test Search "1" // returns few videos, couple with age rating 18 or over
       
  1426 waittestclass test
       
  1427 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1428 test Destroy
       
  1429 delete test
       
  1430 Util CheckMobilecrashes
       
  1431 delete Util
       
  1432 [Endtest]
       
  1433 
       
  1434 #------------------------------------------------------------------------------------
       
  1435 #
       
  1436 # Test CIptvVodContentClient::Search against service with parental rating information.
       
  1437 #
       
  1438 #------------------------------------------------------------------------------------
       
  1439 [Test]
       
  1440 title ET11247 Search parental rating - limit 1
       
  1441 create VCXTestUtilModule Util
       
  1442 Util CreateMobilecrashWatcher
       
  1443 pause PAUSE
       
  1444 create VCXVodContentApiTest test
       
  1445 test EnableThumbnails
       
  1446 test DeleteEpgDb
       
  1447 test SetParentalControlAge 1
       
  1448 test Create EXTRA_SERVICE_5
       
  1449 test SelectIap 3G_AP
       
  1450 test Search "1" // returns few videos, couple with age rating 18 or over
       
  1451 waittestclass test
       
  1452 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1453 test Destroy
       
  1454 delete test
       
  1455 Util CheckMobilecrashes
       
  1456 delete Util
       
  1457 [Endtest]
       
  1458 
       
  1459 #------------------------------------------------------------------------------------
       
  1460 #
       
  1461 # Test CIptvVodContentClient::Search against service with parental rating information.
       
  1462 #
       
  1463 #------------------------------------------------------------------------------------
       
  1464 [Test]
       
  1465 title ET11248 Search parental rating - no limit
       
  1466 create VCXTestUtilModule Util
       
  1467 Util CreateMobilecrashWatcher
       
  1468 pause PAUSE
       
  1469 create VCXVodContentApiTest test
       
  1470 test EnableThumbnails
       
  1471 test DeleteEpgDb
       
  1472 test SetParentalControlAge 0
       
  1473 test Create EXTRA_SERVICE_5
       
  1474 test SelectIap 3G_AP
       
  1475 test Search "1" // returns few videos, couple with age rating 18 or over
       
  1476 waittestclass test
       
  1477 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1478 test Destroy
       
  1479 delete test
       
  1480 Util CheckMobilecrashes
       
  1481 delete Util
       
  1482 [Endtest]
       
  1483 
       
  1484 #------------------------------------------------------------------------------------
       
  1485 #
       
  1486 # Test CIptvVodContentClient::Search
       
  1487 #
       
  1488 #------------------------------------------------------------------------------------
       
  1489 [Test]
       
  1490 title ET11251 Search and preview
       
  1491 create VCXTestUtilModule Util
       
  1492 Util CreateMobilecrashWatcher
       
  1493 pause PAUSE
       
  1494 create VCXVodContentApiTest test
       
  1495 test EnableThumbnails
       
  1496 test DeleteEpgDb
       
  1497 test Create EXTRA_SERVICE_6
       
  1498 test SelectIap 3G_AP
       
  1499 test Search "preview download"
       
  1500 waittestclass test
       
  1501 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1502 test Destroy
       
  1503 delete test
       
  1504 Util CheckMobilecrashes
       
  1505 delete Util
       
  1506 [Endtest]
       
  1507 
       
  1508 #------------------------------------------------------------------------------------
       
  1509 #
       
  1510 # Test CIptvVodContentClient::Search when long search URL is combined with long search query.
       
  1511 #
       
  1512 #------------------------------------------------------------------------------------
       
  1513 [Test]
       
  1514 title ET11235 Search url over 256 characters
       
  1515 create VCXTestUtilModule Util
       
  1516 Util CreateMobilecrashWatcher
       
  1517 
       
  1518 pause PAUSE
       
  1519 create VCXServiceManagementApiTest SMTest
       
  1520 SMTest Create
       
  1521 SMTest GetServices SYNC 0 250
       
  1522 SMTest Destroy
       
  1523 delete SMTest
       
  1524 
       
  1525 pause PAUSE
       
  1526 create VCXVodContentApiTest test
       
  1527 test EnableThumbnails
       
  1528 test DeleteEpgDb
       
  1529 test Create EXTRA_SERVICE_4
       
  1530 test SelectIap 3G_AP
       
  1531 //allownextresult KERROVERFLOW
       
  1532 test Search AmazingAmazingAma
       
  1533 waittestclass test
       
  1534 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1535 test Destroy
       
  1536 delete test
       
  1537 Util CheckMobilecrashes
       
  1538 delete Util
       
  1539 [Endtest]
       
  1540 
       
  1541 #------------------------------------------------------------------------------------
       
  1542 #
       
  1543 # Test CIptvVodContentClient::Search when long search URL is combined with long search query.
       
  1544 #
       
  1545 #------------------------------------------------------------------------------------
       
  1546 [Test]
       
  1547 title ET11253 Search url over 2k characters
       
  1548 create VCXTestUtilModule Util
       
  1549 Util CreateMobilecrashWatcher
       
  1550 
       
  1551 pause PAUSE
       
  1552 create VCXServiceManagementApiTest SMTest
       
  1553 SMTest Create
       
  1554 SMTest UpdateServiceField		ASYNC EXTRA_SERVICE_4 	ESearchUrl	EAddress_2kLongUrl
       
  1555 SMTest GetServices SYNC 0 250
       
  1556 SMTest Destroy
       
  1557 delete SMTest
       
  1558 
       
  1559 pause PAUSE
       
  1560 create VCXVodContentApiTest test
       
  1561 test EnableThumbnails
       
  1562 test DeleteEpgDb
       
  1563 test Create EXTRA_SERVICE_4
       
  1564 test SelectIap 3G_AP
       
  1565 //allownextresult KERROVERFLOW
       
  1566 test Search AmazingAmazingAma
       
  1567 allownextresult EIptvDlContentNotFound
       
  1568 waittestclass test
       
  1569 test VerifyAllCategoryContent KIptvTestSearchCategoryId
       
  1570 test Destroy
       
  1571 delete test
       
  1572 Util CheckMobilecrashes
       
  1573 delete Util
       
  1574 [Endtest]