|
1 # |
|
2 # This is STIF initialization file |
|
3 # Comment lines start with '#'-character. |
|
4 # See STIF TestFramework users guide.doc for instructions |
|
5 |
|
6 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
7 # Set following test engine settings: |
|
8 # - Set Test Reporting mode. TestReportMode's possible values are: |
|
9 # + 'Summary': Summary of the tested test cases. |
|
10 # + 'Environment': Hardware and software info. |
|
11 # + 'TestCases': Test case report. |
|
12 # + 'FullReport': Set of all above ones. |
|
13 # + Example 'TestReportMode= Summary TestCases' |
|
14 # |
|
15 # - CreateTestReport setting controls report creation mode |
|
16 # + YES, Test report will created. |
|
17 # + NO, No Test report. |
|
18 # |
|
19 # - File path indicates the base path of the test report. |
|
20 # - File name indicates the name of the test report. |
|
21 # |
|
22 # - File format indicates the type of the test report. |
|
23 # + TXT, Test report file will be txt type, for example 'TestReport.txt'. |
|
24 # + HTML, Test report will be html type, for example 'TestReport.html'. |
|
25 # + XML, Test report will be xml type, for example 'TestReport.xml'. |
|
26 # Note, that xml format is available only when output is set to FILE. |
|
27 # |
|
28 # - File output indicates output source of the test report. |
|
29 # + FILE, Test report logging to file. |
|
30 # + RDEBUG, Test report logging to using rdebug. |
|
31 # |
|
32 # - File Creation Mode indicates test report overwriting if file exist. |
|
33 # + OVERWRITE, Overwrites if the Test report file exist. |
|
34 # + APPEND, Continue logging after the old Test report information if |
|
35 # report exist. |
|
36 # - Sets a device reset module's dll name(Reboot). |
|
37 # + If Nokia specific reset module is not available or it is not correct one |
|
38 # StifHWResetStub module may use as a template for user specific reset |
|
39 # module. |
|
40 # - Sets STIF test measurement disable options. e.g. pluging1 and pluging2 disablation |
|
41 # DisableMeasurement= stifmeasurementplugin01 stifmeasurementplugin02 |
|
42 # |
|
43 |
|
44 [Engine_Defaults] |
|
45 |
|
46 TestReportMode= FullReport # Possible values are: 'Empty', 'Summary', 'Environment', |
|
47 'TestCases' or 'FullReport' |
|
48 |
|
49 CreateTestReport= YES # Possible values: YES or NO |
|
50 |
|
51 TestReportFilePath= C:\LOGS\TestFramework\ |
|
52 TestReportFileName= TestReport |
|
53 |
|
54 TestReportFormat= TXT # Possible values: TXT, HTML or XML |
|
55 TestReportOutput= FILE # Possible values: FILE or RDEBUG |
|
56 TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND |
|
57 |
|
58 DeviceResetDllName= StifResetForNokia.dll # e.g. 'StifHWResetStub.dll' for user specific reseting |
|
59 |
|
60 DisableMeasurement= stifmeasurementdisablenone # Possible values are: |
|
61 # 'stifmeasurementdisablenone', 'stifmeasurementdisableall' |
|
62 # 'stifmeasurementplugin01', 'stifmeasurementplugin02', |
|
63 # 'stifmeasurementplugin03', 'stifmeasurementplugin04', |
|
64 # 'stifmeasurementplugin05' or 'stifbappeaprofiler' |
|
65 |
|
66 Timeout= 0 # Default timeout value for each test case. In milliseconds |
|
67 UITestingSupport= YES # Possible values: YES or NO |
|
68 SeparateProcesses= YES # Possible values: YES or NO (default: NO) |
|
69 [End_Defaults] |
|
70 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
71 |
|
72 |
|
73 |
|
74 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
75 # Module configurations start |
|
76 # Modules are added between module tags |
|
77 # tags. Module name is specified after ModuleName= tag, like |
|
78 # ModuleName= XXXXXXXXX |
|
79 # Modules might have initialisation file, specified as |
|
80 # IniFile= c:\testframework\YYYYYY |
|
81 # Modules might have several configuration files, like |
|
82 # TestCaseFile= c:\testframework\NormalCases.txt |
|
83 # TestCaseFile= c:\testframework\SmokeCases.txt |
|
84 # TestCaseFile= c:\testframework\ManualCases.txt |
|
85 |
|
86 # (TestCaseFile is synonym for old term ConfigFile) |
|
87 |
|
88 # Following case specifies demo module settings. Demo module |
|
89 # does not read any settings from file, so tags |
|
90 # IniFile and TestCaseFile are not used. |
|
91 # In the simplest case it is enough to specify only the |
|
92 # name of the test module when adding new test module |
|
93 |
|
94 [New_Module] |
|
95 ModuleName= testcombiner |
|
96 TestCaseFile= c:\smoketest\smoketest_notepad.cfg |
|
97 #ModuleName= testscripter |
|
98 #TestCaseFile= c:\smoketest\ui_TestNpdApi.cfg |
|
99 [End_Module] |
|
100 |
|
101 |
|
102 #[New_Module] |
|
103 #[End_Module] |
|
104 |
|
105 # Load testmoduleXXX, optionally with initialization file and/or test case files |
|
106 #[New_Module] |
|
107 #ModuleName= testmodulexxx |
|
108 |
|
109 #TestModuleXXX used initialization file |
|
110 #IniFile= c:\testframework\init.txt |
|
111 |
|
112 #TestModuleXXX used configuration file(s) |
|
113 #TestCaseFile= c:\testframework\testcases1.cfg |
|
114 #TestCaseFile= c:\testframework\testcases2.cfg |
|
115 #TestCaseFile= c:\testframework\manualtestcases.cfg |
|
116 |
|
117 #[End_Module] |
|
118 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
119 |
|
120 |
|
121 |
|
122 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
123 # Set STIF logging overwrite parameters for Logger. |
|
124 # Hardware and emulator environment logging path and styles can |
|
125 # be configured from here to overwrite the Logger's implemented values. |
|
126 # |
|
127 # Settings description: |
|
128 # - Indicates option for creation log directory/directories. If log directory/directories |
|
129 # is/are not created by user they will make by software. |
|
130 # + YES, Create log directory/directories if not allready exist. |
|
131 # + NO, Log directory/directories not created. Only created one is used. |
|
132 # |
|
133 # - Overwrite emulator path setting. |
|
134 # + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined |
|
135 # Logger's path 'D:\\LOGS\\Module\\' with those definition the path |
|
136 # will be 'C:\LOGS\TestFramework\LOGS\Module\' |
|
137 # |
|
138 # - Overwrite emulator's logging format. |
|
139 # + TXT, Log file(s) will be txt type(s), for example 'Module.txt'. |
|
140 # + HTML, Log file(s) will be html type(s), for example 'Module.html'. |
|
141 # |
|
142 # - Overwrited emulator logging output source. |
|
143 # + FILE, Logging to file(s). |
|
144 # + RDEBUG, Logging to using rdebug(s). |
|
145 # |
|
146 # - Overwrite hardware path setting (Same description as above in emulator path). |
|
147 # - Overwrite hardware's logging format(Same description as above in emulator format). |
|
148 # - Overwrite hardware's logging output source(Same description as above in emulator output). |
|
149 # |
|
150 # - File Creation Mode indicates file overwriting if file exist. |
|
151 # + OVERWRITE, Overwrites if file(s) exist. |
|
152 # + APPEND, Continue logging after the old logging information if file(s) exist. |
|
153 # |
|
154 # - Will thread id include to the log filename. |
|
155 # + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'. |
|
156 # + NO, No thread id to log file(s), Example filename 'Module.txt'. |
|
157 # |
|
158 # - Will time stamps include the to log file. |
|
159 # + YES, Time stamp added to each line in log file(s). Time stamp is |
|
160 # for example'12.Nov.2003 115958 LOGGING INFO' |
|
161 # + NO, No time stamp(s). |
|
162 # |
|
163 # - Will line breaks include to the log file. |
|
164 # + YES, Each logging event includes line break and next log event is in own line. |
|
165 # + NO, No line break(s). |
|
166 # |
|
167 # - Will event ranking include to the log file. |
|
168 # + YES, Event ranking number added to each line in log file(s). Ranking number |
|
169 # depends on environment's tics, for example(includes time stamp also) |
|
170 # '012 12.Nov.2003 115958 LOGGING INFO' |
|
171 # + NO, No event ranking. |
|
172 # |
|
173 # - Will write log file in unicode format. |
|
174 # + YES, Log file will be written in unicode format |
|
175 # + NO, Log will be written as normal, not unicode, file. |
|
176 # |
|
177 |
|
178 [Logger_Defaults] |
|
179 |
|
180 #NOTE: If you want to set Logger using next setting(s) remove comment(s)'#' |
|
181 #NOTE: TestEngine and TestServer logging settings cannot change here |
|
182 |
|
183 #CreateLogDirectories= YES # Possible values: YES or NO |
|
184 |
|
185 #EmulatorBasePath= C:\LOGS\TestFramework\ |
|
186 #EmulatorFormat= HTML # Possible values: TXT or HTML |
|
187 #EmulatorOutput= FILE # Possible values: FILE or RDEBUG |
|
188 |
|
189 #HardwareBasePath= D:\LOGS\TestFramework\ |
|
190 #HardwareFormat= HTML # Possible values: TXT or HTML |
|
191 #HardwareOutput= FILE # Possible values: FILE or RDEBUG |
|
192 |
|
193 #FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND |
|
194 |
|
195 #ThreadIdToLogFile= YES # Possible values: YES or NO |
|
196 #WithTimeStamp= YES # Possible values: YES or NO |
|
197 #WithLineBreak= YES # Possible values: YES or NO |
|
198 #WithEventRanking= YES # Possible values: YES or NO |
|
199 |
|
200 #FileUnicode= YES # Possible values: YES or NO |
|
201 #AddTestCaseTitle= YES # Possible values: YES or NO |
|
202 [End_Logger_Defaults] |
|
203 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
204 |
|
205 # End of file |