messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMTP-CIT-0053-AddInvalidAttachment.ini
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMTP-CIT-0053-AddInvalidAttachment.ini	Wed Nov 03 22:41:46 2010 +0530
@@ -0,0 +1,59 @@
+[GetBaseConstants]
+actionParam	= inboxFolderId outboxFolderId draftsFolderId sentFolderId deletedFolderId
+
+[CreateSession]
+actionParam	= session
+
+[ResetMessageStore]
+actionParam	= session
+
+[CreatePopAccount]
+actionParam = "MyAccount" "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCPop3Settings.txt" accountId_1 PopSettings1 PopPrefs1 SmtpSettings1 SmtpPrefs1
+
+[ChkChildrenCountDraft0]
+actionParam	= session draftsFolderId 0
+
+[CreateSmtpService]
+actionParam	= session _ _ _ _ "SmtpService" smtpServiceId
+
+[CreateRegistry]
+actionParam	= session clientMtmRegistry
+
+[CreateSmtpMtm]
+actionParam	= session smtpServiceId clientMtmRegistry smtpMtm
+
+[SetDefaultConfig0]
+actionParam   =  CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.txt"
+
+[SetSmtpServiceParams]
+actionParam	= session smtpServiceId	0
+
+[ChangeDfltSmtpService]
+actionParam = smtpServiceId smtpMtm
+
+[ConnectSendAsServer]
+actionParam	=  10 sendAs
+
+[GetSmtpMtmUId]
+actionParam	= smtpUid
+
+[CreateMessageofType]
+actionParam	= sendAs smtpUid sendAsMessage
+
+[SendAsAddRecipient]
+actionParam	= sendAsMessage _ _ RSendAsMessage::TSendAsRecipientType::ESendAsRecipientTo smtpUid 0 smtpServiceId recipientAddress
+
+[SendAsAddAttachment]
+actionParam	= sendAsMessage   "c:\msgtest\TestFramework\ScriptedTestCases\SendAs\Data\Invalidfile.txt" "text/plain" err
+
+[CloseMessage]
+actionParam	= sendAsMessage
+
+[CloseSvrConnection]
+actionParam	= sendAs
+
+[ChkChildrenCountDraft1]
+actionParam	= session draftsFolderId 1
+
+[CheckErrorCode]
+actionParam	= err -1