I have the following toolbar
<ToolBar x:Name="mainToolbar" HorizontalContentAlignment="Stretch" Style="{StaticResource mainToolBarStyle}" ItemsSource="{Binding ToolbarItems}" ItemTemplateSelector="{StaticResource toolBarItemTemplateSelector}" DataContext="{Binding}"> </ToolBar>
If I put this toolbar in a grid, I can interact with it using an automation test using the user interface, as soon as I put it in TabItem, the encoded user interface will not be able to find it during playback.
just FYI, if I use simple controls like TextBox, ListBox and radio buttons, I DO NOT see this problem.
any ideas?
source share