testrun Element

The testrun element is the root element of the XML document and contains all the output for a single test run. A test run corresponds to all the tests that are run with a single press of the run button on the Run Tests Screen in XJRunner or XJDeveloper.

The element has two forms, depending on how the log file was created. If the log file is a result of exporting test output manually from the Run Tests Screen, then it has just a single full-output element and a single snippets element. If the log file is created automatically while running tests, then it contains all child elements listed below, excluding full-output.

Children

  • full-output (only present if log file was exported from the Run Tests Screen)
  • testgroup (any number or absent if the log file was exported manually)
  • summary (exactly once or absent if the log file was exported manually)
  • header (exactly once or absent if the log file was exported manually)
  • user-comment (exactly once if any user comments exist, or absent if the log file was exported manually)
  • testruninfo (exactly once or absent if the log file was exported manually)
  • snippets (exactly once)

Attributes

Name Type Description
datetime ISO 8601 date and time The date and time that the test run was started.