Forum Discussion

shahid24's avatar
shahid24
Contributor
2 years ago

XML Checkpoint

Hi ,   I would like to do something similar to  https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/files/comparing-with-variable-parts.html but for XML File Comparisons?   I...
  • rraghvani's avatar
    2 years ago

    XML is just a text file, so it can be compared, providing it is in the same format using Files.Compare Method

     

    If you want to exclude certain fields using regex, then you would want to export the contents to a separate file, then do the comparison.

     

  • shahid24's avatar
    2 years ago

    Thanks rraghvani , will give that a try