videocollection/mpxmyvideoscollection/tsrc/mpxmvcolltest/conf/VCXMyVideosCollectionPluginTestMultiDrives.cfg
#-----------------------------------------------------------------------------------
#
# STIF test script file for testing VCXMyVideosCollectionPluginTest.dll
#
# Tests functionality for multiple drives.
#
#-----------------------------------------------------------------------------------
[StifSettings]
CapsModifier= IptvTestClientApiCapsMod.exe
[EndStifSettings]
[Define]
INCLUDE c:\TestFramework\VCXMVCollectionPluginTest.inc
INCLUDE c:\TestFramework\VCXDrives.inc
INCLUDE c:\TestFramework\VCXConsts.inc
INCLUDE c:\TestFramework\VCXErrors.inc
[Enddefine]
#************************************************************************************
# Sub Cleanup
# Removes all videos from the phone. Collection is opened.
#************************************************************************************
[Sub Cleanup]
print cleanup start
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV RemoveAllMedia
delete VCXMV
print wait 30sec
pause 30000
print cleanup end
[EndSub]
#------------------------------------------------------------------------------------
#
# Does configuration for cases in this script.
# Creates 'Internet' IAP into 'Internet' destination and sets connection as authorized.
# Sets preferred memory to first used drive and sorting order to none.
# Removes all video files from the device.
#
#------------------------------------------------------------------------------------
[Test]
title ET30160 <not a test> Setup
var CASE ET30160
create VCXTestUtilModule Util
// Copies some known 3G AP to "Internet" destination with "Internet" name for the AP.
Util SetUsedDestination "Internet"
Util CopyMethod "Internet" "Internet" "Internet"
// Disable connection dialog for "Internet" destination.
Util SetConnectionMethodIntAttribute "Internet" "Internet" 507 2 // 507 is ECmSeamlessnessLevel
Util SetDefaultIapCenrep
delete Util
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
// Remove all videos
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV SetPreferredMemory C_DRIVE
VCXMV SetSortingOrder EVcxMyVideosSortingNone
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV RemoveAllMedia
VCXMV RefreshContents
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
delete VCXMV
pause 2000
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CheckMediaCount ANY_DRIVE 0
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
print OK!
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests downloading a video to 3rd drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30161 Download video to F drive
var CASE ET30161
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV Download 3G_AP SERVICE_SMALLVIDEOS 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
waittestclass VCXMV // Dl complete
VCXMV RefreshContents
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 1
VCXMV CheckMediaDetail ANY_DRIVE 0 EVcxTestMapping_KMPXMediaGeneralFlags EVcxMyVideosVideoNew
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests downloading multiple videos at same time to F drive
#
#------------------------------------------------------------------------------------
[Test]
title ET30162 3 downloads to F drive
var CASE ET30162
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
VCXMV SetPreferredMemory E_DRIVE
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV Download 3G_AP SERVICE_2 20 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV Download 3G_AP SERVICE_2 2 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV WaitAllDownloads
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 3
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests pause and resume download on F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30163 Pause and resume download on F drive
var CASE ET30163
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Start download
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
// Pause it
VCXMV PauseDownload SERVICE_2 1 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
waittestclass VCXMV // Dl paused
VCXMV ResumeDownload 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
waittestclass VCXMV // Dl complete
VCXMV CheckMediaCount F_DRIVE_FORCED 1
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests downloading to multiple drives same time.
#
#------------------------------------------------------------------------------------
[Test]
title ET30164 Download to E and F drives
var CASE ET30164
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Start download
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV SetPreferredMemory E_DRIVE_FORCED
pause 1000
// Start download
VCXMV Download 3G_AP SERVICE_2 2 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV WaitAllDownloads
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 1
VCXMV CheckMediaCount E_DRIVE_FORCED 1
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests downloading to multiple drives same time and cancel download.
#
#------------------------------------------------------------------------------------
[Test]
title ET30165 Download to E and F drives, cancel E
var CASE ET30165
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Start download
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV SetPreferredMemory E_DRIVE_FORCED
pause 1000
// Start download
VCXMV Download 3G_AP SERVICE_2 2 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
// Cancel download
VCXMV CancelDownload SERVICE_2 2 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageDlCanceled
waittestclass VCXMV
VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
waittestclass VCXMV // Dl complete
VCXMV CheckMediaCount F_DRIVE_FORCED 1
VCXMV CheckMediaCount E_DRIVE_FORCED 0
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests downloading to multiple drives same time, pause and resume the download on E drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30167 Download to E and F drives, pause and resume E
var CASE ET30167
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Start download
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV SetPreferredMemory E_DRIVE_FORCED
pause 1000
// Start download
VCXMV Download 3G_AP SERVICE_2 2 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
// Pause it
VCXMV PauseDownload SERVICE_2 2 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
waittestclass VCXMV // Dl paused
VCXMV ResumeDownload 3G_AP SERVICE_2 2 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV WaitAllDownloads
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 1
VCXMV CheckMediaCount E_DRIVE_FORCED 1
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests downloading to multiple drives same time, pause and resume the download on F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30168 Download to E and F drives, pause and resume F
var CASE ET30168
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory F_DRIVE_FORCED
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Start download
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV SetPreferredMemory E_DRIVE_FORCED
pause 1000
// Start download
VCXMV Download 3G_AP SERVICE_2 2 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
// Pause it
VCXMV PauseDownload SERVICE_2 1 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlPaused
waittestclass VCXMV // Dl paused
VCXMV ResumeDownload 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDlRunning
waittestclass VCXMV
VCXMV WaitAllDownloads
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 1
VCXMV CheckMediaCount E_DRIVE_FORCED 1
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests that downloading to C drive is not possible.
#
#------------------------------------------------------------------------------------
[Test]
title ET30169 Download to C
var CASE ET30169
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV SetPreferredMemory C_DRIVE_FORCED
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Start download
VCXMV Download 3G_AP SERVICE_2 1 0 "mediacharger" "Buran_9o"
VCXMV WaitForAnyMessage 5MINUTES KVCXMYVideosTestMessageDlSucceeded KVCXMYVideosTestMessageDlFailed KVCXMYVideosTestMessageDlGeneral
waittestclass VCXMV // Dl complete
// File is downloaded to E drive.
VCXMV CheckMediaCount C_DRIVE_FORCED 0
VCXMV CheckMediaCount F_DRIVE_FORCED 0
VCXMV CheckMediaCount E_DRIVE_FORCED 1
print OK!
delete VCXMV
Util CheckMobilecrashes
pause 1000
delete Util
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests sideloading videos one by one to different drives.
#
#------------------------------------------------------------------------------------
[Test]
title ET30170 Sideload to multiple drives one by one
var CASE ET30170
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
loop 5
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "C LOOP_COUNTER .mp4"
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "E LOOP_COUNTER .mp4"
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "F LOOP_COUNTER .mp4"
endloop
VCXMV CheckMediaCount C_DRIVE_FORCED 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV CheckMediaCount F_DRIVE_FORCED 5
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests sideloading videos to multiple drives at the same time.
#
#------------------------------------------------------------------------------------
[Test]
title ET30171 Sideload to multiple drives
var CASE ET30171
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV CreateVideoFileNoWait IptvTestVideo3Gp C_DRIVE_FORCED "C video.mp4" 60000 5
VCXMV CreateVideoFileNoWait IptvTestVideo3Gp E_DRIVE_FORCED "E video.mp4" 60000 5
VCXMV CreateVideoFileNoWait IptvTestVideo3Gp F_DRIVE_FORCED "F video.mp4" 60000 5
pause 60000
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV CheckMediaCount F_DRIVE_FORCED 5
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying video from C to E drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30172 Copy from C to E
var CASE ET30172
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "video.mp4"
VCXMV CopyMedia C_DRIVE_FORCED 0 E_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCollectionCategoryChanged
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 1
VCXMV CheckMediaCount E_DRIVE_FORCED 1
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying video from C to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30173 Copy from C to F
var CASE ET30173
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "video.mp4"
VCXMV CopyMedia C_DRIVE_FORCED 0 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCollectionCategoryChanged
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 1
VCXMV CheckMediaCount F_DRIVE_FORCED 1
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying video from F to E drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30174 Copy from F to E
var CASE ET30174
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "video.mp4"
VCXMV CopyMedia F_DRIVE_FORCED 0 E_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCollectionCategoryChanged
waittestclass VCXMV
VCXMV CheckMediaCount E_DRIVE_FORCED 1
VCXMV CheckMediaCount F_DRIVE_FORCED 1
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying video from F to C drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30175 Copy from F to C
var CASE ET30175
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "video.mp4"
VCXMV CopyMedia F_DRIVE_FORCED 0 C_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCollectionCategoryChanged
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 1
VCXMV CheckMediaCount F_DRIVE_FORCED 1
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving a video from C to E drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30176 Move from C to E
var CASE ET30176
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "video.mp4"
VCXMV MoveMedia C_DRIVE_FORCED 0 E_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 0
VCXMV CheckMediaCount E_DRIVE_FORCED 1
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving a video from C to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30177 Move from C to F
var CASE ET30177
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "video.mp4"
VCXMV MoveMedia C_DRIVE_FORCED 0 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 0
VCXMV CheckMediaCount F_DRIVE_FORCED 1
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving a video from F to E drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30178 Move from F to E
var CASE ET30178
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "video.mp4"
VCXMV MoveMedia F_DRIVE_FORCED 0 E_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount E_DRIVE_FORCED 1
VCXMV CheckMediaCount F_DRIVE_FORCED 0
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving a video from F to C drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30179 Move from F to C
var CASE ET30179
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "video.mp4"
VCXMV MoveMedia F_DRIVE_FORCED 0 C_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCollectionItemChanged KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount C_DRIVE_FORCED 1
VCXMV CheckMediaCount F_DRIVE_FORCED 0
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving multiple videos from F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30180 Move multiple from F
var CASE ET30180
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "video.mp4" 50000 5
VCXMV CheckMediaCount F_DRIVE_FORCED 5
VCXMV MoveMedias F_DRIVE_FORCED 0 5 E_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 0
VCXMV CheckMediaCount E_DRIVE_FORCED 5
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving multiple videos from F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30181 Move multiple to F
var CASE ET30181
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "video.mp4" 50000 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV MoveMedias E_DRIVE_FORCED 0 5 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 5
VCXMV CheckMediaCount E_DRIVE_FORCED 0
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving videos from C and E drive to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30182 Move from C and E to F
var CASE ET30182
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "F video.mp4" 50000 5
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "C video.mp4" 50000 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV CheckMediaCount C_DRIVE_FORCED 5
VCXMV MoveMedias ANY_DRIVE 0 10 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 10
VCXMV CheckMediaCount E_DRIVE_FORCED 0
VCXMV CheckMediaCount C_DRIVE_FORCED 0
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests moving videos from C, E and F drives to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30183 Move from C, E and F to F
var CASE ET30183
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "E video.mp4" 50000 3
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "C video.mp4" 50000 3
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "F video.mp4" 50000 3
VCXMV CheckMediaCount E_DRIVE_FORCED 3
VCXMV CheckMediaCount C_DRIVE_FORCED 3
VCXMV CheckMediaCount F_DRIVE_FORCED 3
VCXMV MoveMedias ANY_DRIVE 0 9 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageMoveResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 9
VCXMV CheckMediaCount E_DRIVE_FORCED 0
VCXMV CheckMediaCount C_DRIVE_FORCED 0
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying multiple videos from F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30184 Copy multiple from F
var CASE ET30184
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "video.mp4" 50000 5
VCXMV CheckMediaCount F_DRIVE_FORCED 5
VCXMV CopyMedias F_DRIVE_FORCED 0 5 E_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying multiple videos to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30185 Copy multiple to F
var CASE ET30185
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "video.mp4" 50000 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV CopyMedias E_DRIVE_FORCED 0 5 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying from C and E drives to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30186 Copy from C and E to F
var CASE ET30186
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "F video.mp4" 50000 5
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "C video.mp4" 50000 5
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV CheckMediaCount C_DRIVE_FORCED 5
VCXMV CopyMedias ANY_DRIVE 0 10 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 10
VCXMV CheckMediaCount E_DRIVE_FORCED 5
VCXMV CheckMediaCount C_DRIVE_FORCED 5
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests copying from C, E and F drives to F drive.
#
#------------------------------------------------------------------------------------
[Test]
title ET30187 Copy from C, E and F to F
var CASE ET30187
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "E video.mp4" 50000 3
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "C video.mp4" 50000 3
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "F video.mp4" 50000 3
VCXMV CheckMediaCount E_DRIVE_FORCED 3
VCXMV CheckMediaCount C_DRIVE_FORCED 3
VCXMV CheckMediaCount F_DRIVE_FORCED 3
VCXMV CopyMedias ANY_DRIVE 0 9 F_DRIVE_FORCED 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCopyResp KVCXMYVideosTestMessageCopyOrMoveStarted KVCXMYVideosTestMessageCommandComplete
waittestclass VCXMV
VCXMV CheckMediaCount F_DRIVE_FORCED 9
VCXMV CheckMediaCount E_DRIVE_FORCED 3
VCXMV CheckMediaCount C_DRIVE_FORCED 3
print OK!
delete VCXMV
[Endtest]
#------------------------------------------------------------------------------------
#
# Tests deleting from multiple drives at the same time.
#
#------------------------------------------------------------------------------------
[Test]
title ET30188 Delete from C, E and F
var CASE ET30188
create VCXTestUtilModule Util
Util CreateMobilecrashWatcher
callsub Cleanup
// TESTCASE START
create VCXMyVideosCollectionPluginTest VCXMV
VCXMV Create
// Get list of videos
VCXMV OpenCollection VCXCollectionMyVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
VCXMV OpenLevel EVcxMyVideosAllVideos
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageCollectionOpened
waittestclass VCXMV
// Create sideloaded video
VCXMV CreateVideoFile IptvTestVideo3Gp E_DRIVE_FORCED "E video.mp4" 50000 3
VCXMV CreateVideoFile IptvTestVideo3Gp C_DRIVE_FORCED "C video.mp4" 50000 3
VCXMV CreateVideoFile IptvTestVideo3Gp F_DRIVE_FORCED "F video.mp4" 50000 3
VCXMV CheckMediaCount E_DRIVE_FORCED 3
VCXMV CheckMediaCount C_DRIVE_FORCED 3
VCXMV CheckMediaCount F_DRIVE_FORCED 3
VCXMV DeleteMedias ANY_DRIVE 0 9 0
VCXMV WaitForMessages 1MINUTE KVCXMYVideosTestMessageDeleteResp KVCXMYVideosTestMessageCommandComplete KVCXMYVideosTestMessageDeleteStarted
waittestclass VCXMV
VCXMV CoolDown
VCXMV CheckMediaCount F_DRIVE_FORCED 0
VCXMV CheckMediaCount E_DRIVE_FORCED 0
VCXMV CheckMediaCount C_DRIVE_FORCED 0
print OK!
delete VCXMV
[Endtest]