File structure of the VCL TestTool resultfile (*.res)
Every line contains 6 columns separated by semicolons
LogType; |
Filename; |
Line; |
ColStart; |
ColEnd; |
Message |
4; |
~global\system\inc\master.inc; |
113; |
4; |
65535; |
"/q_testtool/qatesttool/global/hid/hid.lst" |
0; |
; |
0; |
0; |
0; |
"%ResId=21000%%Arg1=11/29/2005%%Arg2=06:27:08% |
LogType |
|
0 |
LOG_RUN |
1 |
LOG_TEST_CASE |
2 |
LOG_ERROR |
3 |
LOG_CALL_STACK |
4 |
LOG_MESSAGE |
5 |
LOG_WARNING |
6 |
LOG_ASSERTION |
7 |
LOG_QA_ERROR |
8 |
LOG_ASSERTION_STACK |
Filenames are prepended by one or two characters which give it a special meaning |
|
~ |
The filename is relative to the "Base directory" given in the settings dialog |
~- |
The filename is outside of the "Base directory" and has to be left untouched |
The line contains the line number in the file
ColStart and ColEnd
might be off by some spaces or collons if several commands are
combined on one line.
At the line end the ColEnd might be
65767 (0xffff).
The Message is
unreadable because it only contains the resource number of the
message to display.
The advantage of this is to see the resultfile
in the language of the UI.
The Recource ID belongs to a string
from the file src/basic/common.pro/srs/app.srs that is
generated on building OOo.
(For the String 21000 from above it is:
"Program start: ($Arg1); ($Arg2)";)
(See appended list
of strings from SRC680m143 for language 'en-US'.)
(Usually the numbers stay
forever with the assigned text.)
Maybe it would also be a good
idea to have a look into the following commands, which could help you
performing your task inside the basic scripts:
GetErrorCount
GetWarningCount
GetQAErrorCount
GetUseFileWarningCount
The following return a string array (in readable text, not as in the resultfile):
GetErrorList
GetWarningList
GetQAErrorList
GetUseFileWarningList
Gregor Hartmann, 07.12.2005
An example from build SRC680m143 in 'en-US':
src/basic/common.pro/srs/app.srs
String 257
Text[ en-US ] = "Is an invalid KeyCode!";
String 258
Text[ en-US ] = "\ncould not be found.\nThis file is indispensable.";
String 259
Text[ en-US ] = "Reading long-names";
String 260
Text[ en-US ] = "Reading Slot IDs";
String 261
Text[ en-US ] = "Reading Controls";
String 262
Text[ en-US ] = "Reading BASIC module";
String 263
Text[ en-US ] = "Starting application";
String 2401
Text[ en-US ] = "Page ";
String 2402
Text[ en-US ] = "Printout of ";
String 2601
Text[ en-US ] = "Error ";
String 2602
Text[ en-US ] = " in line ";
String 2603
Text[ en-US ] = "Warning ";
String 2604
Text[ en-US ] = "No entries in Hid.Lst";
String 2605
Text[ en-US ] = "Warning: ";
String 2606
Text[ en-US ] = "Object";
String 2607
Text[ en-US ] = "Edit ($Arg1)";
String 2702
Text[ en-US ] = "Disassembly";
String 20000
Text[ en-US ] = "Name doesn't exist: #($Arg1)";
String 20001
Text[ en-US ] = "Name double: ($Arg1)";
String 20002
Text[ en-US ] = "Reading the files";
String 20003
Text[ en-US ] = "File cannot be opened: ($Arg1)";
String 20004
Text[ en-US ] = "Line \"($Arg1)\" is invalid.";
String 20005
Text[ en-US ] = "Short-name unknown during copying: ($Arg1)";
String 20006
Text[ en-US ] = "Long-name unknown: ($Arg1)";
String 20007
Text[ en-US ] = "First short-name must start with * . Ignoring.";
String 20008
Text[ en-US ] = "Server Timeout while waiting for answer. Sequence No: ($Arg1)";
String 20009
Text[ en-US ] = "Application has been restarted.";
String 20010
Text[ en-US ] = "Application \"($Arg1)\" cannot be started. ";
String 20011
Text[ en-US ] = "Server Timeout while sending. Sequence No: ($Arg1)";
String 20012
Text[ en-US ] = "No connection. Sequence No: ($Arg1)";
String 20013
Text[ en-US ] = "No ($Arg1) files found";
String 20014
Text[ en-US ] = "** ($Arg1) errors occurred";
String 20015
Text[ en-US ] = "** No errors have occurred";
String 20016
Text[ en-US ] = "** ($Arg1) warnings occurred";
String 20017
Text[ en-US ] = "** No warnings have occurred";
String 20018
Text[ en-US ] = "Slot/Control unknown :\"($Arg1)\"";
String 20019
Text[ en-US ] = "Return Stream has wrong sequence: ($Arg1) instead of ($Arg2)";
String 20020
Text[ en-US ] = "Return value received but different Id expected";
String 20021
Text[ en-US ] = "Return value received but no receiver defined";
String 20022
Text[ en-US ] = "Unknown method on object :($Arg1).($Arg2)";
String 20023
Text[ en-US ] = "** ($Arg1) warnings occurred during initialization";
String 20024
Text[ en-US ] = "** No warnings occurred during initialization";
String 21000
Text[ en-US ] = "Program start: ($Arg1); ($Arg2)";
String 21001
Text[ en-US ] = "Error outside of test case";
String 21002
Text[ en-US ] = "Warning: ";
String 22000
Text[ en-US ] = "Program aborted with GPF";
String 22001
Text[ en-US ] = "Application has been shut down";
String 22002
Text[ en-US ] = "Slot ID cannot be executed. No ActiveDispatcher";
String 22003
Text[ en-US ] = "Slot ID could not be execute";
String 22004
Text[ en-US ] = "UnoSlot: Properties could not be initialized";
String 22005
Text[ en-US ] = "ResetApplication failed: too complex";
String 22006
Text[ en-US ] = "ResetApplication failed: unknown window type";
String 22007
Text[ en-US ] = "No active window found (GetNextCloseWindow)";
String 22008
Text[ en-US ] = "GetActive does not return a dialog! Inform development";
String 22009
Text[ en-US ] = "Pop-up menu not open";
String 22010
Text[ en-US ] = "Submenu does not exist";
String 22011
Text[ en-US ] = "ControlType ($Arg1) is not supported";
String 22012
Text[ en-US ] = "Selection by attributes only possible for directories";
String 22013
Text[ en-US ] = "No more files";
String 22014
Text[ en-US ] = "Unknown method '($Arg1)' on ($Arg2)";
String 22015
Text[ en-US ] = "Invalid Parameters";
String 22016
Text[ en-US ] = "Pointer not inside application window at '($Arg1)'";
String 22017
Text[ en-US ] = "Unknown command '($Arg1)'";
String 22018
Text[ en-US ] = "($Arg1) could not be found";
String 22019
Text[ en-US ] = "($Arg1) is not visible";
String 22020
Text[ en-US ] = "($Arg1) could not be accessed.";
String 22021
Text[ en-US ] = "Entry number ($Arg2) is too large in ($Arg1). Max. allowed is ($Arg3)";
String 22022
Text[ en-US ] = "The entry number ($Arg2) is too small in ($Arg1). Min allowed is ($Arg3)";
String 22023
Text[ en-US ] = "Window disappeared in the meantime at ($Arg1)";
String 22024
Text[ en-US ] = "Error #($Arg1) when saving the image";
String 22025
Text[ en-US ] = "Invalid positon at ($Arg1)";
String 22026
Text[ en-US ] = "SplitWindow not found at ($Arg1)";
String 22027
Text[ en-US ] = "Internal error at ($Arg1)";
String 22028
Text[ en-US ] = "No status bar at ($Arg1)";
String 22029
Text[ en-US ] = "The items are hidden at ($Arg1)";
String 22030
Text[ en-US ] = "Tab page not found at ($Arg1)";
String 22031
Text[ en-US ] = "Tristate cannot be set at ($Arg1)";
String 22032
Text[ en-US ] = "Set text did not function";
String 22033
Text[ en-US ] = "Attempt to write on read-only ($Arg1)";
String 22034
Text[ en-US ] = "Select FALSE not allowed. Use MultiSelect at ($Arg1)";
String 22035
Text[ en-US ] = "\"($Arg2)\" entry at ($Arg1) not found";
String 22036
Text[ en-US ] = "($Arg1) of entry \"($Arg2)\" failed";
String 22037
Text[ en-US ] = "HelpID in ToolBox not found at ($Arg1)";
String 22038
Text[ en-US ] = "The button is disabled in ToolBox at ($Arg1)";
String 22039
Text[ en-US ] = "The button is hidden in ToolBox at ($Arg1)";
String 22040
Text[ en-US ] = "Button cannot be made visible in ToolBox at ($Arg1)";
String 22041
Text[ en-US ] = "TearOff failed in ToolBox at ($Arg1)";
String 22042
Text[ en-US ] = "No entry is selected in TreeListBox at ($Arg1)";
String 22043
Text[ en-US ] = "Select/Deselect with string not implemented at ($Arg1)";
String 22044
Text[ en-US ] = "Method only allowed in floating mode at ($Arg1)";
String 22045
Text[ en-US ] = "Method only allowed in docking mode at ($Arg1)";
String 22046
Text[ en-US ] = "Size cannot be altered at ($Arg1)";
String 22047
Text[ en-US ] = "There is no OK button at ($Arg1)";
String 22048
Text[ en-US ] = "There is no Cancel button at ($Arg1)";
String 22049
Text[ en-US ] = "There is no Yes button at ($Arg1)";
String 22050
Text[ en-US ] = "There is no No button at ($Arg1)";
String 22051
Text[ en-US ] = "There is no Repeat button at ($Arg1)";
String 22052
Text[ en-US ] = "There is no Help button at ($Arg1)";
String 22053
Text[ en-US ] = "There is no Default button defined at ($Arg1)";
String 22054
Text[ en-US ] = "There is no button with ID ($Arg1) at ($Arg2)";
String 22055
Text[ en-US ] = "A button ID needs to be given at ($Arg1)";
String 22056
Text[ en-US ] = "Unknown object type ($Arg1) from UId or method '($Arg2)' not supported";
String 22057
Text[ en-US ] = "Unpacking storage \"($Arg1)\" to \"($Arg2)\" failed";
String 22058
Text[ en-US ] = "ListBoxButton does not exist in ($Arg1)";
String 22059
Text[ en-US ] = "UNO URL \"($Arg1)\" could not be executed: No dispatcher was found.";
String 22060
Text[ en-US ] = "UNO URL \"($Arg1)\" could not be executed: No ActiveFrame on desktop.";
String 22061
Text[ en-US ] = "There is no menu at ($Arg1)";
String 22062
Text[ en-US ] = "No entry is selected in ($Arg2) at ($Arg1)";
String 22063
Text[ en-US ] = "UNO URL \"($Arg1)\" could not be run: Disabled";
String 22064
Text[ en-US ] = "No scroll bar at ($Arg1)";
String 22065
Text[ en-US ] = "No SAX Parser when using ($Arg1). Initialize with 'SAXReadFile' first.";
String 22066
Text[ en-US ] = "Cannot create Directory: \"($Arg1)\"";
String 22067
Text[ en-US ] = "Directory has to be Empty to unpack to. Directory: \"($Arg1)\"";
String 22068
Text[ en-US ] = "Deprecated! Please change the script.";
String 22069
Text[ en-US ] = "The Size is below the minimum. x=($Arg1) ,y=($Arg2)";
String 22070
Text[ en-US ] = "Cannot find FloatingWindow for floating DockingWindow at ($Arg1).";