How to create XML reports in Java

Published: 14 May 2017
on channel: Artur Spirin
2,602
31

This video will show you how to leverage tools from the builtin Java library in order to create and update your own XML reports.

XML Reporting format shown in this video is geared towards Jenkins friendly format.

In this video you will learn how to:
Build XML DOM programmatically
Add attributes to XML elements
Update/Overwrite XML attribute values
Update XML DOM
Stream DOM data to a file of your choice

As with many of my videos, the code is available on GitHub: https://github.com/ArturSpirin/youtub...
I have a video showing how to integrate XML reporting into an existing framework here:    • Generating XML Reports - Appium Frame...