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

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

book

Article ID: 14798

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

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

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 releases.

Cause

N/A

Resolution

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

Refer to section "Graphical XML Side-by-Side Comparison" in the documentation of the DevTest release you are running.