Forum Discussion

dhundley's avatar
dhundley
Regular Contributor
2 years ago
Solved

OCR Issues

I've been playing around with some sample OCR javascript code that I discovered on the Smartbear website. the following function is supposed to find some specific text on the current screen (passed in as the OCRText variable). if the intPixelValue is a positive number it will click below the textblock. if negative it will click above it. if the inputText variable is not "" then it will key in the value into a textblock. 

At first it seemed to work really well but, lately, I've been receiving  errors such as the following: 

or this one

is this OCR thing just not very stable or what?