Micro Focus QTP (UFT) Forums

Full Version: Compare 2 image files in Beyond Compare through QTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys,
I want to compare to image files in beyond compare through qtp and get a report to see if there are any mismatches.

I'm doing this through command line:
Code:
BCompare.exe @"My Script.txt" "My File.bmp" "Your File.bmp" "My Report.txt"

My Script.txt has the following code:
Code:
Pix-report layout:side-by-side &
options:display-mismatches &
output-to:%3 %1 %2

I'm getting error "Unknown command : 'Pix-report'"when i run this through the command line.

Can you please help me out here with this error or any other way to compare 2 images and get a result file that tells you if they are same or different.

Thanks in advance
Arpan