Ranorex

RanorexSpy shows different Size than RanorexNet

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet
View previous topic :: View next topic  
Author Message
grahama



Joined: 24 Apr 2007
Posts: 8

PostPosted: Mon Jun 25, 2007 3:19 am    Post subject: RanorexSpy shows different Size than RanorexNet
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
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Mon Jun 25, 2007 10:58 pm    Post subject:
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum