Ask a Question

set search Area in OCRTextBlock Object

SOLVED
jrjong
New Contributor

set search Area in OCRTextBlock Object

Hello,

can someone help me on the issues below? How and what value we need to insert in the search area for Android Image-based disney hub automation in OCRTextBlock Object.

OCR.Recognize(SearchArea).BlockByText

2 REPLIES 2
abishekhari007
Champion Level 0

Hi

 

the "searchArea" must contain the object eg "Aliases.Orders.MainForm.OrdersView"
spy of the image area and check the object value and replace the search area or create a variable searchArea and intialize it as

eg - var searchArea = Aliases.Orders.MainForm.OrdersView

 

Find the TestComplete OCR Checkpoints site for reference

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/ocr/about.html

sonya_m
SmartBear Alumni (Retired)

Thank you for the explanation abishekhari007!

 

@jrjong Please let us know if it helped🙂


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: