| View previous topic :: View next topic |
| Author |
Message |
relrotciv
Joined: 20 Apr 2007 Posts: 1
|
Posted: 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 |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: 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 |
|
 |
|