More Coded UI Test utilities for WPF testing

Around the time of release of VS 2010, I published Useful set of utility functions for Coded UI Test.  Recently, I followed it with another utility – Sample XPath utility for Coded UI Test. As a complement to these two sets, Jonathan from community has come up with another useful set of utilities for WPF….

1

If you are testing WPF with Coded UI Test or MTM…

In Windows 7, Microsoft significantly enhanced the accessibility support with many features along with the addition of Windows Automation API 3.0.  This new API enhancement include performance improvements and bug fixes too.  To ensure users of earlier version of Windows get this benefit too, Microsoft released these improvements as down-level optional Platform Update for Windows…

4

Writing extension for WPF custom control

Ever since I wrote extensibility series on Coded UI Test, I have been getting lot of good feedback via questions and comments. One learning that I got from this is there are folks out there wanting to use the extensibility and are not able to easily do so. We need to simplify the extensibility interfaces…

15

How To: Validate background color or other custom properties of WPF control in Coded UI Test

Coded UI Test uses accessibility (UI Automation) for testing of WPF application.  This accessibility (UI Automation) infrastructure only exposes a subset of control properties which is limiting in some cases.  For example, there is no easy way for the user to validate a background color of a panel that changes based on certain condition (assuming…

4

How To: Get automation working properly on data bound WPF list or combo box

WPF makes it really easy to data bind properties of a control including the children collection of ItemsControl like ListBox, ComboBox, TreeView etc.  For example, for a list box, the user can easily bind the ItemsSource property. When an ItemsControl is bound to a data source, the accessibility implementation of WPF uses the ToString() method…

9

Useful set of utility functions for Coded UI Test!

We have collected various internal and external feedback and built up a library of utility functions for Coded UI Test for various Web\Win\WPF controls.  These APIs will work on VS2010 RC (30128.01) or later only (if you have not moved, good time to do it now).  The table of all the APIs with example usage…

64