notepad/conf/ui_TestNpdApi.cfg
branchSymbian2
changeset 1 8758140453c0
child 68 06a16739e90c
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 //#1
       
     2 [Test]
       
     3 title Send key events to close UI setup dialogs
       
     4 pause 2000
       
     5 presskey global EKeyDevice0
       
     6 pause 1000
       
     7 presskey global EKeyDevice0
       
     8 pause 1000
       
     9 presskey global EKeyDevice0
       
    10 pause 1000
       
    11 presskey global EKeyDevice0
       
    12 [Endtest]
       
    13 
       
    14 //#2
       
    15 [Test]
       
    16 title Press RSK
       
    17 pause 1000
       
    18 presskey global EKeyDevice1
       
    19 [Endtest]
       
    20 
       
    21 //#3
       
    22 [Test]
       
    23 title FetchTemplate
       
    24 bringtoforeground
       
    25 create TestNpdApi NpdObj
       
    26 NpdObj TestFetchTemplate
       
    27 delete NpdObj
       
    28 sendtobackground
       
    29 [Endtest] 
       
    30 
       
    31 //#4
       
    32 [Test]
       
    33 title FetchTemplateAndExpectError
       
    34 bringtoforeground
       
    35 create TestNpdApi NpdObj
       
    36 allownextresult -2
       
    37 NpdObj TestFetchTemplate
       
    38 delete NpdObj
       
    39 sendtobackground
       
    40 [Endtest] 
       
    41 
       
    42 //#5
       
    43 [Test]
       
    44 title NoOfTemaplates
       
    45 create TestNpdApi NpdObj
       
    46 NpdObj TestNoOfTemplates
       
    47 delete NpdObj
       
    48 [Endtest] 
       
    49 
       
    50 //#6
       
    51 [Test]
       
    52 title TestFetchMemoAndExpectError
       
    53 bringtoforeground
       
    54 create TestNpdApi NpdObj
       
    55 allownextresult -2
       
    56 NpdObj TestFetchMemo
       
    57 delete NpdObj
       
    58 sendtobackground
       
    59 [Endtest] 
       
    60 
       
    61 //#7
       
    62 [Test]
       
    63 title TestFetchMemo
       
    64 bringtoforeground
       
    65 create TestNpdApi NpdObj
       
    66 NpdObj TestFetchMemo
       
    67 delete NpdObj
       
    68 sendtobackground
       
    69 [Endtest] 
       
    70 
       
    71 //#8
       
    72 [Test]
       
    73 title SaveFileAsMemoUsingFileName
       
    74 create TestNpdApi NpdObj
       
    75 NpdObj SaveFileAsMemoUsingFileName 0
       
    76 delete NpdObj
       
    77 [Endtest] 
       
    78 
       
    79 //#9
       
    80 [Test]
       
    81 title SaveFileAsMemoUsingFileNameWithEncoding
       
    82 create TestNpdApi NpdObj
       
    83 NpdObj SaveFileAsMemoUsingFileName 1
       
    84 delete NpdObj
       
    85 [Endtest] 
       
    86 
       
    87 //#10
       
    88 [Test]
       
    89 title SaveFileAsMemoUsingHandle
       
    90 create TestNpdApi NpdObj
       
    91 NpdObj SaveFileAsMemoUsingHandle 0
       
    92 delete NpdObj
       
    93 [Endtest] 
       
    94 
       
    95 //#11
       
    96 [Test]
       
    97 title SaveFileAsMemoUsingHandleWithEncoding
       
    98 create TestNpdApi NpdObj
       
    99 NpdObj SaveFileAsMemoUsingHandle 1
       
   100 delete NpdObj
       
   101 [Endtest] 
       
   102 
       
   103 //#12
       
   104 [Test]
       
   105 title TestAddContent
       
   106 create TestNpdApi NpdObj
       
   107 NpdObj TestAddContent
       
   108 delete NpdObj
       
   109 [Endtest] 
       
   110 
       
   111 //#13
       
   112 [Test]
       
   113 title TestingModel
       
   114 create TestNpdApi NpdObj
       
   115 NpdObj Model
       
   116 delete NpdObj
       
   117 [Endtest] 
       
   118 
       
   119 //#14
       
   120 [Test]
       
   121 title TestDialog
       
   122 create TestNpdApi NpdObj
       
   123 NpdObj TestDialog
       
   124 delete NpdObj
       
   125 [Endtest] 
       
   126 
       
   127 //#15
       
   128 [Test]
       
   129 title TestExistsMemoL
       
   130 create TestNpdApi NpdObj
       
   131 NpdObj TestExistsMemoL
       
   132 delete NpdObj
       
   133 [Endtest] 
       
   134 
       
   135 //#16
       
   136 [Test]
       
   137 title TestNumberOfTemplates
       
   138 create TestNpdApi NpdObj
       
   139 NpdObj TestNumberOfTemplates
       
   140 delete NpdObj
       
   141 [Endtest] 
       
   142 
       
   143 //#17
       
   144 [Test]
       
   145 title TestCreateModelL
       
   146 create TestNpdApi NpdObj
       
   147 NpdObj TestCreateModelL
       
   148 delete NpdObj
       
   149 [Endtest] 
       
   150 
       
   151 //#18
       
   152 [Test]
       
   153 title TestNewL
       
   154 create TestNpdApi NpdObj
       
   155 NpdObj TestNewL
       
   156 delete NpdObj
       
   157 [Endtest] 
       
   158 
       
   159 //#19
       
   160 [Test]
       
   161 title TestProbeMemoL
       
   162 create TestNpdApi NpdObj
       
   163 NpdObj TestProbeMemoL
       
   164 delete NpdObj
       
   165 [Endtest] 
       
   166 //#20
       
   167 [Test]
       
   168 title TestNewLC
       
   169 create TestNpdApi NpdObj
       
   170 NpdObj TestNewLC
       
   171 delete NpdObj
       
   172 [Endtest] 
       
   173 
       
   174 //#21
       
   175 [Test]
       
   176 title TestCNotepadApiDestruction
       
   177 create TestNpdApi NpdObj
       
   178 NpdObj TestCNotepadApiDestruction
       
   179 delete NpdObj
       
   180 [Endtest] 
       
   181 
       
   182 //#22
       
   183 [Test]
       
   184 title TestCreateListDialogL
       
   185 create TestNpdApi NpdObj
       
   186 NpdObj TestCreateListDialogL
       
   187 delete NpdObj
       
   188 [Endtest] 
       
   189 
       
   190 
       
   191 //#23
       
   192 [Test]
       
   193 title TestCreateViewerDialogL
       
   194 create TestNpdApi NpdObj
       
   195 NpdObj TestCreateViewerDialogL
       
   196 delete NpdObj
       
   197 [Endtest] 
       
   198 
       
   199 //#24
       
   200 [Test]
       
   201 title TestExecTemplatesL
       
   202 create TestNpdApi NpdObj
       
   203 bringtoforeground
       
   204 NpdObj TestExecTemplatesL
       
   205 delete NpdObj
       
   206 [Endtest] 
       
   207 
       
   208 //#25
       
   209 [Test]
       
   210 title PressKey
       
   211 pause 4000
       
   212 presskey global EKeyDevice1
       
   213 [Endtest]
       
   214 
       
   215 
       
   216 
       
   217 //#26
       
   218 [Test]
       
   219 title TestExecFileViewerUsingFilename
       
   220 create TestNpdApi NpdObj
       
   221 bringtoforeground
       
   222 NpdObj TestExecFileViewerUsingFilename
       
   223 delete NpdObj
       
   224 [Endtest] 
       
   225 
       
   226 
       
   227 //#27
       
   228 [Test]
       
   229 title TestExecFileViewerUsingHandle
       
   230 create TestNpdApi NpdObj
       
   231 bringtoforeground
       
   232 NpdObj TestExecFileViewerUsingHandle
       
   233 delete NpdObj
       
   234 [Endtest] 
       
   235 
       
   236 
       
   237 //#28
       
   238 [Test]
       
   239 title TestCreateViewer
       
   240 create TestNpdApi NpdObj
       
   241 bringtoforeground
       
   242 NpdObj TestCreateViewer
       
   243 delete NpdObj
       
   244 [Endtest] 
       
   245 
       
   246 
       
   247 //#29
       
   248 [Test]
       
   249 title TestExecTextViewerL
       
   250 create TestNpdApi NpdObj
       
   251 bringtoforeground
       
   252 NpdObj TestExecTextViewerL
       
   253 delete NpdObj
       
   254 [Endtest] 
       
   255 
       
   256 
       
   257 //#30
       
   258 [Test]
       
   259 title TestExecTextEditorL
       
   260 create TestNpdApi NpdObj
       
   261 bringtoforeground
       
   262 NpdObj TestExecTextEditorL
       
   263 delete NpdObj
       
   264 [Endtest] 
       
   265 
       
   266 
       
   267 //#31
       
   268 [Test]
       
   269 title TestExecReadOnlyTextViewerL
       
   270 create TestNpdApi NpdObj
       
   271 bringtoforeground
       
   272 NpdObj TestExecReadOnlyTextViewerL
       
   273 delete NpdObj
       
   274 [Endtest]