phonebookengines/contactsmodel/tsrc/Integration/CntPerfTest/Scripts/TestContactViewCRUDOperationsStep.Script
changeset 0 e686773b3f54
child 24 0ba2181d7c28
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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 //! @file
       
    17 //! @SYMTestSuiteName	CntPerfTestServer Suite
       
    18 //! @SYMScriptTestEnvironment
       
    19 
       
    20 PRINT Run all Contact View CRUD Operations related tests
       
    21 
       
    22 LOAD_SUITE CntPerfTestServer
       
    23 
       
    24 START_TESTCASE	PIM-APPENG-CONTACTS-SUBVIEWS-I-0025-HP-0001
       
    25 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-SUBVIEWS-I-0025-HP-0001
       
    26 //! @SYMTestCaseDesc 		Create a Sub view over an existing local view and access the same
       
    27 //! @SYMPREQ			1187
       
    28 //! @SYMTestStatus 		Implemented
       
    29 //! @SYMTestPriority 		High
       
    30 //! @SYMTestActions 		1. Construct a Sub view over an existing local view.
       
    31 //! 				2. Specify the valid view boundary criteria as part of construction.
       
    32 //! 				3. Perform CRUD Operations on contacts database.
       
    33 //! 				4. Validate that the view count of the Sub view at the end of each CRUD Operation.
       
    34 //! 				5. Validate the contact view notifications received
       
    35 //! @SYMTestExpectedResults 	Contacts Sub view based on a local view is updated correctly when a CRUD Operation 
       
    36 //!				is performed on the database and all relevant contact view notifications are received
       
    37 //! @SYMTestType 		CIT
       
    38 
       
    39 RUN_TEST_STEP       1500 CntPerfTestServer PrepareDataTestStep 	      C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini preparedata_2
       
    40 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_9_1
       
    41 // RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_9_2
       
    42 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_9_3
       
    43 
       
    44 END_TESTCASE PIM-APPENG-CONTACTS-SUBVIEWS-I-0025-HP-0001
       
    45 
       
    46 
       
    47 
       
    48 START_TESTCASE	PIM-APPENG-CONTACTS-SUBVIEWS-I-0027-HP-0001
       
    49 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-SUBVIEWS-I-0027-HP-0001
       
    50 //! @SYMTestCaseDesc 		Create a Sub view over an existing remote view and access the same
       
    51 //! @SYMPREQ			1187
       
    52 //! @SYMTestStatus 		Implemented
       
    53 //! @SYMTestPriority 		High
       
    54 //! @SYMTestActions 		1. Construct a Sub view over an existing remote view.
       
    55 //! 				2. Specify the valid view boundary criteria as part of construction.
       
    56 //! 				3. Perform CRUD Operations on contacts database.
       
    57 //! 				4. Validate that the view count of the Sub view at the end of each CRUD Operation.
       
    58 //! 				5. Validate the contact view notifications received
       
    59 //! @SYMTestExpectedResults 	Contacts Sub view based on a remote view is updated correctly when a CRUD Operation 
       
    60 //!				is performed on the database and all relevant contact view notifications are received
       
    61 //! @SYMTestType 		CIT
       
    62 
       
    63 RUN_TEST_STEP       1500 CntPerfTestServer PrepareDataTestStep 	      C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini preparedata_2
       
    64 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_10_1
       
    65 // RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_10_2
       
    66 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_10_3
       
    67 
       
    68 END_TESTCASE PIM-APPENG-CONTACTS-SUBVIEWS-I-0027-HP-0001
       
    69 
       
    70 
       
    71 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0004-HP
       
    72 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0004-HP
       
    73 //! @SYMTestCaseDesc 		CRUD operations on Contacts local view
       
    74 //! @SYMPREQ			1187
       
    75 //! @SYMTestStatus 		Implemented
       
    76 //! @SYMTestPriority 		High
       
    77 //! @SYMTestActions 		1. Construct Contacts local view.
       
    78 //!				2. Perform CRUD Operations on contacts database.
       
    79 //!				3. Validate view count of the local view at the end of each CRUD Operations.
       
    80 //!				4. Validate contact view notifications received by the local view 
       
    81 //!				   as a result of CRUD operations
       
    82 //! @SYMTestExpectedResults 	Contacts Local View is updated correctly when a CRUD Operation is performed 
       
    83 //!				on the database	and all relevant contact view notifications are received.
       
    84 //! @SYMTestType 		CIT
       
    85 
       
    86 RUN_TEST_STEP     2000 CntPerfTestServer PrepareDataTestStep c:\cntviewtest\configs\TestContactViewCRUDOperationsStep.ini preparedata_1
       
    87 RUN_TEST_STEP     2000 CntPerfTestServer TestContactViewCRUDOperationsStep c:\cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_1 
       
    88 
       
    89 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0004-HP
       
    90 
       
    91 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0005-HP
       
    92 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0005-HP
       
    93 //! @SYMTestCaseDesc 		CRUD operations on Contacts remote view
       
    94 //! @SYMPREQ			1187
       
    95 //! @SYMTestStatus 		Implemented
       
    96 //! @SYMTestPriority 		High
       
    97 //! @SYMTestActions 		1. Construct Contacts remote view.
       
    98 //!				2. Perform CRUD Operations on contacts database.
       
    99 //!				3. Validate view count of the remote view at the end of each CRUD Operations.
       
   100 //!				4. Validate contact view notifications received by the local view 
       
   101 //!				   as a result of CRUD operations
       
   102 //! @SYMTestExpectedResults 	Contacts remote view is updated correctly when a CRUD Operation is performed 
       
   103 //!				on the database	and all relevant contact view notifications are received.
       
   104 //! @SYMTestType 		CIT
       
   105 
       
   106 RUN_TEST_STEP      2000 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_2 
       
   107 
       
   108 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0005-HP
       
   109 
       
   110 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0008-HP-0001
       
   111 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0008-HP-0001
       
   112 //! @SYMTestCaseDesc 		CRUD operations on Contacts Find View built over an existing local view
       
   113 //! @SYMPREQ			1187
       
   114 //! @SYMTestStatus 		Implemented
       
   115 //! @SYMTestPriority 		High
       
   116 //! @SYMTestActions 		1. Construct a Find view over an existing local view.
       
   117 //! 				2. Specify the desired search criteria as part of construction.
       
   118 //! 				3. Perform CRUD Operations on contacts database.
       
   119 //! 				4. Validate that the view count of the Find view at the end of each CRUD Operation.
       
   120 //! 				5. Validate the contact view notifications received
       
   121 //! @SYMTestExpectedResults 	Contacts Find view based on a local view is updated correctly when a CRUD Operation 
       
   122 //!				is performed on the database and all relevant contact view notifications are received
       
   123 //! @SYMTestType 		CIT
       
   124 
       
   125 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_3_1
       
   126 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_3_2
       
   127 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_3_3
       
   128 
       
   129 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0008-HP-0001
       
   130 
       
   131 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0011-HP-0001
       
   132 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0011-HP-0001
       
   133 //! @SYMTestCaseDesc 		CRUD operations on Contacts Find View built over an existing remote view
       
   134 //! @SYMPREQ			1187
       
   135 //! @SYMTestStatus 		Implemented
       
   136 //! @SYMTestPriority 		High
       
   137 //! @SYMTestActions 		1. Construct a Find view over an existing remote view.
       
   138 //! 				2. Specify the desired search criteria as part of construction.
       
   139 //! 				3. Perform CRUD Operations on contacts database.
       
   140 //! 				4. Validate that the view count of the Find view at the end of each CRUD Operation.
       
   141 //! 				5. Validate the contact view notifications received
       
   142 //! @SYMTestExpectedResults 	Contact Find view based on a remote view is updated correctly when a CRUD Operation is 
       
   143 //!				performed on the database and all relevant contact view notifications are received.
       
   144 //! @SYMTestType 		CIT
       
   145 
       
   146 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_4_1
       
   147 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_4_2
       
   148 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_4_3
       
   149 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0011-HP-0001
       
   150 
       
   151 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0015-HP-0001
       
   152 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0015-HP-0001
       
   153 //! @SYMTestCaseDesc 		Create a Filtered view over an existing local view and access the same
       
   154 //! @SYMPREQ			1187
       
   155 //! @SYMTestStatus 		Implemented
       
   156 //! @SYMTestPriority 		High
       
   157 //! @SYMTestActions 		1. Construct a Filtered view over an existing local view.
       
   158 //! 				2. Specify the desired view filter criteria as part of construction.
       
   159 //! 				3. Perform CRUD Operations on contacts database.
       
   160 //! 				4. Validate that the view count of the filtered view at the end of each CRUD Operation.
       
   161 //! 				5. Validate the contact view notifications received
       
   162 //! @SYMTestExpectedResults 	Contacts Filtered view based on a local view is updated correctly when a CRUD Operation 
       
   163 //!				is performed on the database and all relevant contact view notifications are received
       
   164 //! @SYMTestType 		CIT
       
   165 
       
   166 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_5_1
       
   167 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_5_2
       
   168 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_5_3
       
   169 
       
   170 
       
   171 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0015-HP-0001
       
   172 
       
   173 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0017-HP-0001
       
   174 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0017-HP-0001
       
   175 //! @SYMTestCaseDesc 		Create a Filtered view over an existing remote view and access the same
       
   176 //! @SYMPREQ			1187
       
   177 //! @SYMTestStatus 		Implemented
       
   178 //! @SYMTestPriority 		High
       
   179 //! @SYMTestActions 		1. Construct a Filtered view over an existing remote view.
       
   180 //! 				2. Specify the desired view filter criteria as part of construction.
       
   181 //! 				3. Perform CRUD Operations on contacts database.
       
   182 //! 				4. Validate that the view count of the filtered view at the end of each CRUD Operation.
       
   183 //! 				5. Validate the contact view notifications received
       
   184 //! @SYMTestExpectedResults 	Contacts Filtered view based on a remote view is updated correctly when a CRUD Operation 
       
   185 //!				is performed on the database and all relevant contact view notifications are received
       
   186 //! @SYMTestType 		CIT
       
   187 
       
   188 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_6_1
       
   189 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_6_2
       
   190 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_6_3
       
   191 
       
   192 
       
   193 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0017-HP-0001
       
   194 
       
   195 
       
   196 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0020-HP-0001
       
   197 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0020-HP-0001
       
   198 //! @SYMTestCaseDesc 		Create a Group view over an existing local view and access the same
       
   199 //! @SYMPREQ			1187
       
   200 //! @SYMTestStatus 		Implemented
       
   201 //! @SYMTestPriority 		High
       
   202 //! @SYMTestActions 		1. Construct a Group view over an existing local view.
       
   203 //! 				2. Specify the desired group criteria as part of construction.
       
   204 //! 				3. Perform CRUD Operations on contacts database.
       
   205 //! 				4. Validate that the view count of the Group view at the end of each CRUD Operation.
       
   206 //! 				5. Validate the contact view notifications received
       
   207 //! @SYMTestExpectedResults 	Contacts Filtered view based on a local view is updated correctly when a CRUD Operation 
       
   208 //!				is performed on the database and all relevant contact view notifications are received
       
   209 //! @SYMTestType 		CIT
       
   210 
       
   211 RUN_TEST_STEP      1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_7_1
       
   212 // RUN_TEST_STEP      1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_7_2
       
   213 RUN_TEST_STEP      1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_7_3
       
   214 
       
   215 RUN_TEST_STEP      1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_12_1
       
   216 // RUN_TEST_STEP      1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_12_2
       
   217 RUN_TEST_STEP      1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_12_3
       
   218 
       
   219 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0020-HP-0001
       
   220 
       
   221 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0023-HP-0001
       
   222 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0023-HP-0001
       
   223 //! @SYMTestCaseDesc 		Create a Group view over an existing remote view and access the same
       
   224 //! @SYMPREQ			1187
       
   225 //! @SYMTestStatus 		Implemented
       
   226 //! @SYMTestPriority 		High
       
   227 //! @SYMTestActions 		1. Construct a Group view over an existing remote view.
       
   228 //! 				2. Specify the desired view filter criteria as part of construction.
       
   229 //! 				3. Perform CRUD Operations on contacts database.
       
   230 //! 				4. Validate that the view count of the Group view at the end of each CRUD Operation.
       
   231 //! 				5. Validate the contact view notifications received
       
   232 //! @SYMTestExpectedResults 	Contacts Group view based on a remote view is updated correctly when a CRUD Operation 
       
   233 //!				is performed on the database and all relevant contact view notifications are received
       
   234 //! @SYMTestType 		CIT
       
   235 
       
   236 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_8_1
       
   237 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_8_2
       
   238 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_8_3
       
   239 
       
   240 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_13_1
       
   241 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_13_2
       
   242 RUN_TEST_STEP       1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_13_3
       
   243 
       
   244 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0023-HP-0001
       
   245 
       
   246 START_TESTCASE	PIM-APPENG-CONTACTS-VIEWS-I-0030-HP-0001
       
   247 //! @SYMTestCaseID		PIM-APPENG-CONTACTS-VIEWS-I-0030-HP-0001
       
   248 //! @SYMTestCaseDesc 		CRUD operations on Concatenated View
       
   249 //! @SYMPREQ			1187
       
   250 //! @SYMTestStatus 		Implemented
       
   251 //! @SYMTestPriority 		High
       
   252 //! @SYMTestActions 		1. Construct a Concatenated view
       
   253 //! 				3. Perform CRUD Operations on contacts database.
       
   254 //! 				4. Validate that the view count of the Concatenated view at the end of each CRUD Operation.
       
   255 //! 				5. Validate the contact view notifications received
       
   256 //! @SYMTestExpectedResults 	Contacts Concatenated view based on a remote view is updated correctly when a CRUD Operation 
       
   257 //!				is performed on the database and all relevant contact view notifications are received
       
   258 //! @SYMTestType 		CIT
       
   259 
       
   260 RUN_TEST_STEP     1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_11_1
       
   261 RUN_TEST_STEP     1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_11_3
       
   262 RUN_TEST_STEP     1500 CntPerfTestServer TestContactViewCRUDOperationsStep C:\Cntviewtest\configs\TestContactViewCRUDOperationsStep.ini CRUDOperations_11_2
       
   263 
       
   264 
       
   265 END_TESTCASE PIM-APPENG-CONTACTS-VIEWS-I-0030-HP-0001
       
   266 
       
   267 
       
   268 
       
   269 PRINT Completed Contact View CRUD Operations related tests
       
   270 
       
   271 
       
   272