ExtendedLogging property specifies whether the TestComplete report, generated when comparing XML documents with the
Compare method of the
XMLCheckpoint object, will include information on unchanged nodes of the compared documents. That is, if the nodes of the stored and actual documents are equal, they are included into the report along with information on the difference.
|XMLCheckpointOptionsObj||An expression, variable or parameter that specifies a reference to an XMLCheckpointOptions object|
The property is applied to the following object:
True if TestComplete will display information on unchanged nodes during comparison, and False otherwise.
XMLCheckpointOptions object provides access to a copy of the element’s data. Changes made to the comparison settings via the
ExtendedLogging property will not be stored in the XMLCheckpoint element, nor they will be displayed in the XMLCheckpointOptions Element editor.
The following example demonstrates how you can obtain the
XMLCheckpointOtions object, set its
ExtendedLogging property value to False and compare XMLCheckpoint with the XML document.
def ExtendedLoggingDemo(): # Obtains the XMLCheckpoint object. XMLCheckpoint = XML.MyXMLCheckpoint # Obtains the XMLCheckpointOptions object. XMLOptions = XMLCheckpoint.Options # Disables the ExtendedLogging XML checkpoint option. XMLOptions.ExtendedLogging = False # Specifies the XML document path. XMLDoc = "D:\\Work Folder\\XMLFile.xml" # Compares MyXMLCheckpoint with the XML document. XMLCheckpoint.Compare(XMLDoc)