Morning Telerik,
To get the text from the WPF tooltip I am using .ToolTipText property after executing .HoverOver() method. I noticed that very frequently, the tooltip stays on screen and is not disappeared. It is really distracting as to the end of the test there are a big number of WPF tooltips in the window.
This is my extension method to get tooltip text:
Please, let me know how to initiate hiding of the tooltip after the text is saved.
Thank you.
Kind Regards,
Stanislav Hordiyenko
To get the text from the WPF tooltip I am using .ToolTipText property after executing .HoverOver() method. I noticed that very frequently, the tooltip stays on screen and is not disappeared. It is really distracting as to the end of the test there are a big number of WPF tooltips in the window.
This is my extension method to get tooltip text:
public static string GetTooltipText(this FrameworkElement element){ element.Refresh(); element.User.HoverOver(); Thread.Sleep(500); var toolTipText = element.ToolTipText.Trim(); return toolTipText;}Please, let me know how to initiate hiding of the tooltip after the text is saved.
Thank you.
Kind Regards,
Stanislav Hordiyenko