How to test deep hierarchy controls using Coded UI Test in WPF?

In June 2011 we released an hot fix (KB2544407) addressing several issues that our customers are facing while using testing tools in Visual Studio 2010 Service Pack1. In that list one was related to Coded UI testing for WPF controls that are deep in hierachy. Following is the detailed information about the issue and how it…

15

How to: Validate properties of nested controls in Silverlight

In Silverlight a UI designer can have nested controls inside a simple control to improve the experience. For example in the below XAML, I have put an image and some text along with it inside a button control (highlighted).         <Button Height=”23″ HorizontalAlignment=”Left” Margin=”78,22,0,0″ Name=”button3″ VerticalAlignment=”Top” Width=”139″>             <Button.Content>                 <StackPanel Orientation=”Horizontal” Width=”124″>                     <Image…

1