messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.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 //! @SYMTestCaseID		CM-SENDAS-BT-CIT-0051-HP
       
    19 //! @SYMTestCaseDesc		Load Test - Attach a huge text file with BT message
       
    20 //! @SYMTestStatus		Implemented
       
    21 //! @SYMTestPriority		High
       
    22 //! @SYMTestActions		Get base constants & BT MTM Uid
       
    23 //!				Create a session
       
    24 //!				Reset the Message store for cleanup
       
    25 //!				Create Registry & Service
       
    26 //!				Connect to SendAs2 server
       
    27 //!				Create a BT Message
       
    28 //!				Add a recipitent
       
    29 //!				Attach a huge size text file
       
    30 //!				Save and close the server
       
    31 //!				Disconnect the server
       
    32 //!
       
    33 //! @SYMTestExpectedResults	The Attachment should be added to Message with proper information
       
    34 //! @SYMTestType		CIT
       
    35 
       
    36 
       
    37 RUN_UTILS DeleteFile c:\messaging.db
       
    38 LOAD_SUITE MessagingTestServer -SharedData
       
    39 
       
    40 PREFIX RUN_TEST_STEP 1000 MessagingTestServer
       
    41 BEGIN_TEST_CASE
       
    42 SETUP_TEST_CASE
       
    43 GetBaseConstants		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	GetBaseConstants
       
    44 CreateSession			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CreateSession
       
    45 ResetMessageStore		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	ResetMessageStore
       
    46 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	ChkChildrenCountDraft0
       
    47 CreateRegistry			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CreateRegistry
       
    48 GetBTMTMUId			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	GetBtMtmUid
       
    49 CreateService			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CreateBtService
       
    50 EXECUTE_TEST_CASE
       
    51 ConnectSendAsServer		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	ConnectSendAsServer
       
    52 SendAsCreateMessageofType	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CreateMessageofType
       
    53 SendAsAddRecipient		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	SendAsAddRecipient
       
    54 SendAsAddAttachment		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	SendAsAddAttachment
       
    55 SendAsSaveMessageAndClose	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CloseMessage
       
    56 CloseSendAsServerConnection	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CloseSvrConnection
       
    57 CHECK_POSTCONDITIONS
       
    58 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	ChkChildrenCountDraft1
       
    59 CreateChildrenSelection		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CreateChildrenSelDraft
       
    60 GetMessageAtIndex		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	GetMessageAtIndex
       
    61 GetEntry			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	GetEntry
       
    62 CheckErrorCode			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	CheckErrorCode
       
    63 GetAttachmentInfoByIndex	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0051-AddAHugeAttachment.ini	GetAttachmentInfoByIndex
       
    64 END_TEST_CASE