We replaced our standard .NET tooltips with UltraWinToolTips. RFT recognizes the .NET tooltips for objects. Will the TestAdvantage proxy recognize the UltraWinToolTip? I am unable to see the tooltip property now so just checking if there's a way to see it. I may very well be doing something wrong.
I don't see how it is possible to get this value. There is no property on the objects for the UltraToolTip. You must use the GetUltraToolTip method on the UltraToolTipManager to get the ToolTipInfo from which to get the ToolTipText... which is not possible from within RFT. In code for a winform I must do this:
Dim toolTipInfo As UltraToolTipInfo = Me.UltraToolTipManager1.GetUltraToolTip(Me.TextBox1)Dim toolTipText As String = toolTipInfo.ToolTipText()
A couple of things to note here:
1. Since the TooltipManager is a component and does not have UI representation There is no way to add it to the RFT object map.
2. Getting the tooltipinfo is a method call on the tooltip manager and there is not such thing on the control. which makes it almost impossible to write any code in RFT script to get that information.
The only way this can be acheived is to add a method to all TestAdvantage proxies that will look for the Tooltip Manager on the form and makes the method call then return the required info: something like this:
One thing to note for this fix is that it will only be available on Infragistics control (i.e UltraTextEditor and not standard TextBox control)
Please let me know if this will be helpful and I'll have some on in our developer support deparment create this request for you and send you the detail on when it will be availabe. Please let me know what version of TestAdvantage you are using so we know where to add this new feature.
Regards,
Ammar