// USB UI tests - total 14 tc
/////////////////////
//Ovi->MS
[Test]
title Change USB Connection Ovi Suite to MS Manual/KeyDown
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyDownArrow
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]
[Test]
title Change USB Connection Ovi Suite to MS Manual/KeyUp
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyUpArrow
pause 500
presskey global EKeyUpArrow
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]
/////////////////////////
//Ovi->MTP
[Test]
title Change USB Connection Ovi Suite to MTP Manual/KeyUp
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyUpArrow
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MTP
delete tester
[Endtest]
[Test]
title Change USB Connection Ovi Suite to MTP Manual/KeyDown
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyDownArrow
pause 500
presskey global EKeyDownArrow
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MTP
delete tester
[Endtest]
/////////////////////////
//MS->Ovi
[Test]
title Change USB Connection MS to Ovi Suite Manual
create USBUiApiTest tester
tester LaunchUsbUiApp OFF MS
tester TurnLightsOn
pause 4000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF PCSUITE
delete tester
[Endtest]
/////////////////////////
//MS->MTP
[Test]
title Change USB Connection MS to MTP Manual
create USBUiApiTest tester
tester LaunchUsbUiApp OFF MS
tester TurnLightsOn
pause 4000
presskey global EKeyDownArrow
pause 500
presskey global EKeyDownArrow
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MTP
delete tester
[Endtest]
/////////////////////////
//MTP->Ovi
[Test]
title Change USB Connection MTP to Ovi Suite Manual/KeyDown
create USBUiApiTest tester
tester LaunchUsbUiApp OFF MTP
tester TurnLightsOn
pause 4000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF PCSUITE
delete tester
[Endtest]
/////////////////////////
//MTP->MS
[Test]
title Change USB Connection MTP to MS Manual/KeyDown
create USBUiApiTest tester
tester LaunchUsbUiApp OFF MTP
tester TurnLightsOn
pause 4000
presskey global EKeyDownArrow
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]
/////////////////////////
//Change In Options Menu
//MS->MTP
[Test]
title Change USB Connection MS to MTP Change In Options Menu
create USBUiApiTest tester
tester LaunchUsbUiApp OFF MS
tester TurnLightsOn
pause 4000
presskey global EKeyDownArrow
pause 500
presskey global EKeyDownArrow
presskey global EKeyDevice0
pause 2000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MTP
delete tester
[Endtest]
/////////////////////////
//MTP->Ovi
[Test]
title Change USB Connection MTP to Ovi Suite Change In Options Menu
create USBUiApiTest tester
tester LaunchUsbUiApp OFF MTP
tester TurnLightsOn
pause 4000
presskey global EKeyDevice0
pause 2000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF PCSUITE
delete tester
[Endtest]
/////////////////////////
//Ovi->MS
[Test]
title Change USB Connection Ovi Suite to MS Change In Options Menu
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyDownArrow
presskey global EKeyDevice0
pause 2000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]
/////////////////////////
//Exit
[Test]
title USB Application Cancelled/Device Key 1 Exit
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyDevice1
pause 2000
tester FinishTest CANCELLED
delete tester
[Endtest]
/////////////////////////
//Cancel
[Test]
title USB Application Cancelled/Options Menu Exit
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyDevice0
pause 500
presskey global EKeyDownArrow
presskey global EKeyDownArrow
presskey global EKeyEnter
pause 2000
tester FinishTest CANCELLED
delete tester
[Endtest]
/////////////////////////
//Help
[Test]
title USB Application Cancelled/Help Option Entered/Options Menu Exit
create USBUiApiTest tester
tester LaunchUsbUiApp OFF PCSUITE
tester TurnLightsOn
pause 4000
presskey global EKeyDevice0
pause 500
presskey global EKeyDownArrow
pause 500
presskey global EKeyEnter
pause 5000
presskey global EKeyDevice1
pause 2000
presskey global EKeyDevice1
pause 2000
tester FinishTest CANCELLED
delete tester
[Endtest]