09-03-2010, 09:02 PM
You can see how to work with files in the help file in QTP. Search for the words "working with files". If you want to compare all the document, character by character, you can use the function "mid" (see help for more information).