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