In my application, we are using latest Syncfusion dlls. Application contains few RibbonButton which contains Image and TextBlock. Here we need to fetch\extract text from label of button, but codedui test builder as well getchildren do not fetch the text, whereas Image is recognised. Same is the issue with Splitbuttons.
However i have observed strange behavior, when RibbonButton is extended i.e.shows largeicon, then it recognise both the child of ribbonbutton but text is not recognised in case of SmallIcon.
Please suggest some way out of it which can be done on XAML or codedui side.
here is the Xaml code
<syncfusion:RibbonButton x:Name="CloseConnectionButton"
Margin="4,0,0,0"
DataContext="{x:Static cmds:ApplicationCommands.CloseDBMS}"
Command="cmds:ApplicationCommands.CloseDBMS"
SizeForm="Small"
Label="{Binding Path=Text}"
SmallIcon="{Binding Path=SmallIcon}"
LargeIcon="{Binding Path=LargeIcon}"
ToolTip="{Binding Path=ToolTip}"
syncfusion:Ribbon.KeyTip="{x:Static prop:Resources.Home_File_CloseConnection_KeyTip}"
syncfusion:RibbonCommandManager.SynchronizedItem="{Binding Path=Name}"
ToolTipService.ShowOnDisabled="True" />