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 byte difference.
The support page on the other hand shows a nice line by line comparison for text files.
Am I missing some sort of setting?
Kind regards
Fixi
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.