Help with Alias Map and grid control
This AUT has a grid control that is being seen as GUIObject.
When attempt to Alias Map it the dropdown list for “Alias Name’ does not contain any grid controls. What am I missing? How to I map this custom grid to a standard grid control.
The attached file shows the options seen in the drop down.
The parent (container) grid is identified as
The child grid is identified as
Question 2 - In other tools best practice was to class map the parent grid rather than the child. Does that hold here? Would we want to map the JDEGrid to standard grid control or it’schild?
Thanks for your insight.
Re: Help with Alias Map and grid control
While I cannot be of much assistance in getting this to work for you, I can shed some light on the problem. The grid control is not a standard/Common control which is why it does not appear in the list of controls for the alias map. This means that you will not be able to alias the control.
Your parent object appears to be just a container for the grid and looks like it's just a window. The child object appears to be a StingRay grid and is where the main part of the problem exists.
StingRay controls do not typically expose any methods that TP can use in order to get an optimum level of support from a reliabilty standpoint. That being said, it may still be possible to work with the control in some way but you may have to rely on coordinate based methods such as mouseclicks, type statements and text capture.
There may be other ways that someone can share as I have not worked with StingRay MFC controls but I have seen the same problem with StringRay VB controls.