messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/11-BT_RemoveAllAttachmentsUsingIndex.INI
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/11-BT_RemoveAllAttachmentsUsingIndex.INI Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,47 @@
+[GetConstants]
+actionParam = inboxId outboxId draftsId sentId deletedId
+
+[GetBtMTMUId]
+actionParam = btUid
+
+[SessionId]
+actionParam = thisSession
+
+[CreateBtService]
+actionParam = thisSession btUid _ _ _ _ "BTService" btServiceId
+
+[CreateRegistry]
+actionParam = thisSession clientMTMRegistry
+
+[CreateMessage]
+actionParam = thisSession draftsId btUid btServiceId _ _ _ "BTMessage" "BTMessageDetails" messageId
+
+[CreateAttachment]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" attachmentId0
+
+[AddFileAttachmentByHandleSync]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId1
+
+[AddFileAttachmentByPath0]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2
+
+[AddFileAttachmentByPath1]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId3
+
+[CountAttachments0]
+actionParam = thisSession messageId 4 attachmentCount0
+
+[RemoveFileAttachmentByIndex0]
+actionParam = thisSession messageId 0
+
+[RemoveFileAttachmentByIndex1]
+actionParam = thisSession messageId 0
+
+[RemoveFileAttachmentByIndex2]
+actionParam = thisSession messageId 0
+
+[RemoveFileAttachmentByIndex3]
+actionParam = thisSession messageId 0
+
+[CountAttachments1]
+actionParam = thisSession messageId 0 attachmentCount1
\ No newline at end of file