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.
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
BTW, got that here:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html/Infragistics2.Win.v9.2~Infragistics.Win.UltraWinToolTip.UltraToolTipInfo~_ctor%28%29.html
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()
Yes, I could use help with the property string that I need to use. I tried a couple different ones, including this:
Dim ToolTip As String = UltraTextEditor1Text().GetNAProperty("UltraToolTip.ToolTipText")
Also, is there any way of getting this from a standard .NET TextBox? We are using UltraToolTipManager on standard .NET TextBoxes as well.
Use the TestAdvantage method "GetNAProperty" to get the tooltip property value of any infragistics control. This method takes in a string that represent the full property name path for any property in NetAdvantage controls.
if you tell me what control are you trying to get the tooltip for I should be able to give you the paramet you need to pass for GetNAProperty.