This functionality is supported only if you are using the Classic Agent.
Silk Test Classic provides a 4Test include file, OCR.inc, which contains two 4Test functions that are used to perform optical character recognition (OCR). One function converts bitmap files to text. The other allows you to pass in a window identifier and extract the text from the window (or a region of the window). To use the 4Test OCR functions, include OCR.inc in your test script or include file, or add the include file through the Use Files text box in the Runtime Options dialog box. To include the function documentation in the library browser, add OCR.txt through the Help files for library browser text box in the General Options dialog box.
The 4Test functions call functions in a Silk DLL file that extends the third-party Textract DLL file from Structu Rise. The Textract DLL uses a font pattern database file to recognize text of certain sizes and styles for fonts that are specified in an initialization file. Although a default version of the font pattern database is installed with Silk Test Classic, we recommend that you configure the font pattern database to include the fonts used by your application.