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.