Is there a way to use UFT to get text that’s in an image?
Category:
Question ID: 109787
1
0

We have a page on our website that will display an image based on what the user selects. The image itself is the same, but the text on it will change. Is there a way to verify that the correct image is displayed using UFT by checking the text?

Marked as spam
Posted by (Questions: 387, Answers: 66)
Asked on August 13, 2020 2:50 pm
517 views
Answers (1)
1
Private answer

I'd try using the new feature in UFT 15.0.1,
"Use the new TextUtil.GetTextFromImage and TextUtil.GetTextLocationFromImage to retrieve or locate text in an image. Supported image file types: BMP, GIF, JPEG, PNG, and TIFF."

Check out more information on this feature at this link.

Marked as spam
Posted by (Questions: 17, Answers: 807)
Answered on August 13, 2020 2:50 pm
0
That works really well for what we need to do!
( at August 13, 2020 2:51 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top