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-0017-HP |
|
20 //! @SYMTestCaseDesc Add Recipient Address of type "To", "Cc" and "Bcc" to SMTP message |
|
21 //! @SYMFssID |
|
22 //! @SYMTestStatus Defined |
|
23 //! @SYMTestPriority High |
|
24 //! @SYMTestActions |
|
25 //! @SYMTestExpectedResults The Recipient Address is added to the SMTP message |
|
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-0017-Add'ToCcBcc'RecipientAddr.ini GetBaseConstants |
|
36 CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreateSession |
|
37 ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini ResetMessageStore |
|
38 CreatePopAccount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreatePopAccount |
|
39 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini ChkChildrenCountDraft0 |
|
40 CreateSmtpService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreateSmtpService |
|
41 CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreateRegistry |
|
42 CreateSmtpMtm c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreateSmtpMtm |
|
43 SetDefaultConfiguration c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SetDefaultConfig0 |
|
44 SetSmtpServiceParameters c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SetSmtpServiceParams |
|
45 ChangeDefaultSmtpService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini ChangeDfltSmtpService |
|
46 EXECUTE_TEST_CASE |
|
47 GetSMTPMTMUId c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini GetSmtpMtmUId |
|
48 ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini ConnectSendAsServer |
|
49 SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreateMessageofType |
|
50 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientTo0 |
|
51 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientCc0 |
|
52 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientBcc0 |
|
53 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientTo1 |
|
54 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientCc1 |
|
55 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientBcc1 |
|
56 SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini SendAsAddRecipientBcc2 |
|
57 SendAsSaveMessageAndClose c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CloseMessage |
|
58 CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CloseSvrConnection |
|
59 CHECK_POSTCONDITIONS |
|
60 CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini ChkChildrenCountDraft1 |
|
61 CreateChildrenSelection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini CreateChildrenSelDraft |
|
62 GetMessageAtIndex c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini GetMessageAtIndex |
|
63 GetEntry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini GetEntry |
|
64 VerifyRecipients c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini VerifyRecipientsTo |
|
65 VerifyRecipients c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini VerifyRecipientsCc |
|
66 VerifyRecipients c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMTP-CIT-0017-Add'ToCcBcc'RecipientAddr.ini VerifyRecipientsBcc |
|
67 END_TEST_CASE |
|