Hi Everyone,
I'm hoping someone could give me some assistance or point me in the right 
direction for a suitable solution. I have been given the task of creating a 
regression test script for a none GUI Windows application. Below is a short 
summary of what the test process covers:
1)Pick a file from network location.
2)Pass file to the application for processing.
3)Processing gives file(s) as output. This should be archived to a specific 
network location.
4)A comparison should be done between the outputted files and previous 
version of the outputted files to ensure that content, formatting and other 
standards are still the same. The comparison results should then be stored 
to a network location.

My problem is on number 4. I have tried to use the diff utility from the 
command line but this doesn't seem to work. This is the line of code that I 
wrote:
*
SystemUtil.Run "C:\Apps\GnuWin32\bin\diff.exe", -bBiux, Results & 
PredictionLocation, "open"*

Results and PredictionLocation are the variables which I have used for the 
outputted files (Results) and the previous version (PredictionLocation). 
-bBiux is the parameter to be passed to diff for the type of comparison 
which needs to be done. When I run this outside UFT (commandline) it works 
fine but I'm thinking it has something to do with the syntax for 
SystemUtil.Run. When I run this in UFT, nothing happens (no comparison is 
generated and no console is displayed showing the diff processing).
I also thought about using the FileContent Checkpoint from UFT but I don't 
think this will be ideal for multiply files (unless I'm missing something). Any 
help will be very much appreciated.

Cheers,
Ayo



-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to