messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.script
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 
       
    18 //! @file
       
    19 //! @SYMTestCaseID 		CM-SENDAS-SMS-CIT-0004-HP
       
    20 //! @SYMTestCaseDesc 		Create SMS Message using SendAs API
       
    21 //! @SYMFssID 
       
    22 //! @SYMTestStatus 		Defined
       
    23 //! @SYMTestPriority 		High
       
    24 //! @SYMTestActions		
       
    25 //! @SYMTestExpectedResults 	A SMS Message is created in the Drafts folder, and is successfully modified & deleted from the message store using Message Server APIs
       
    26 //! @SYMTestType 		CIT
       
    27 
       
    28 
       
    29 RUN_UTILS DeleteFile c:\messaging.db
       
    30 LOAD_SUITE MessagingTestServer -SharedData
       
    31 
       
    32 PREFIX RUN_TEST_STEP 1000 MessagingTestServer
       
    33 BEGIN_TEST_CASE
       
    34 SETUP_TEST_CASE
       
    35 GetBaseConstants		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	GetBaseConstants
       
    36 CreateSession			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CreateSession
       
    37 ResetMessageStore		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	ResetMessageStore
       
    38 CreateRegistry			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CreateRegistry
       
    39 CreateSmsService		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CreateSmsService
       
    40 CreateMtm			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CreateMtm
       
    41 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	ChkChildrenCountDraft0
       
    42 EXECUTE_TEST_CASE
       
    43 ConnectSendAsServer		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	ConnectSendAsServer
       
    44 GetSmsConstants			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	GetSmsConstants
       
    45 SendAsCreateMessageofType	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CreateMessageofType
       
    46 SendAsSaveMessageAndClose	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	SendAsSaveMessageAndClose
       
    47 CloseSendAsServerConnection	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CloseSvrConnection
       
    48 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	ChkChildrenCountDraft1
       
    49 CreateChildrenSelection  	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	CreateChildrenSelDraft
       
    50 GetMessageAtIndex	 	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	GetMessageAtIndex
       
    51 GetEntry    			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	GetEntry
       
    52 GetStore    			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	GetStore
       
    53 AddRecipient			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	AddRecipient
       
    54 SetBodyText			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	SetBodyText
       
    55 DeleteStore			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	DeleteStore
       
    56 DeleteMessage			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	DeleteMessage
       
    57 CHECK_POSTCONDITIONS
       
    58 CheckChildrenCount 		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0004-ModifyMsgUsingMsgSrvAPI.ini	ChkChildrenCountDraft0
       
    59 END_TEST_CASE