Graphical XML Side-by-Side Comparison assertion result is not helpful at run-time

Document ID : KB000014798
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

This document explains what each  result set characters stand for   in  a Graphical XML Side-by-Side Comparison Assertion  

Question:

When Graphical XML Diff Assertion   is fired  , the ITR shows the below result in TEST EVENTS.  What does each line stand for ?  

 

Assert [Assert1] fired false of type Graphical XML Diff Assertion 

XML is [Different] 

===== 

1,2[ELEMENT_NAME_CHANGED]1,2 

<! <test2> 

<! </test2> 

--- 

>! <test> 

>! </test> 

Environment:
All supported Devtest builds
Answer:

Here is what each stands for 

***********************

XML is [Different] 

===== 

1,2[ELEMENT_NAME_CHANGED]1,2 

<! <test2> 

<! </test2> 

--- 

>! <test> 

>! </test> 

 

The “<” denotes a line from the first text file 

The “>” denotes a line from the second text file 

 

<First Start Line>, <First End Line>'['<Diff Type>']'<Second Start Line>,<Second End Line> 

Then the difference in the first content is displayed, followed by the separator '---', followed by the difference in the second content. 

 

The + character indicates addition, 

the - character indicates a deletion, and 

the ! character indicates a change. 

 

When these characters are present, they indicate that an actual change occurred on the line of content (instead of to a context line).

Additional Information:

https://docops.ca.com/devtest-solutions/9-5/en/reference/assertion-descriptions/xml-assertions/graphical-xml-side-by-side-comparison