Ranorex

Supporting custom controls

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



Joined: 20 Apr 2007
Posts: 1

PostPosted: Fri Apr 20, 2007 2:32 pm    Post subject: Supporting custom controls
I have an application that uses custom controls such as non-standard grid implemented as a separate module. Mouse clicks over the grid are recorded by mouse coordinates rather than by grid elements (that is, after window resize teh script will select a different grid item). Can Ranorex handle this? I could add support for some windows messages in teh grid but this needs to be supported on ranorex side. Thanks, Victor
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Sat Apr 21, 2007 9:03 am    Post subject:
You can try the Element approach first, please check the elements of the control with RanorexSpy. If you can identify the elements uniquely, than you can use the Element.FindChild function to find the grid elements and the other element or mouse functions to automate the grid (Mouse.MovoToElement, Mouse.ClickElement).

If you cannot identify the grid elements uniquely, than you can add support for some windows messages in the grid, as you mentioned.

Quote:
but this needs to be supported on ranorex side.


Yes, you can implement it yourself (extend the existent RanorexCore library) or we implement it for you (we make sometimes special extensions for our user).

Please contact us if you would like us to do it for you.
Which language do you plan to use?

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 -> RanorexCore 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