Configuration
The TEF configuration file, testexecute.ini
, is used to
configure the execution of tests at run time. There are two
testexecute.ini
files in the environment, and which one needs
modifying is based on whether the emulator or hardware is being used. For the
emulator, the file is located in
epoc32/winscw/c/system/data/testexecute.ini
. For hardware, use
epoc32/data/Z/system/data/testexecute.ini
.
The following configuration options are available:
Option | Description | Default
value |
---|
DefaultScriptDir
|
Sets the default path for the script file. By default, this option
is commented. To enable, uncomment this option.
|
z:\sampletest\
|
EnableIniAccessLog
|
Logging of values read or written from and to .ini
files during test execution can be switched OFF using this option.
|
ON
|
EnableTestsCountLog
|
Enables you to set (ON or OFF) the generation of a summary in the
header region of logs reporting counts of test steps and test cases.
|
ON
|
HTML
|
The file path for HTML log output.
|
c:\logs\testexecute\
|
JustInTimeDebug
|
If set to 1, the script engine pauses for user input whenever a
PAUSE command is encountered in the script file.
|
0
|
LogLevel
|
Limits the nature of information in the log based on severity of
commands. Possible options include BASIC , MEDIUM , and
FULL .
|
FULL
|
LogMode
|
Enables you to select the output mode (HTML/XML/BOTH).
|
HTML
|
RemotePanicDetection
|
Traps panics occurring elsewhere within the system, if set to ON.
|
OFF
|
SystemStarter
|
Enables you to start (ON or OFF) the Symbian OS
SystemStarter module at the start of execution.
This option is used to ensure that the script execution does not
start until system bootup sequence is completed, so that tests do not execute
before loading of their dependant components which may lead to unexecuted tests
or panics.
Note: If you are using DevKit, then ensure that the
SystemStarter module is turned OFF, as DevKit do not have the
supporting API’s for the SystemStarter module to work within TEF.
If it is ON, then you will get the panic -263 error.
|
ON
|
XML
|
The file path for XML log output.
|
c:\logs\testexecute\
|
A typical TestExecute.ini
file is given below:
[TestExecute]
HTML = c:\logs\testexecute\
XML = c:\logs\testexecute\
LogLevel = FULL
//DefaultScriptDir = z:\sampletest\
JustInTimeDebug = 0
LogMode = HTML
RemotePanicDetection = OFF
EnableIniAccessLog = ON
EnableTestsCountLog = ON
EnableTestsCountLog = ON
SystemStarter = ON