messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/11-SMTP_RemoveAllAttachmentsUsingIndex.INI
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 12:18:06 +0200
changeset 2 69530231af78
parent 0 8e480a14352b
permissions -rw-r--r--
Revision: 201001 Kit: 201004

[GetConstants]
actionParam	= inboxId outboxId draftsId sentId deletedId

[SmtpMTMUId]
actionParam	= smtpUid

[SessionId]
actionParam	= thisSession

[CreateSmtpService]
actionParam	= thisSession smtpUid _ _ _ _ "SmtpService" smtpServiceId

[CreateRegistry]
actionParam	= thisSession clientMTMRegistry

[SetDefaultConfigurationEMailFile]
actionParam   =  CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\AttachmentAPI_SimpleEmail01.txt"

[CreateSmtpMessageFromEmailFile]
actionParam	= thisSession smtpServiceId outboxId 0 messageId

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

[SmtpAddFileAttachmentByHandle]
actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId1

[SmtpAddFileAttachmentByPath0]
actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2

[SmtpAddFileAttachmentByPath1]
actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId3

[SmtpCountAttachments0]
actionParam	= thisSession messageId 4 attachmentCount0

[SmtpRemoveFileAttachmentByIndex0]
actionParam	= thisSession messageId 3

[SmtpRemoveFileAttachmentByIndex1]
actionParam	= thisSession messageId 2

[SmtpRemoveFileAttachmentByIndex2]
actionParam	= thisSession messageId 1

[SmtpRemoveFileAttachmentByIndex3]
actionParam	= thisSession messageId 0

[SmtpCountAttachments1]
actionParam	= thisSession messageId 0 attachmentCount1