OnLogCheckpoint oddity
Is there any way to get an event handler to trigger when doing an XML checkpoint comparison. In the code below, I never get the message dialog with the text "in OnLogCheckpoint" to appear, but the other message dialog does appear. I have configured the event to be handled in the GeneralEvents list. The checkpoint does appear in the log. I have tried the Compare function as well.
I did get the OnLogCheckpoint handler to trigger, but it was when I did an explicit call to Log.Checkpoint. I could not get it trigger when using the Check or Compare methods of my XML checkpoint.
Sub test
call XML.XmlCheckpoint1.Document.load("C:\temp\t - copy.xml")
if not XML.XmlCheckpoint1.Check("c:\temp\t.xml") then
call BuiltIn.ShowMessage("it is different")
end if
End Sub
Sub GeneralEvents_OnLogCheckpoint(Sender, LogParams)
Call BuiltIn.ShowMessage("in OnLogCheckpoint")
End Sub