'How can we achieve XML to HTML Printable report comparision?

Problem goes like this –

  1. We have 2 report – XML and Printable HTML which we need to compare if they are same.
  2. When we compare these XML and HTML files, we don’t find any issue. Because the issue is not in the source code. It is in the printable html table which is not fetching the required value.
  3. Is there any way we can identify this through Katalon studio?

Snapshot of Problem

XML File is having these values in tag –

enter image description here

HTML Source code is also having these details. enter image description here

The issue is in HTML Printable Report – We are not getting values highlighted section below. Can we identify such issues through Katalon?

enter image description here

I have tried XML to HTML comparison and it is showing 0 difference. When we try to get page source code it is similar to XML code.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source