Ask a Question

How to set search Area in OCRTextBlock Object

Jayanthsunkari
Occasional Contributor

How to set search Area in OCRTextBlock Object

Hi team , 

 

can someone help me on below issues. how and what value we need to insert in search area for Android Image based automation in OCRTextBlock Object .

 

OCR.Recognize(SearchArea).BlockByText

1 REPLY 1
Vallalarasu_P
Frequent Contributor

Re: How to set search Area in OCRTextBlock Object

In reference to Gmail page.

SearchArea = Sys.Browser.Page("gmail").Frame ("Login")

Findtext =  "Forgot email?"

 

var recognizedText = OCR.Recognize(SearchArea)

var okTextBlock = recognizedText.BlockByText(Findtext);

With Regards
Vallalarasu Pandiyan
https://www.linkedin.com/in/vallalarasupandiyan/
cancel
Showing results for 
Search instead for 
Did you mean: