messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-BT-CIT-0009-SetSubject.script
//
// 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:
//
//! @file
//! @SYMTestCaseID CM-SENDAS-CIT-0009-HP
//! @SYMTestCaseDesc Set Subject field for a BT message
//! @SYMFssID
//! @SYMTestStatus Defined
//! @SYMTestPriority High
//! @SYMTestActions
//! @SYMTestExpectedResults The Subject present in the message matches with the expected value
//! @SYMTestType CIT
RUN_UTILS DeleteFile c:\messaging.db
LOAD_SUITE MessagingTestServer -SharedData
PREFIX RUN_TEST_STEP 1000 MessagingTestServer
BEGIN_TEST_CASE
SETUP_TEST_CASE
GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini GetBaseConstants
GetBTMTMUId c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini GetBTMTMUId
CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini CreateSession
ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini ResetMessageStore
CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini CreateRegistry
CreateService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini CreateService
CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini ChkChildrenCountDraft0
EXECUTE_TEST_CASE
ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini ConnectSendAsServer
SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini CreateMessageofType
SendAsSetSubject c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini SendAsSetSubject
SendAsSaveMessageAndClose c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini SendAsSaveMessageAndClose
CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini CloseSvrConnection
CHECK_POSTCONDITIONS
CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini ChkChildrenCountDraft1
CreateChildrenSelection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini CreateChildrenSelDraft
GetMessageAtIndex c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini GetMessageAtIndex
GetEntry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini GetEntry
VerifySubject c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-BT-CIT-0009-SetSubject.ini VerifySubject
END_TEST_CASE