This is a migrated thread and some comments may be shown as answers.

Issue with a .ToolTipText property

2 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stanislav
Top achievements
Rank 1
Stanislav asked on 31 Jan 2013, 12:05 AM
Hello Telerik,

There is an issue with a .ToolTipText property for Image class. This property doesn't return a tool tip text even though it exists.

I have found a workaround for this. Before get the value of this property, I hover the mouse over the image with .User.HoverOver() method and then get the value of the property. Is it a bug?

Thank you.

Kind Regards,
Stanislav Hordiyenko

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 04 Feb 2013, 12:27 PM
Hi Stanislav,

This is expected behavior. In order to verify a tool-tip, it must first appear in the Silverlight/WPF Visual Tree and the best way to do that is by hovering the mouse over the element. Please see this article for more information.

Regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Stanislav
Top achievements
Rank 1
answered on 04 Feb 2013, 10:21 PM
Morning Plamen,

Thank you for your answer. Maybe it is an expected behavior but it is not so obvious :-) I noticed, that there are many such things in Telerik testing framework. However, this is the best framework that I have ever seen for WPF applications automation. I was able to develop my own translators to support custom WPF controls in our application. Amazing.

Kind Regards,
Stanislav Hordiyenko
Tags
General Discussions
Asked by
Stanislav
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Stanislav
Top achievements
Rank 1
Share this question
or