messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges_UPS.script
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 MSG-SENDAS-CIT-0034-HP
       
    20 //! @SYMTestCaseDesc Un Confirmed Send, application does not have privileges to send the message.Request converted to confirmed send, rejected by user
       
    21 //! @SYMFssID 
       
    22 //! @SYMTestStatus Defined
       
    23 //! @SYMTestPriority High
       
    24 //! @SYMTestActions xxxxxxxx
       
    25 //! @SYMTestExpectedResults yyyyyyyyy
       
    26 //! @SYMTestType CIT
       
    27 
       
    28 
       
    29 // Use Setcap to set capabilities of new MessagingTestServer.exe to ReadUserData + WriteUserData
       
    30 RUN_PROGRAM setcap MessagingTestServer.exe 00039FFE MessagingTestServer_New.exe
       
    31 
       
    32 // Set the user response for UPS prompt service
       
    33 RUN_PROGRAM SetUserPromptResponse No
       
    34 
       
    35 RUN_UTILS DeleteFile c:\messaging.db
       
    36 LOAD_SUITE MessagingTestServer_New -SharedData
       
    37 
       
    38 PREFIX RUN_TEST_STEP 1000 MessagingTestServer_New
       
    39 BEGIN_TEST_CASE
       
    40 SETUP_TEST_CASE
       
    41 GetBaseConstants		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	GetBaseConstants
       
    42 GetIRMTMUId			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	GetIRMTMUId
       
    43 CreateSession			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	CreateSession
       
    44 ResetMessageStore		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	ResetMessageStore
       
    45 CreateService			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	CreateIrService
       
    46 CreateRegistry			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	CreateRegistry
       
    47 CreateMtm			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	CreateIrMtm
       
    48 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	ChkChildrenCountDraft0
       
    49 EXECUTE_TEST_CASE
       
    50 ConnectSendAsServer		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	ConnectSendAsServer
       
    51 SendAsCreateMessageofType	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	SendAsCreateMessageofType
       
    52 SendAsAddLinkedAttachment	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	SendAsAddLinkedAttachment
       
    53 SetUserResponse			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	SetUserResponse
       
    54 SendAsSendMessage		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	SendAsSendMessage
       
    55 SendAsCloseMessage		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	SendAsCloseMessage
       
    56 CloseSendAsServerConnection	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	CloseSvrConnection
       
    57 CHECK_POSTCONDITIONS
       
    58 CheckErrorCode			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	CheckErrorCode
       
    59 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-IR-CIT-0034-UnConfirmedSendNoPrivileges.ini	ChkChildrenCountDraft1
       
    60 END_TEST_CASE