AbilAjay
3 years agoOccasional Contributor
Any easiest way to get the parameters for TestObj.Picture(ClientX, ClientY, Width, Height, Mouse)
I want to capture pic for a particular area of the object while the test run, it is used to recognize the text in that particular area of the object
please tell me how to get these params
ClientX,
ClientY,
Width,
Height,
Mouse
The Main goal is I want to recognize the particular number in the highlighted area, in that picture
- I found a solution
First we will find the coordinate of x and y using view object option this window will help to find the coordinates relative to the object and then you need to specify the hight and width of rectangle
In script (python)
picObj = Object.Picture(1012, 24, 1144, 24)
NeededText = OCR.regonize(picObj).fullText