messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/13-IR_ListAllAttachments.INI
[GetConstants]
actionParam = inboxId outboxId draftsId sentId deletedId
[GetIrMTMUId]
actionParam = irUid
[SessionId]
actionParam = thisSession
[CreateIrService]
actionParam = thisSession irUid _ _ _ _ "IRService" irServiceId
[CreateRegistry]
actionParam = thisSession clientMTMRegistry
[CreateMessage]
actionParam = thisSession draftsId irUid irServiceId _ _ _ "IRMessage" "IRMessageDetails" 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\testimage1.mbm" "image/x-epoc-mbm" attachmentId2
[CountAttachments0]
actionParam = thisSession messageId 3 attachmentCount0
[GetAttachmentInfoById0]
actionParam = thisSession messageId attachmentId0 attachmentInfo0
[VerifyAttachmentInfo0]
actionParam = attachmentInfo0 "testimage1.mbm" 10270 "image/x-epoc-mbm"
[GetAttachmentInfoById1]
actionParam = thisSession messageId attachmentId1 attachmentInfo1
[VerifyAttachmentInfo1]
actionParam = attachmentInfo1 "TestFile.txt" 4499 "text/plain"
[GetAttachmentInfoById2]
actionParam = thisSession messageId attachmentId2 attachmentInfo2
[VerifyAttachmentInfo2]
actionParam = attachmentInfo2 "testimage1.mbm" 10270 "image/x-epoc-mbm"