Forum Discussion

AbilAjay's avatar
AbilAjay
Occasional Contributor
2 years ago
Solved

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, ...
  • AbilAjay's avatar
    2 years ago
    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