Hi,
I'm encoutering an issue while trying to record a CodedUI Test over a very simple WPF application which looks like this :
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="WpfApplication2.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid Margin="0,0,2,0">
<telerik:RadTabControl HorizontalAlignment="Stretch" Margin="14,27,0,10" VerticalAlignment="Stretch">
<telerik:RadTabItem Header="Tab1" Content="abc"/>
<telerik:RadTabItem Header="Tab2" Content="abc"/>
</telerik:RadTabControl>
</Grid>
</Window>
I'm using a Windows 8.1 workstation. If the language English (US) is used as the Windows display language, when I try to perform an assertion on the RadTabControl, the ItemStatus property contains the following generated string, which seems correct :
... <Property Name="SelectedValue" Value="Telerik.Windows.Controls.RadTabItem Header:Tab1 Content:abc" /> ...
In another hand, if the language pack French (Switzerland) is used, with the exact same application and the exact same assertion, the generated string looks like this :
... <Property Name="SelectedValue" Value="Telerik.Windows.Controls.RadTabItem Header : Tab1 Content : abc" /> ...
We can notice the whitespaces added before and after the column character.
The issue with this behavior is that if we record a CodedUI Test on machine with English (US) settings, and playback on a machine with French (Switzerland) settings, the assertion will fail.
Can someone please look into this issue ?
Thank in advance.
-Vince
I'm encoutering an issue while trying to record a CodedUI Test over a very simple WPF application which looks like this :
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="WpfApplication2.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid Margin="0,0,2,0">
<telerik:RadTabControl HorizontalAlignment="Stretch" Margin="14,27,0,10" VerticalAlignment="Stretch">
<telerik:RadTabItem Header="Tab1" Content="abc"/>
<telerik:RadTabItem Header="Tab2" Content="abc"/>
</telerik:RadTabControl>
</Grid>
</Window>
I'm using a Windows 8.1 workstation. If the language English (US) is used as the Windows display language, when I try to perform an assertion on the RadTabControl, the ItemStatus property contains the following generated string, which seems correct :
... <Property Name="SelectedValue" Value="Telerik.Windows.Controls.RadTabItem Header:Tab1 Content:abc" /> ...
In another hand, if the language pack French (Switzerland) is used, with the exact same application and the exact same assertion, the generated string looks like this :
... <Property Name="SelectedValue" Value="Telerik.Windows.Controls.RadTabItem Header : Tab1 Content : abc" /> ...
We can notice the whitespaces added before and after the column character.
The issue with this behavior is that if we record a CodedUI Test on machine with English (US) settings, and playback on a machine with French (Switzerland) settings, the assertion will fail.
Can someone please look into this issue ?
Thank in advance.
-Vince