messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/10-IR_RemoveAttachmentUsingIndex.INI
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 [GetConstants]
       
     2 actionParam	= inboxId outboxId draftsId sentId deletedId
       
     3 
       
     4 [GetIrMTMUId]
       
     5 actionParam	= irUid
       
     6 
       
     7 [SessionId]
       
     8 actionParam	= thisSession
       
     9 
       
    10 [CreateIrService]
       
    11 actionParam	= thisSession irUid _ _ _ _ "IRService" irServiceId
       
    12 
       
    13 [CreateRegistry]
       
    14 actionParam	= thisSession clientMTMRegistry
       
    15 
       
    16 [CreateMessage]
       
    17 actionParam	= thisSession draftsId irUid irServiceId _ _ _ "IRMessage" "IRMessageDetails" messageId
       
    18 
       
    19 [AddFileAttachmentByHandleSync]
       
    20 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId0
       
    21 
       
    22 [AddFileAttachmentByPath]
       
    23 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1
       
    24 
       
    25 [AddLinkedAttachment]
       
    26 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestPicture.mbm" "image/x-epoc-mbm" attachmentId2
       
    27 
       
    28 [RemoveFileAttachmentByIndex]
       
    29 actionParam	= thisSession messageId 1
       
    30 
       
    31 [CountAttachments]
       
    32 actionParam	= thisSession messageId 2 attachmentCount
       
    33 
       
    34 [CompareAttachment0]
       
    35 actionParam	= thisSession messageId attachmentId0 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"
       
    36 
       
    37 [CompareAttachment1]
       
    38 actionParam	= thisSession messageId attachmentId2 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestPicture.mbm"
       
    39