Page 1 of 1

RanorexSpy shows different Size than RanorexNet

Posted: Mon Jun 25, 2007 2:19 am
by grahama
I have found a situation where RanorexSpy shows the correct element size for a window, but RanorexNet Element.Size gives the wrong value.

The window is a child window in a MDI app.

To find a the Titlebar in RanorexNet, I first location the child window using the window title, and then find the element with the Role TitleBar.

RanorexSpy and RanorexNet.Element give the exact same values for
  • Role
    Name
    Class
    Value
But RanorexSpy gives the (correct) client and screen position as
(-28, 175) - (1191, 201) 1219 x 26
and RanorexNet.Element gives the Location as (-28,175), and the Size as (28,-175) !!

Is this a bug in RanorexNet? I'm using Ranorex Pro 1.1

Posted: Mon Jun 25, 2007 9:58 pm
by webops
Is this a bug in RanorexNet? I'm using Ranorex Pro 1.1
We fixed a bug in the RxElementGetPosition RanorexCore function for the V1.2.0.
The C# Element.Size property uses this function.
We released the new version yesterday, please try it with V1.2.0 and inform us about the results.

Jenö
Ranorex Team