rushikesh
9 years agoContributor
I want to compare 100 files present in two folders A and B.
In desktop application with JavaScript, I want to compare 100 files present in two folders A and B. A is having baseline files and B is having generated output result from some test system. After com...
- 9 years ago
Hi,
TestComplete has a lot of native methods for working with file system:
Hope it helps you to implement the required test.
- 9 years ago
If you don't want to mess with the aqFileSystem objects (although, they ARE very useful and powerful), you could always build some sort of script/keyword test using the Stores.Files object. You can put all your baseline files into there and then utilize the methods on the Files object to compare the baseline file to any output file. TestComplete can then actually give you detailed information as to what is different about the files. See https://support.smartbear.com/viewarticle/88929/