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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare images using the Region Checkpoint

See replies!

Converting UTC TimeDate in an Excel file

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors