In Files and Regions we work like this:
filetocompare = "C:\...\test.txt" comparisonFileName = "TestFileName" if not Files.Contains(comparisonFileName ) then call Files.Add(filetocompare, comparisonFileName , false) log.warning "Comparison file is generated newly" else call Files.Items(comparisonFileName).Check filetocompare end if
We need something similar for XML checkpoints.
Currently you can check if it already exists with Contains. And you can create with CreateXML. But you cannot access the XML checkpoint by name (string).