TraceAll.wtl
The following code example shows a test software log file.
<?xml version="1.0" ?>
<WTT-Logger>
<RTI ID="2925006503" Machine="DEVMACHINE" ProcessName="TraceAll.exe" ProcessID="3376"
ThreadID="3332" BaseTime="2005:2:11 1:6:7:757" Frequency="3579545" />
<CTX ID="384048256" Current="WTTLOG" Parent="ROOT" />
<Machine
Build="2600.00"
Platform="x86"
OS="Microsoft Windows XP"
ServicePack="Service Pack 2"
Version="5.1"
BuildLab="xpsp_sp2_rtm"
BuildDate="040803-2158"
Language="English (US) (REDMOND)"
Config="n/a" CA="1214554" LA="1215986" >
<rti id="2925006503" />
<ctx id="384048256" />
</Machine>
<Msg
UserText="This is a message" CA="1218459" LA="1264742" >
<rti id="2925006503" />
<ctx id="384048256" />
</Msg>
<Msg
UserText="This is a message with parameter 1234 string" CA="1218611" LA="1266841" >
<rti id="2925006503" />
<ctx id="384048256" />
</Msg>
<Msg
UserText="This is a message with user XML" CA="1218721" LA="1268051" >
<Data>
<MyXML>DTM Logger trace all unit test</MyXML>
</Data>
<rti id="2925006503" />
<ctx id="384048256" />
</Msg>
<Msg
UserText="This is a message with user XML and parameter 1234 string" CA="1218842" LA="1320897" >
<Data>
<MyXML>DTM Logger trace all unit test</MyXML>
</Data>
<rti id="2925006503" />
<ctx id="384048256" />
</Msg>
<Error
File="e:\21\sdktools\wtt\jobs\sdk\logger\unittest\cpp\traceall\main.cxx"
Line="125"
ErrCode="0x2"
ErrType="HRESULT"
ErrorText="The system cannot find the file specified."
UserText="This is a Win32 error" CA="1218971" LA="1354358" >
<rti id="2925006503" />
<ctx id="384048256" />
</Error>
<Error
File="e:\21\sdktools\wtt\jobs\sdk\logger\unittest\cpp\traceall\main.cxx"
Line="136"
ErrCode="0x0"
ErrType="BOOL"
ErrorText="Error 0x00000000"
UserText="This is a boolean error" CA="1219322" LA="1355913" >
<rti id="2925006503" />
<ctx id="384048256" />
</Error>
<Error
File="e:\21\sdktools\wtt\jobs\sdk\logger\unittest\cpp\traceall\main.cxx"
Line="147"
ErrCode="0x1"
ErrType="NT_STATUS"
ErrorText="Error 0x00000001"
UserText="This is a NT_STATUS error" CA="1219467" LA="1432323" >
<rti id="2925006503" />
<ctx id="384048256" />
</Error>
<Assert
File="e:\21\sdktools\wtt\jobs\sdk\logger\unittest\cpp\traceall\main.cxx"
Line="160"
UserText="This is an assert" CA="1220942" LA="1434368" >
<rti id="2925006503" />
<ctx id="384048256" />
</Assert>
<Warn
File="e:\21\sdktools\wtt\jobs\sdk\logger\unittest\cpp\traceall\main.cxx"
Line="173"
UserText="This is a warning" CA="1221069" LA="1488933" >
<rti id="2925006503" />
<ctx id="384048256" />
</Warn>
<Bug
DB="WTT"
ID="12345"
Type="Non-Blocking" CA="1221199" LA="1490651" >
<rti id="2925006503" />
<ctx id="384048256" />
</Bug>
<Bug
DB="WTT"
ID="12345"
Type="Blocking" CA="1221247" LA="1544909" >
<rti id="2925006503" />
<ctx id="384048256" />
</Bug>
<CTX ID="1505448945" Current="9b18233d-10c4-4491-ae70-1f89b00402a0" Parent="WTTLOG" />
<StartTest
Title="StartTestEx and EndTestExDemo"
TUID="9b18233d-10c4-4491-ae70-1f89b00402a0" CA="1221484" LA="1546563" >
<rti id="2925006503" />
<ctx id="1505448945" />
</StartTest>
<EndTest
Title="StartTestEx and EndTestExDemo"
TUID="9b18233d-10c4-4491-ae70-1f89b00402a0"
Result="Pass"
Repro="C:\Testing\AlexDu\TraceAll.exe " CA="1221641" LA="1548422" >
<rti id="2925006503" />
<ctx id="1505448945" />
</EndTest>
<PFRollup
Total="1"
Passed="1"
Failed="0"
Blocked="0"
Warned="0"
Skipped="0" CA="1221728" LA="1599782" >
<rti id="2925006503" />
<ctx id="384048256" />
</PFRollup>
</WTT-Logger>
Send feedback on this topic
Built on December 10, 2009