usbuis/usbui/tsrc/usbuiapitest/conf/ui_usbuiapitest.cfg
author hgs
Fri, 23 Apr 2010 23:57:55 +0300
changeset 46 0ffee699d6c7
parent 44 5323ec7dc425
permissions -rw-r--r--
201007

/*
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Test script config file
*
*/

// USBUiApiTest Module - total ... tc

// USBUiApiTest Api Tests (... tc)

//[Test]
//title Example Api Test
//create USBUiApiTest tester
//tester ExecuteApiTestBlock ExampleTestL API option 1 a
//delete tester
//[Endtest]

// USB UI tests -  total 14 tc
/////////////////////
//Ovi->MS
[Test]
title Change USB Connection Ovi Suite to MS Manual/KeyDown
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDownArrow	//MS
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]

[Test]
title Change USB Connection Ovi Suite to MS Manual/KeyUp
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyUpArrow	//OVI
pause 500
presskey global EKeyUpArrow	//MODEM
pause 500
presskey global EKeyUpArrow	//MTP
pause 500
presskey global EKeyUpArrow	//MS
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyUpArrow	//OVI
pause 500
presskey global EKeyUpArrow	//MODEM
pause 500
presskey global EKeyUpArrow	//MTP
pause 500
presskey global EKeyEnter	
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest USB_CONN_MODE OFF MTP
delete tester
[Endtest]

[Test]
title Change USB Connection Ovi Suite to MTP Manual/KeyDown
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDownArrow	//MS
pause 500
presskey global EKeyDownArrow	//MTP
pause 500
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF MS
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyUpArrow	//OVI
pause 500
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest USB_CONN_MODE OFF PCSUITE
delete tester
[Endtest]
/////////////////////////
//MS->MTP
[Test]
title Change USB Connection MS to MTP Manual
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF MS
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDownArrow	//MS
pause 500
presskey global EKeyDownArrow	//MTP
pause 500
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF MTP
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF MTP
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDownArrow	//MS
pause 500
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]
/////////////////////////
//OVI->MODEM
[Test]
title Change USB Connection OVI to Modem Manual/KeyDown
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDownArrow	//MS
pause 500
presskey global EKeyDownArrow	//MTP
pause 500
presskey global EKeyDownArrow	//MODEM
pause 500
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest USB_CONN_MODE OFF MODEM
delete tester
[Endtest]
/////////////////////////
//MODEM->OVI
[Test]
title Change USB Connection Modem to MS Options Menu/KeyUp
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF MODEM
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyUpArrow	//OVI
pause 500
presskey global EKeyUpArrow	//MODEM
pause 500
presskey global EKeyUpArrow	//MTP
pause 500
presskey global EKeyUpArrow	//MS
pause 500
presskey global EKeyDevice0
pause 1000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF MS
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDownArrow	//MS
pause 500
presskey global EKeyDownArrow	//MTP
pause 500
presskey global EKeyDevice0
pause 2000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF MTP
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500
presskey global EKeyDevice0
pause 2000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock 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 ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI	
pause 500
presskey global EKeyDownArrow	//MS	
pause 500
presskey global EKeyDevice0
pause 2000
presskey global EKeyEnter
pause 1000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest USB_CONN_MODE OFF MS
delete tester
[Endtest]
/////////////////////////
//Exit
[Test]
title USB Application Exit/Device Key 1 Exit
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDevice1
pause 2000
tester ExecuteApiTestBlock FinishTest CANCELLED
delete tester
[Endtest]
/////////////////////////
//OPTIONS Cancel / EXIT
[Test]
title USB Application Cancelled/Options Key 1 Exit
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp  OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDevice0	//OPTIONS
pause 500
presskey global EKeyDevice1	//CANCEL OPTIONS
pause 500
presskey global EKeyDevice1	//EXIT
pause 2000
tester ExecuteApiTestBlock FinishTest CANCELLED
delete tester
[Endtest]
/////////////////////////
//EXIT WHEN NOT SELECTED
[Test]
title USB Application Exit/Options Menu Exit nothing selected
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp  OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDevice0		//OPTIONS/HELP
pause 500
presskey global EKeyDownArrow	//EXIT
pause 500	
presskey global EKeyDevice0		//SELECT EXIT
pause 2000
tester ExecuteApiTestBlock FinishTest CANCELLED
delete tester
[Endtest]
/////////////////////////
//EXIT WHEN SELECTED
[Test]
title USB Application Exit/Options Menu Exit Ovi Suite selected
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp  OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDownArrow	//OVI
pause 500	
presskey global EKeyDevice0	//OPTIONS/SELECT
pause 500
presskey global EKeyDownArrow	//Help
pause 500
presskey global EKeyDownArrow	//EXIT
pause 500	
presskey global EKeyDevice0		//SELECT EXIT
pause 2000
tester ExecuteApiTestBlock FinishTest CANCELLED
delete tester
[Endtest]
/////////////////////////
//Help
[Test]
title USB Application Help Option Entered/Key 1 Exit
create USBUiApiTest tester
tester ExecuteApiTestBlock LaunchUsbUiApp  OFF PCSUITE
tester ExecuteApiTestBlock TurnLightsOn
pause 4000
presskey global EKeyDevice0	//OPTIONS
pause 500
presskey global EKeyEnter	//ENTER HELP 
pause 5000
presskey global EKeyDevice1	//KEY EXIT HELP
pause 500
presskey global EKeyDevice1	//KEY EXIT USB
pause 2000
tester ExecuteApiTestBlock FinishTest CANCELLED
delete tester
[Endtest]

// Add new api tests here
// ...


// USBUiApiTest Module Tests (... tc)


// Add new module tests here
// ...


// USBUiApiTest Branch Tests (... tc)


// Add new branch tests here
// ...