messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.script Wed Nov 03 22:41:46 2010 +0530
@@ -0,0 +1,56 @@
+//
+// 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 CM-SENDAS-CIT-0020-HP
+//! @SYMTestCaseDesc Add Linked Attachment to the Message
+//! @SYMFssID
+//! @SYMTestStatus Defined
+//! @SYMTestPriority High
+//! @SYMTestActions
+//! @SYMTestExpectedResults The Attachment should be attached to message with Mime type information
+//! @SYMTestType CIT
+
+
+RUN_UTILS DeleteFile c:\messaging.db
+LOAD_SUITE MessagingTestServer -SharedData
+
+PREFIX RUN_TEST_STEP 1000 MessagingTestServer
+BEGIN_TEST_CASE
+SETUP_TEST_CASE
+GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini GetBaseConstants
+CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CreateSession
+ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini ResetMessageStore
+CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini ChkChildrenCountDraft0
+CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CreateRegistry
+GetBTMTMUId c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini GetBtMtmUid
+CreateService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CreateBtService
+EXECUTE_TEST_CASE
+ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini ConnectSendAsServer
+SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CreateMessageofType
+SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini SendAsAddRecipient
+SendAsAddLinkedAttachment c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini AddLinkedAttachment
+SendAsSaveMessageAndClose c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CloseMessage
+CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CloseSvrConnection
+CHECK_POSTCONDITIONS
+CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini ChkChildrenCountDraft1
+CreateChildrenSelection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CreateChildrenSelDraft
+GetMessageAtIndex c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini GetMessageAtIndex
+GetEntry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini GetEntry
+CheckErrorCode c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini CheckErrorCode
+GetAttachmentInfoByIndex c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0020-AddLinkedAttachment.ini GetAttachmentInfoByIndex
+END_TEST_CASE