Micro Focus QTP (UFT) Forums
QTP image and text comparison - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP image and text comparison (/Thread-QTP-image-and-text-comparison)



QTP image and text comparison - rad - 06-14-2018

Hi,

I have  two Jpeg file which has both image and text in it.I need to compare these two jpeg files and highlight the mismatches in them in another file or in the console is fine.


RE: QTP image and text comparison - rad - 06-14-2018

(06-14-2018, 06:26 AM)rad Wrote: Hi,

I have  two Jpeg file which has both image and text in it.I need to compare these two jpeg files and highlight the mismatches in them in another file or in the console is fine.

Any help is highly appreciated.

Could you please provide me the code to do as I searched a lot in google and all my attempts went in vain.


RE: QTP image and text comparison - Ankur - 06-14-2018

I assume the native Bitmap checkpoint by UFT doesn't help you.

Check Developing Custom Comparers for Bitmap Checkpoints.


RE: QTP image and text comparison - rad - 06-15-2018

please provide the exact code please as info is scattered in the link .Could you please provide step by step information for the same.

Any help is highly appreciated.


RE: QTP image and text comparison - rad - 06-15-2018

Could you please provide me the complete code for the same so that I can give try .Any help is highly appreciated.

Could you please provide me the code to do as I searched a lot in google and all my attempts went in vain.
Two of my JPEG files are in my desktop and i need to compare them it has both images and text in it.Can you help me please.


RE: QTP image and text comparison - Ankur - 06-15-2018

Sorry don't have ready code for you.

You may need to do the work, if you want a custom solution for your needs. The above link goes into the details of it.