diff -r 9f5ae1728557 -r db3f5fa34ec7 messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/22-BT_RemoveAttachmentUsingInvalidIndex.INI --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/22-BT_RemoveAttachmentUsingInvalidIndex.INI Wed Nov 03 22:41:46 2010 +0530 @@ -0,0 +1,32 @@ +[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 + +[CountAttachments0] +actionParam = thisSession messageId 1 attachmentCount0 + +[RemoveFileAttachmentByIndex] +actionParam = thisSession messageId 1 errorCode + +[CountAttachments1] +actionParam = thisSession messageId 1 attachmentCount1 + +[CheckErrorCode] +actionParam = errorCode 130