Majority of WPF controls have the tooltip property in Squish. That property, of
course, can be used for testing. Sometimes, however, the tooltips can be complex
objects. For example, in the picture below, the tooltip is composed of two Labels.
In the cases like this a little bit of scripting is needed and the main idea goes as
trigger the tooltip by moving the mouse cursor over an object (see the method trigger_tooltip)
find the tooltip control (see the method find_tooltip)
traverse the tooltip control and collect its labels (see the method find_labels)
get text from the labels (see the method get_text)
check the text
You can of course apply this on simple tooltips as well, in order to verify that
they are actually displayed.
We would like to use Google Analytics to get a better understanding of how
you use the website.
By agreeing to this, your usage data will be stored in the USA and processed
by Google LLC. Both Google as well as federal US agencies can access this data
and combine it with any other data about you, such as your search history,
personal accounts or any other data known to Google.