messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/10-BT_RemoveAttachmentUsingIndex.INI
[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
[AddFileAttachmentByHandleSync]
actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId0
[AddFileAttachmentByPath]
actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1
[AddLinkedAttachment]
actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestPicture.mbm" "image/x-epoc-mbm" attachmentId2
[RemoveFileAttachmentByIndex]
actionParam = thisSession messageId 1
[CountAttachments]
actionParam = thisSession messageId 2 attachmentCount
[CompareAttachment0]
actionParam = thisSession messageId attachmentId0 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"
[CompareAttachment1]
actionParam = thisSession messageId attachmentId2 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestPicture.mbm"