loc_pub/landmarks_ui_addedit_api/tsrc/init/testframework.ini
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     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:\testframework\UTLmkAddEdit.cfg
       
    97 [End_Module]
       
    98 
       
    99 
       
   100 # Load testmoduleXXX, optionally with initialization file and/or test case files
       
   101 #[New_Module]
       
   102 #ModuleName= testmodulexxx
       
   103 
       
   104 #TestModuleXXX used initialization file
       
   105 #IniFile= c:\testframework\init.txt
       
   106 
       
   107 #TestModuleXXX used configuration file(s)
       
   108 #TestCaseFile= c:\testframework\testcases1.cfg
       
   109 #TestCaseFile= c:\testframework\testcases2.cfg
       
   110 #TestCaseFile= c:\testframework\manualtestcases.cfg
       
   111 
       
   112 #[End_Module]
       
   113 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
       
   114 
       
   115 
       
   116 
       
   117 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
       
   118 # Set STIF logging overwrite parameters for Logger.
       
   119 # 	Hardware and emulator environment logging path and styles can
       
   120 # 	be configured from here to overwrite the Logger's implemented values.
       
   121 #	
       
   122 #	Settings description:
       
   123 #	- Indicates option for creation log directory/directories. If log directory/directories
       
   124 #         is/are not created by user they will make by software.
       
   125 #		+ YES, Create log directory/directories if not allready exist.
       
   126 #		+ NO, Log directory/directories not created. Only created one is used.
       
   127 #
       
   128 #	- Overwrite emulator path setting.
       
   129 #		+ Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined 
       
   130 #		           Logger's path 'D:\\LOGS\\Module\\' with those definition the path
       
   131 #		           will be 'C:\LOGS\TestFramework\LOGS\Module\'
       
   132 #
       
   133 #	- Overwrite emulator's logging format.
       
   134 #		+ TXT, Log file(s) will be txt type(s), for example 'Module.txt'.
       
   135 #		+ HTML, Log file(s) will be html type(s), for example 'Module.html'.
       
   136 #
       
   137 #	- Overwrited emulator logging output source.
       
   138 #		+ FILE, Logging to file(s).
       
   139 #		+ RDEBUG, Logging to using rdebug(s).
       
   140 #
       
   141 #	- Overwrite hardware path setting (Same description as above in emulator path).
       
   142 #	- Overwrite hardware's logging format(Same description as above in emulator format).
       
   143 #	- Overwrite hardware's logging output source(Same description as above in emulator output).
       
   144 #
       
   145 #	- File Creation Mode indicates file overwriting if file exist.
       
   146 #		+ OVERWRITE, Overwrites if file(s) exist.
       
   147 #		+ APPEND, Continue logging after the old logging information if file(s) exist.
       
   148 #
       
   149 #	- Will thread id include to the log filename.
       
   150 #		+ YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'.
       
   151 #		+ NO, No thread id to log file(s), Example filename 'Module.txt'.
       
   152 #
       
   153 #	- Will time stamps include the to log file.
       
   154 #		+ YES, Time stamp added to each line in log file(s). Time stamp is 
       
   155 #                 for example'12.Nov.2003 115958    LOGGING INFO'
       
   156 #		+ NO, No time stamp(s).
       
   157 #
       
   158 #	- Will line breaks include to the log file.
       
   159 #		+ YES, Each logging event includes line break and next log event is in own line.
       
   160 #		+ NO, No line break(s).
       
   161 #
       
   162 #	- Will event ranking include to the log file.
       
   163 #		+ YES, Event ranking number added to each line in log file(s). Ranking number
       
   164 #                 depends on environment's tics, for example(includes time stamp also)
       
   165 #                 '012   12.Nov.2003 115958    LOGGING INFO'
       
   166 #		+ NO, No event ranking.
       
   167 #
       
   168 #	- Will write log file in unicode format.
       
   169 #		+ YES, Log file will be written in unicode format
       
   170 #		+ NO, Log will be written as normal, not unicode, file.
       
   171 #
       
   172 
       
   173 [Logger_Defaults]
       
   174 
       
   175 #NOTE: If you want to set Logger using next setting(s) remove comment(s)'#'
       
   176 #NOTE: TestEngine and TestServer logging settings cannot change here
       
   177 
       
   178 #CreateLogDirectories= YES    # Possible values: YES or NO
       
   179 
       
   180 #EmulatorBasePath= C:\LOGS\TestFramework\
       
   181 #EmulatorFormat= HTML         # Possible values: TXT or HTML
       
   182 #EmulatorOutput= FILE         # Possible values: FILE or RDEBUG
       
   183 
       
   184 #HardwareBasePath= D:\LOGS\TestFramework\
       
   185 #HardwareFormat= HTML         # Possible values: TXT or HTML
       
   186 #HardwareOutput= FILE         # Possible values: FILE or RDEBUG
       
   187 
       
   188 #FileCreationMode= OVERWRITE  # Possible values: OVERWRITE or APPEND
       
   189 
       
   190 #ThreadIdToLogFile= YES       # Possible values: YES or NO
       
   191 #WithTimeStamp= YES           # Possible values: YES or NO
       
   192 #WithLineBreak= YES           # Possible values: YES or NO
       
   193 #WithEventRanking= YES        # Possible values: YES or NO
       
   194 
       
   195 #FileUnicode= YES             # Possible values: YES or NO
       
   196 #AddTestCaseTitle= YES        # Possible values: YES or NO
       
   197 [End_Logger_Defaults]
       
   198 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
       
   199 
       
   200 # End of file