Ask a Question

getting an error : error executing on Findrectbytext in win7 machine

msap
Frequent Contributor

getting an error : error executing on Findrectbytext in win7 machine

any suggestion please

if (OCRObj.FindRectByText(repCategory))
{
X = OCRObj.FoundX;
Y = OCRObj.FoundY;
Window.DblClick(X, Y);
Log.Picture(Window.Picture(OCRObj.FoundLeft, OCRObj.FoundTop, OCRObj.FoundWidth, OCRObj.FoundHeight), "Found region.");
}

1 REPLY 1
AlexKaras
Community Hero

Hi,

 

> any suggestion please

Here you are:

-- Version of TestComplete?

-- Type of the tested application?

-- What error do you get?

-- What is returned by .GetText() and what do you search for?

-- Does the error occurs only on Win7? On what OSes there is no error?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: