messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/18-BT_AddLinkedAttachmentWithReadOnlyStore.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
[AddFileAttachmentByPath]
actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1
[GetEntry]
actionParam = thisSession messageId entryId
[GetReadStore]
actionParam = entryId _ readStoreRef
[AddAttachmentAsLink]
actionParam = readStoreRef "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId errorCode
[CheckErrorCode]
actionParam = errorCode -21