Forum Discussion
- jaydeeOccasional Contributor
I'm not sure about your application but sometimes I have to hover my mouse over the object for a second and wait for the tooltip to show, then i do the tooltip validation.
My 2cents, hope that helps...
- sergeysContributor
Thanks for response.
Could you please bring more details of how do you perform tooltip validation?
- jaydeeOccasional Contributor
So i break it up into a few short steps, its just a way but not the only way. Here is the example using KeyWord tests but you could always convert to script later. This is a workaround that I had to do for most of my WPF forms I test.
- I add an On-Screen action then drag the spy tool over the object,
- Click Next then to get to the "Specify Method or Property" screen
- Select "HoverMouse" then click Next
- Then the last screen is "Operation Parameters", just leave the coordinates for X and Y at -1 then Click Finish
- Then I drag over a "Delay" operation from under Miscellaneous section and give it 1000ms, just enough to let the tooltip show
- Finally I do a Property Checkpoint on the object and drill down to the tooltip and there should be a value populated for the tooltip of the object now
Related Content
- 10 years ago
- 7 years ago
Recent Discussions
- 13 hours ago