summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/contactsmodel/tsrc/integration/cntperftest/scripts/customlabeluid.script
blob: 6548ff8a38c0812c1e22d1bf7234e88c8385be79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
//
// Copyright (C) 2012 Digia Plc 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: 
//

LOAD_SUITE CntPerfTestServer

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81112
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81112
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Custom Uids Test
//! @SYMTestActions opens contact item
//! adds a custom uid to each field
//! then checks if uid was stored correctly
//! repeat test for existing uids
//! @SYMTestExpectedResults The uid that is retrieved should match the stored uid
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini Uids
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81112

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81113
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81113
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Custom Labels Test
//! @SYMTestActions opens contact item
//! changes the label of each field to a custom label
//! checks if label was stored correctly
//! @SYMTestExpectedResults The label that is retrieved should match the stored label
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini Labels
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81113

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81114
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81114
//! @SYMTestType CIT
//! @SYMTestPriority Low
//! @SYMPREQ 811
//! @SYMTestCaseDesc Custom Uids and Labels Test
//! @SYMTestActions opens contact item
//! and adds a custom uid to each field
//! changes label to custom label
//! then checks if uid and label were stored correctly
//! 
//! opens contact item and adds ten new fields
//! adds a custom uid to each field(new and old)
//! change label to custom label 
//! check if uid and label were stored correctly. 
//! also checks both uids of new fields
//! @SYMTestExpectedResults The labels and uids that are retrieved should match the stored labels and uids
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini LabelsUids
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini LabelsUidsPlus
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81114

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81168
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81168
//! @SYMTestType CIT
//! @SYMTestPriority High
//! @SYMFssID <App-Engines>/<CntModel>/ ARC.4
//! @SYMTestCaseDesc Duplicate uids test
//! @SYMTestActions 
//! opens contact item
//! add two identical uids to each field
//! alternating between custom and existing uids,
//! commit contact
//! @SYMTestExpectedResults 
//! Contact fields should contain custom or existing uids, 
//! it is possible to update a contact item with duplicate uids for all fields
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini DuplicateUids
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81168

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81169
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81169
//! @SYMTestType CIT
//! @SYMTestPriority High
//! @SYMFssID <App-Engines>/<CntModel>/ ARC.4
//! @SYMTestCaseDesc Duplicate existing uids test
//! @SYMTestActions 
//! Add new contact
//! Add new uid to each field that already contains that uid 
//! populate contact
//! set custom labels
//! @SYMTestExpectedResults
//! check that contact was populated correctly, 
//! check that field labels were updated correctly and no errors were generated, 
//! It is possible to update a contact with duplicated existing uids, 
//! without compromising the integrity of the contact or generating any errors
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini DuplicateExistingUids   
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81169 

START_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81170
//! @SYMTestCaseID PIM-APPENG-CNTMODEL-CIT-P81170
//! @SYMTestType CIT
//! @SYMTestPriority High
//! @SYMFssID <App-Engines>/<CntModel>/ ARC.4
//! @SYMTestCaseDesc Unique existing uids test 
//! @SYMTestActions 
//! Add new contact
//! Add existing uid to each field that doesnt already contain that uid 
//! populate contact
//! set custom labels
//! @SYMTestExpectedResults
//! check that contact was populated correctly, 
//! check that field labels were updated correctly and check that all fields contain the additional uid, 
//! It is possible to add all existing uids to each field, 
//! that doesn't contain that uid, in a contact, without compromising the integrity of the contact                         
RUN_TEST_STEP 100 CntPerfTestServer CustomLabelUid c:\CntPerfTest\configs\cntperftest.ini UniqueExistingUids    
END_TESTCASE PIM-APPENG-CNTMODEL-CIT-P81170