Generated outputs

After executing the test cases, the following three directories are created:

  • Main directory: Created inside the Results folder, it is named using the date and time of the execution.

  • Global: A subdirectory within the main folder that contains global test result files including:

    • global log file: Contains the MTF log.

    • xtr-main log file: Contains the XTR log.

    • JUnit(XML) report file contains the status report of the executed test cases in XML format.

    • HTML report file: Contains general status information about the test cases.

    • HTML log file: Contains more detailed status information of the executed test cases, including a tree view.

  • Test: A subdirectory inside the main folder that contains test case-specific output files, specifically MTF output files.

global log file

Below is a snippet of the global log file content, which is the MTF log.

xtr-main log file

Below is a snippet of the xtr-main log file content, which is the XTR log.

JUnit report

As mentioned previously, the JUnit report documents test results and provides an overview of the entire test suite.
It includes the total number of executed test cases, as well as the PASS, FAIL or SKIPPED status for each.
Individual test case results include the test name, execution status, duration, class name and any encountered error messages.
The report is in XML format, which is machine-readable and can be convertible to human-readable formats like HTML.

HTML report file

The html report file, shown in the image below, provides the same details as the JUnit report,
in an clear and human-readable format. This file offers a general overview of the execution and
contains a button that directs you to the log html file, which gives the same information but with more detail.

HTML log file

Contrary to the HTML report file, the log file provides detailed information about the tets series execution
and lists all the test cases in a tree structure. It also includes a button that directs you back to the report file.

MTF output files

When you execute MTF test cases with XTR, both the test runner and MTF itself generate outputs, including log files and traces. Generally, each test case produces its own log file (named LogName.log) within its specific folder. There is also a global log file for the entire test series. Additionally, trace files may be in one of the following formats: Pcap, PcapNg, or ASCII.