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