messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMS-CIT-0026-ConfirmedSend_UPS.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMS-CIT-0026-ConfirmedSend_UPS.script Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,67 @@
+//
+// Copyright (c) 2009 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:
+//
+
+
+//! @file
+//! @SYMTestCaseID MSG-SENDAS-CIT-0026-HP
+//! @SYMTestCaseDesc Confirmed Send
+//! @SYMFssID
+//! @SYMTestStatus Defined
+//! @SYMTestPriority High
+//! @SYMTestActions xxxxxxxx
+//! @SYMTestExpectedResults yyyyyyyyy
+//! @SYMTestType CIT
+
+// Set the user response for UPS prompt service
+RUN_PROGRAM SetUserPromptResponse Yes
+
+RUN_UTILS DeleteFile c:\messaging.db
+LOAD_SUITE MessagingTestServer -SharedData
+
+RUN_UTILS CopyFile c:\msgtest\TestFramework\Configurations\SmsSettings\config.txt C:\config.txt
+RUN_UTILS MakeReadWrite C:\config.txt
+
+PREFIX RUN_TEST_STEP 1000 MessagingTestServer
+BEGIN_TEST_CASE
+SETUP_TEST_CASE
+InitializeSimTsy c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini InitializeSimTsy
+GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini GetBaseConstants
+GetSmsConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini GetSmsConstants
+CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini CreateSession
+ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini ResetMessageStore
+SetDefaultSmsSettings c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SetDefaultSmsSettings
+SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SetDefaultConfiguration
+SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SetDefaultConfigurationBodyTxt
+CreateSmsService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini CreateSmsService
+SetSmsServiceSettings c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SetSmsServiceSettings
+CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini CreateRegistry
+CreateMtm c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini CreateSmsMtm
+CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini ChkChildrenCountDraft0
+EXECUTE_TEST_CASE
+ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini ConnectSendAsServer
+SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SendAsCreateMessageofType
+SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SendAsAddRecipient
+SendAsSetBodyText c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SendAsSetBodyText
+CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini ChkChildrenCountDraft1
+SetUserResponse c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SetUserResponse
+SendAsSendMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini SendAsSendMessage
+SendAsCloseMessage c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini CloseMessage
+Sleep c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini Sleep
+CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini CloseSvrConnection
+CHECK_POSTCONDITIONS
+CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini ChkChildrenCountSent0
+UnloadPhoneModule c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0026-ConfirmedSend.ini UnloadPhoneModule
+END_TEST_CASE