How To: Validate background color or other custom properties of WPF control in Coded UI Test
Note: Cross posted from Gautam Goenka (MSFT).
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 that is important to the user)....
Note: Cross posted from Gautam Goenka (MSFT).