Viewing the test logs
Logs of tests that have been run using TestDriver are retrieved from
the device and stored within a directory on the PC. This path is specified
while configuring TestDriver using -l
option. The results can be
viewed in two ways.
-
from the generated .xml
and .htm
result
files (using XSLT)
-
from the logs generated (testLog.txt
) this is used to
maintain BC for dab.
In the build phase of the TestDriver (started by running the
testdriver build
command), the results are stored in the same
directory as
${repositoryroot}/${buildnumber}/${platform}/${build}/build_${buildnumber}.xml
and .html
.
In the run phase, (started by running the testdriver run
command) the result files are placed in
${resultroot}/${buildnumber}/${platform}/${build}/${runnumber}/run_${buildnumber}.xml
and .html
.
The following structure reflects the test results defined.
At the ResultRoot location all the test logs are stored
under a directory with a name constructed by a run number, the platform that
was used (arm4/armi/wins/winscw/thumb), and the type of build (udeb/urel) (For
example, RunNo007 - arm4 - urel).
Within this directory are several subdirectories structured in a way
that reflects the test hierarchy. The specific test logs are contained within
the corresponding directory of the test to which they belong, as shown in the
preceding structure.
Within each run directory a testlog.htm
file is created.
This file contains a summary of the test that were run and contains links to
their test logs.
Viewing the test results
Reports generated by the TestDriver can be viewed using the Generic
Report Viewer. TestDriver provides a support file called plug-in. You must
select the testdriver plug-in while loading the .xml
report into
the Report Viewer.
To view the .xml
report, launch the Generic Report Viewer
from the startup menu. Load the XML report into the Report Viewer and select
the report type as testdriver as shown in the following sample results schema.
For more information on how to load the report, refer to
Symbian OS Library.