Forum Discussion

sujatha_babu's avatar
sujatha_babu
Contributor
11 years ago

How to automate Tool tip

Hi,




I am working with WPF and in my controls, I have tooltip available in a different position - when I hover my mouse over the control. It will display the text. Each time when automation plays, I want to check whether Tooltip message is same. Please let me know is it possible



Regards,

Sujatha B

1 Reply

  • jose_pita's avatar
    jose_pita
    Super Contributor
    1-Use the Object Spy to identify the object with the tooltip

    2-Check wich property has the text you want to see (Ex: 'title')

    3-Everytime you run the test check that property against the text you want.



    I don't think it's possible to check if the tooltip is really showing, you can try with a region checkpoint but that's gonna give a lot of headaches....