messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/17-IR_GetAttachmentFile.INI
author hgs
Wed, 03 Nov 2010 22:41:46 +0530
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
permissions -rw-r--r--
201044_02

[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

[CountAttachments]
actionParam	= thisSession messageId 2 attachmentCount

[GetAttachmentFileFromIndex0]
actionParam	= thisSession messageId 0 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" _

[GetAttachmentFileFromIndex1]
actionParam	= thisSession messageId 1 _ _

[CompareAttachment0]
actionParam	= thisSession messageId attachmentId0 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"

[CompareAttachment1]
actionParam	= thisSession messageId attachmentId1 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt"