cjfoeller0404
3 months agoOccasional Contributor
How to Open/Use a .bmp image
What is the correct way to open a .bmp image from a file? Also once this is loaded in, would I be able to simply add the image to the output log with Log.Picture(TBitmapObj); or would this require a...
- 3 months ago
First, I've not tried this, so I have no direct experience. However, this topic has an example of how to load a bitmap (png) from a file and then post it to the log file:
Utils.Picture Property | TestComplete Documentation (smartbear.com)
Once you have the image loaded you could do an OCR using the IQ Add-in for TestComplete. I don't think there are any OCR capabilities in TestComplete w/out that add-in.
Herer is the help topic on the OCR method for recognizing test in an image with the IQ Add-in:
OCR.Recognize Method | TestComplete Documentation (smartbear.com)