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

//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//


RUN_UTILS DeleteFile c:\messaging.db
LOAD_SUITE MessagingTestServer -SharedData


RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE


RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE
RUN_TEST_STEP 100 MessagingTestServer SetDefaultSmsSettings			c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini SmsSettingsFiles
RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants				c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini GetConstants
RUN_TEST_STEP 100 MessagingTestServer GetSmsConstants				c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini SmsUid
RUN_TEST_STEP 100 MessagingTestServer CreateSession					c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini SessionId
RUN_TEST_STEP 100 MessagingTestServer CreateSmsService				c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini SmsService2
RUN_TEST_STEP 100 MessagingTestServer SetSmsServiceSettings			c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini SmsSettingsOrange
RUN_TEST_STEP 100 MessagingTestServer CreateMessage					c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini CreateMessage

RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE
RUN_TEST_STEP 100 MessagingTestServer AddLinkedAttachment			c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini AddLinkedAttachment

RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
RUN_TEST_STEP 100 MessagingTestServer GetAttachmentInfoById			c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\AddLinkedAttachment.ini GetAttachmentInfoById

RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE