messagingfw/msgtestfw/TestCases/ScriptedTestCases/ScheduleSendScripts/ScheduleSend_SchFromMsgServer.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 // Test Case Name:
       
    17 //	 ScheduleSend_SchFromMsgServer.script
       
    18 // ------------------------------------------
       
    19 // Component Under Test:
       
    20 //	Schedule Send
       
    21 // ------------------------------------------
       
    22 // API function under test:
       
    23 //	
       
    24 //	
       
    25 // ------------------------------------------
       
    26 // Requirement/Use Case/Functional Spec:
       
    27 //	 
       
    28 // ------------------------------------------
       
    29 // Polarity: Postive
       
    30 //	
       
    31 // ------------------------------------------
       
    32 // Test Type (unit, integration, panic, performance, conformance, stress, or interoperability):
       
    33 //	Integration
       
    34 // ------------------------------------------
       
    35 // Expected Panic ID (if a panic test, only for non-scripted test cases):
       
    36 //	n/a
       
    37 // ------------------------------------------
       
    38 // Interface Dependencies (does it require connection, which subsystems does it require):
       
    39 // 	Requires connection to Messaging Server
       
    40 // ------------------------------------------
       
    41 // Importance (critical, high, or low):
       
    42 //	High
       
    43 // ------------------------------------------
       
    44 // Execution Time (fast, medium, or slow):
       
    45 //	medium
       
    46 // ------------------------------------------
       
    47 // Pre-condition description:
       
    48 //	1.  Create a session with the Message Server
       
    49 //
       
    50 // ------------------------------------------
       
    51 // Action Description:
       
    52 // 
       
    53 //	1. Create  a Pigeon Message
       
    54 //	2. Schedule the Pigeon Message, the schedule is created by the Message Server.
       
    55 //		
       
    56 // ------------------------------------------
       
    57 // Post-condition description (i.e., expected outcome):
       
    58 //	1. Check a message is present in Sent Items.
       
    59 // ------------------------------------------
       
    60 // Reference to a review document:
       
    61 //
       
    62 // ------------------------------------------
       
    63 // Full pathname of an epoc.ini (if there are special epoc.ini requirements)
       
    64 // 	For emulator, an epoc.ini that creates an emulated external drive (drive letter 
       
    65 //	between D: and Y:) is required. Optionally, an environment variable can be defined.
       
    66 // ------------------------------------------
       
    67 // Any CommDb restrictions:
       
    68 //	None
       
    69 // ------------------------------------------
       
    70 // Build Requirements (e.g., no watchers):
       
    71 //	None
       
    72 // ------------------------------------------
       
    73 // Hardware Requirements
       
    74 //	None
       
    75 // ------------------------------------------
       
    76 RUN_UTILS DeleteFile c:\messaging.db
       
    77 LOAD_SUITE MessagingTestServer -SharedData
       
    78 
       
    79 
       
    80 PREFIX RUN_TEST_STEP 1000 MessagingTestServer
       
    81 BEGIN_TEST_CASE
       
    82 SETUP_TEST_CASE
       
    83 	GetBaseConstants 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini GetBaseConstants
       
    84 	GetPigeonMtmConstant	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini GetPigeonMtmConstant
       
    85 	SetDefaultSmsSettings 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini SetSettingsFile
       
    86 	CreateSession 		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini CreateSession
       
    87 	DeleteExistingService 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini DeleteExistingService
       
    88 	CreateService		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini CreateService
       
    89 	SetSchSendSettings 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini SetSchSendSettings
       
    90 EXECUTE_TEST_CASE
       
    91 	DeleteChildren 		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini EmptyOutbox
       
    92 	DeleteChildren 		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini EmptySent
       
    93 	CreatePigeonMessage	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini CreatePigeonMessage
       
    94 	SchedulePigeonMessage	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini SchedulePigeonMessage
       
    95 	Sleep 			c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini Sleep3
       
    96 CHECK_POSTCONDITIONS
       
    97 	CheckChildrenCount	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\ScheduleSend_SchFromMsgServer.ini CheckChildrenCount
       
    98 END_TEST_CASE