When executing the "Graphical XML side-by-side comparison" assertion as part of a test in ITR, the event output shows the XML string as truncated.
This may especially occur if the XML strings are on a single line and not formatted with new lines and spaces.
The event output may look similar to:
1,1[ATTRIBUTE_DELETED]1,1
<-<?xml version='1.0'?]><DebugObj xmlns:xsd='http://www.w3.org/2001/XMLSchema' xml...(TRUNCATED)
Are there any properties or settings to avoid the truncated output.
There are some default limits to the side by side comparison.
In local.properties for the installation where this Workstation is running, increase the default limits by adding the following:
lisa.graphical.xml.diff.engine.max.differences=10000
lisa.graphical.xml.diff.report.max.linewidth=2000
lisa.graphical.xml.diff.report.max.numberoflines=1000
These values are just an example and may need further increasing if the result is still truncated.
For further details regarding these properties see:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/using/using-application-test/using-devtest-workstation-with-application-test/running-test-cases-and-suites/interactive-test-run-itr-utility/graphical-text-diff-utility.html