Forum Discussion

shahid24's avatar
shahid24
Contributor
6 months ago
Solved

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
    6 months 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
    6 months ago

    Thanks rraghvani , will give that a try