Forum Discussion

Fixi's avatar
Fixi
New Contributor
8 years ago
Solved

Text files not compared properly

Hello guys,   I encoutnered a strange problem. I created a file checkpoint which should compare 2 text files with each other.  The check point runs fine but when looking at the result I only get a...
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    Using aqTextFile, you could write your own script function to do a line by line comparison.  If they are CSV files or some other delimited data output, you could use the DDT.CSVDriver object to iterate field by field on each line to see if there is a difference. I've never run into a problem using the file check points but then, I've always had need in the past to do the data output comparison of CSV files so I needed something more deliberate than just a file comparison.