messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.script
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 
       
    18 //! @file
       
    19 //! @SYMTestCaseID 		CM-SENDAS-CIT-0002-HP
       
    20 //! @SYMTestCaseDesc 		Create SMTP Message using SendAs API, specifying the account
       
    21 //! @SYMFssID 
       
    22 //! @SYMTestStatus 		Defined
       
    23 //! @SYMTestPriority 		High
       
    24 //! @SYMTestActions 
       
    25 //! @SYMTestExpectedResults 	A SMTP message is created in the Drafts folder
       
    26 //! @SYMTestType 		CIT
       
    27 
       
    28 
       
    29 RUN_UTILS DeleteFile c:\messaging.db
       
    30 LOAD_SUITE MessagingTestServer -SharedData
       
    31 
       
    32 PREFIX RUN_TEST_STEP 1000 MessagingTestServer
       
    33 BEGIN_TEST_CASE
       
    34 SETUP_TEST_CASE
       
    35 GetBaseConstants		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	GetBaseConstants
       
    36 DeletePopAccounts		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	DeletePopAccounts
       
    37 DeleteImapAccounts		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	DeleteImapAccounts
       
    38 CountPopAccountsInArray		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CountPopAccounts1
       
    39 CountImapAccountsInArray	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CountImapAccounts1
       
    40 CreateSession			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CreateSession
       
    41 ResetMessageStore		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	ResetMessageStore
       
    42 CreateImapAccount 		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CreateImapAccount1
       
    43 CreateSmtpService		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CreateSmtpService
       
    44 CreateRegistry			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CreateRegistry
       
    45 CreateSmtpMtm			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CreateSmtpMtm
       
    46 SetDefaultConfiguration		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	SetDefaultConfiguration0
       
    47 SetSmtpServiceParameters	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	SetSmtpServiceParameters
       
    48 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	ChkChildrenCountDraft0
       
    49 EXECUTE_TEST_CASE
       
    50 ChangeDefaultSmtpService	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	ChangeDefaultSmtpService
       
    51 ConnectSendAsServer		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	ConnectSendAsServer
       
    52 GetSMTPMTMUId			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	GetSMTPMTMUId
       
    53 SendAsGetAvailableAccounts	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	GetAvailableAccounts
       
    54 SendAsGetAvailableAccounts	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	GetAvailableAccounts
       
    55 SendAsGetAccountNames		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	GetAccountNames
       
    56 CountAvailableAccounts		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CountAvailableAccounts1
       
    57 SendAsGetAccount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	GetAccount
       
    58 SendAsCreateMessageWithAccount	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CreateMessageWithAccount
       
    59 SendAsSaveMessageAndClose	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	SendAsSaveMessageAndClose
       
    60 CloseSendAsServerConnection	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	CloseSvrConnection
       
    61 CHECK_POSTCONDITIONS
       
    62 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0002-CreateMessageSpecifyingAccount.ini	ChkChildrenCountDraft1
       
    63 END_TEST_CASE