I was thinking about to compare two folders over QTP.
What the script does it copys a folder from one drive to another one. That works so far.
But now I want to build something that compares both folders and create a report for that.
Does any one know a good solution for that?
You could certainly write something to do the comparison with VBScript (Google: 'vbscript compare folders').
Or you could use something like Beyond Compare (which has a command line tool) to do the comparison.
<font color="#6B6B6B">Scott Genevish
Principal Consultant Designed Quality</font>
You can try FSO, if u wish to compare the contents in both these folders.
Winds of Change
component object model one of the library FSO methods use to compare like get folder, FolderExists, Subfolders,name,size,getfile .....etc
as of now i can think of FSO, but i am not sure if dotnetfactory has any methods which eases your life.
just check it out. [img]/images/graemlins/smile.gif[/img]
when things gets harder ,the harder gets going