I have an application where I want to write tests to confirm the content of a ToolTip. If the ToolTip is simple text, all is fine, the checks in Step Builder work as expected.
If I add other elements e.g.
Points="16, 32 32, 32 24, 18"
ToolTipService.ShowDuration="360000" HorizontalAlignment="Right" Width="32">
<Ellipse Width="20" Height="20" Fill="Pink"/>
What I see in the Visual Tree is a ToolTip "FooBar". How can I do a test on, say, the colour of the ellipse?
If my ToolTip is made of Runs e.g.
Then in the Visual Tree, the ToolTip is blank and any steps created in Step Builder to determine the content will fail.
If the tooltip is made up from WPF elements, how can these be accessed, either via Step Builder, or via a coded step?