cancel
Showing results for 
Search instead for 
Did you mean: 

set search Area in OCRTextBlock Object

SOLVED
Highlighted
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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Re: set search Area in OCRTextBlock Object

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

View solution in original post

2 REPLIES 2
Highlighted
Contributor

Re: set search Area in OCRTextBlock Object

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

View solution in original post

Highlighted
Community Manager

Re: set search Area in OCRTextBlock Object

Thank you for the explanation abishekhari007!

 

@jrjong Please let us know if it helped🙂


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors