Forum Discussion

nachiket_kulkar's avatar
nachiket_kulkar
Occasional Contributor
11 years ago

Comparing two XML Files using Test Complete?

Hi,



I have two xml files with me.

I need to compare both the xml files and check for any differences in both files.



Can this be done using Test Complete?



Regards,

Nachiket

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Also XMLCheckpoint object might be the thing that you are looking for.
  • karkadil's avatar
    karkadil
    Valued Contributor
    There are 2 methods available for comparing files

    aqFile.Compare

    aqFileInfo.Compare



    If you need smart comparision (like WinMerge does, for instance), I think you'll need to use external programs.