Using Optical Character Recognition (OCR) with an html objects


  • I have been having issues getting the checkbox labels on an IEWC treeview and thought I might try using OCR in order to get the labels. Does anyone have any information about using OCR within VS 2010. My plan is to take a picture of the object and then use OCR to grab the text.
    Friday, February 11, 2011 4:54 PM


  • The major problem here is the OCR accuracy. So get some good quality OCR with API to access the OCR. From the coded UI Test, get the UITestControl and call CaptureImage() to get the image of the control then pass the image to OCR to get the text.

    Monday, February 28, 2011 11:34 AM