Page 1 of 1

Supporting custom controls

Posted: Fri Apr 20, 2007 1:32 pm
by relrotciv
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

Posted: Sat Apr 21, 2007 8:03 am
by webops
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.
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