Example Code

There are two example programs that demonstrate how to open a log file and extract information from it that are included as part of the installation, in \Log File Examples. Both examples have identical functionality:

Any program that processes XJTAG log files needs to have three parts:

  • Opening the log file as a zip file and be able to read the contents of files inside
  • Parse the Info.xml file to get general information about the log file, including how many test runs are inside.
  • Parse each test run file (Run x.xml) to extract the required information from it.