Search Wiki:
Article Description
This month we describe techniques for automating UI testing in Windows Presentation Foundation applications.

Read the article at MSDN Magazine online
Last edited Feb 19 2009 at 1:08 AM  by howarddierking, version 6
jmccaffrey wrote  Feb 9 2009 at 7:51 PM  
This code is a demonstration of how to create test automation for WPF (Windows Presentation Foundation) based form applications using the MUIA (Microsoft UI Automation) library. The "CryptoCalc" sample WPF application is a simple but representative program which computes a crypto-hash of user-supplied text, using either the MD5, SHA-1, or DES algorithm. The test harness, written in C#, uses the MUIA library to launch the WPF app, simulate a user typing "Hello!", select the DES option, simulate a user click to encode the text, and then verifies the resulting output.

Page view tracker